-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the outline box and block selector to make it clearer what block has been selected. #1524
Comments
This one needs investigation to make sure the issue still exists with the new Gutenberg update, and posting some screenshots or a video showing what the problem is. |
Note for dev: Development is blocked by UX/design work. |
In chatting with @alcurrie today here are a few issues we found: There may be additional items to investigate, and there may be cross referenced items already called out in other issues, we'll circle back and validate what's unique to this ticket, and what might need to be added. |
Discussion from Weston: Need to solve the problem of layer + paragraph on top of layer + paragraph. Maybe 50% background layer. |
AC2 We are moving the selector above the Page 1 editor so that should help resolve any overlapping with editing... |
Per discussion at backlog grooming, I've updated the AC to reference the white shadow to be added behind the placeholder text (AC-6) and to reflect the requirement that in addition to the Blue selector, there should also be a hover indicator for blocks (AC-7) We discussed that the hover should be similar to the default hover functionality in Gutenberg. @cathibosco - can you review and provide design recommendations for how these elements should look. I've also updated the AC to reference the forward/back arrows that display once element is selected. |
On making the text visible even on top of dark backgrounds (with black text) I've found the best results with using multiple text shadows, like this: Here you can also see the blue outline I've added around it: Here's another case of black text on black background: http://cloud.urldocs.com/6bda0fc852a5 |
Addressed AC2 and AC6 in the referenced PR ^. |
@miina AC 3:Add Blue outline what will show around Layer when the layer is selected |
@mehigh There should be a default selector for it and we should actually already have a border, it's just not very visible: Here you can see the Do you think that is sufficient to add the outline for the selected layer? |
AC1's children: AC2 - Text block selected border - Fixed in PR #1629 ( http://cloud.urldocs.com/7ec491663479 ). AC3 - Layer selected border - Fixed in PR #1629 ( http://cloud.urldocs.com/7ec491663479 ). AC4 - Story page selected border - Updated it to the same darker blue which is more visible - Fixed in PR #1629 ( http://cloud.urldocs.com/fed062238ec2 ) AC5 - Fixed with the already merged PR - this is available now on staging. ( http://cloud.urldocs.com/7ec491663479 ) AC6 - White shadow to placeholder text - Fixed in PR #1629 ( http://cloud.urldocs.com/47a76c9e79a5 ). AC7 - The hover is visible on the other text blocks - Fixed in PR #1629 http://cloud.urldocs.com/c185bb2c62b4 So far AC2 (first level AC) is covered, as neither of these changes create any negative consequences with the other related work handled in other tickets. |
@mehigh Assigned you back for now (for the last change of removing blue outline from selected parent). |
Handled the last feedback of not applying the blue border to the parents of the selected item and merged the PR. Moving this on to QA. |
Confirmed working as described in the AC: https://cl.ly/6f22f357812f |
As a AMP Stories author, I want the interface for the outline box and the block selector improved so that I can easily understand what block has been selected
Selected Block (ie text block)
(NB: forward/back arrows show for selected block. See Improve Layer Manipulation #1564)
Selected Layer (ie thirds layer)
(NB: forward/back arrows show for selected Layer. See Improve Layer Manipulation #1564)
The text was updated successfully, but these errors were encountered: