Implement a toggle that shows/hides the Frontend Editing UI

Created on 27 March 2024, 9 months ago
Updated 5 May 2024, 8 months ago

Description

There are scenarios in which a user might want to toggle off the visibility of frontend editing icons for a cleaner / truer site appearance, which suggests adding a setting to enable a visibility toggle for these icons

This setting would allow admins to decide if they want to show a toggle button and configure its position on the page (top, bottom, left, right, and offset). This would provide each user with control over the display of editing tools.

Example Mockup:

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡ΉPortugal bbruno Poland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @bbruno
  • Merge request !52Resolve #3436501 "Implement a toggle" β†’ (Merged) created by a.dmitriiev
  • Pipeline finished with Success
    9 months ago
    Total: 180s
    #132579
  • πŸ‡©πŸ‡ͺGermany breidert

    This will be a good improvement for readers who can also edit content (like in Intranet scenarios).

  • Pipeline finished with Success
    9 months ago
    Total: 146s
    #135068
  • Pipeline finished with Canceled
    9 months ago
    Total: 56s
    #135436
  • Pipeline finished with Success
    9 months ago
    Total: 178s
    #135439
  • Pipeline finished with Success
    9 months ago
    Total: 152s
    #135443
  • Pipeline finished with Success
    9 months ago
    Total: 151s
    #137213
  • Pipeline finished with Success
    8 months ago
    Total: 145s
    #142626
  • πŸ‡©πŸ‡ͺGermany a.dmitriiev

    a.dmitriiev β†’ made their first commit to this issue’s fork.

  • Status changed to Needs review 8 months ago
  • Pipeline finished with Success
    8 months ago
    Total: 227s
    #143002
  • Issue was unassigned.
  • πŸ‡΅πŸ‡ΉPortugal bbruno Poland
  • Status changed to Needs work 8 months ago
  • πŸ‡©πŸ‡ͺGermany breidert

    I found a bug. When you have the hover mode enabled, but the toggle is set to "0ff", the outline and plus are gone, but the hover effect still applies.

  • Assigned to bbruno
  • πŸ‡΅πŸ‡ΉPortugal bbruno Poland
  • πŸ‡΅πŸ‡ΉPortugal bbruno Poland

    Bug where the hover mode padding was still being applied although the toggle is set to 'Off' has been fixed. Putting up for review.

  • Issue was unassigned.
  • Status changed to Needs review 8 months ago
  • πŸ‡΅πŸ‡ΉPortugal bbruno Poland
  • Pipeline finished with Success
    8 months ago
    Total: 148s
    #143911
  • Status changed to Needs work 8 months ago
  • πŸ‡©πŸ‡ͺGermany a.dmitriiev

    Needs rebase and inclusion of color schema from Issue #3439916 by bbruno, a.dmitriiev, breidert: Introduce Color Customization Options and Neutral Colors for Frontend Editing UI Elements

  • πŸ‡©πŸ‡ͺGermany a.dmitriiev

    Rebase was finished, bbruno, please apply colour scheme changes.

  • Assigned to bbruno
  • πŸ‡΅πŸ‡ΉPortugal bbruno Poland
  • Pipeline finished with Running
    8 months ago
    #144772
  • Issue was unassigned.
  • Status changed to Needs review 8 months ago
  • πŸ‡΅πŸ‡ΉPortugal bbruno Poland

    The new custom color variable has been implemented on the toggle. Up for review.

  • Status changed to Fixed 8 months ago
  • πŸ‡©πŸ‡ͺGermany a.dmitriiev

    Merged, will be part of next release (1.7.0)

  • πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

    This new feature represents yet another step forward addressing very nicely the balance between availability and distraction for content editors and reviewers.

    Just one additional point of feedback and that is that I think the floating link is mislabelled...

    When FEE us ACTIVE the the toggle should read 'OFF' instead of 'ON' because the link itself is representative of possible action, not the current state. The content editors already know it's OK because they can do the FEE magic.

    Following on from that I would suggest that a better default labelling / styling might be to remove the visible labels altogether and simply have the backend-configured grey for when it is OFF and change it to a darker grey when ON. WRT both cases, leave the textual elaboration to the tool tips.

    As a further connected enhancement, all us to configure that second (ON) colour and even better still allow us to add additional attributes to toggle for both both states so that we can add some really neat, informative front end tool tips such as those easily configured using Bootstrap 5.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024