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
Changing Unsupported title and adding help info block (Issue #479) #17943
Changing Unsupported title and adding help info block (Issue #479) #17943
Conversation
…ng original name in place of 'Unsupported'.
…ause the small icon was too hard to press. Also rearranging the BottomSheet to work the height paddings out correctly.
@iamthomasbishop do we want to have a close button in the BottomSheet? |
@iamthomasbishop and @illusaen shouldn't the bottom sheet only show up when pressing the ? icon? |
@SergioEstevao That was the original idea, but considering there aren’t any other actions on the unsupported blocks, I don’t think there’s any harm in making the whole block trigger this sheet. If we have cases where there is another action attached to the block, we should make it so just a 44x44 area containing the icon is tappable. @illusaen One tiny thing I just realized, I might have used the wrong icon for the sheet mockup. We should use the same “question mark” icon in the sheet that we use in the block on the canvas. |
@iamthomasbishop before this PR you could at least move the blocks up and down on the post. It would be great to keep that ability and only have the info show when we tap the ? icon. |
@SergioEstevao I should have been more specific about what I was imagining. I meant that tapping anywhere on the inner body of the block (gray background) could perform this action, but only after the block is selected. In other words, this is what I was imagining. With the block un-selected:
With that said, I think you're right that we might only want the |
Side note: media placeholder blocks also suffer from a similar issue regarding the move controls. For example, if you have an empty image or video block on the canvas, the first tap always shows the media source sheet. In other words, you cannot select and then move the block. |
That's actually where I got the idea. Would you like me to change Media Placeholder as well? |
There are potentially a half dozen places where this would apply so we might want to create a separate issue for it and discuss what needs to be done where before adding to this task. Oddly enough, the image block is behaving slightly differently today than it was when I tested yesterday – maybe a bug, but I still feel like placeholders should always require a tap to select then another to take the action to ensure the controls are always toggled. |
@illusaen let's keep this PR limited to the unsupported blocks, unless the change needed for this needs to be done in a central place. |
@illusaen on iOS 13 the bottom sheet that you are presenting is not taking in account the dark/light mode of the OS. So in dark mode it's looking like this: Have a look at the method |
Good catch, @SergioEstevao. I have some other design feedback, but I think some of it is already being worked on by @illusaen – so please ping me when it's ready for a design review or if you have design-related questions, @illusaen! |
Sorry for not adding this earlier but, following some discussions in Slack, let's also append "(unsupported)" directly on the block view to make it clear that it's not a malfunction. This is complementary to the "?" info button and popup. In terms of styling, we can make it similar to the "Add Media" link on media blocks but with gray instead of link color. cc @iamthomasbishop. |
I opened a PR for this here: #18107 @illusaen you can eventually cherry-pick the changes or wait for the patch to be merged. |
Just for clarity, as far as I understand the feedback/issues currently pending are:
By the way @SergioEstevao , I don't see conversation about the "Edit in Safari" button in this PR. Does this feature needs to be part of the same PR? I guess we'll need bridge changes to implement that so, a separate PR would serve better. |
I don’t think edit in Safari should be on this PR.
…Sent from my iPhone
On 4 Nov 2019, at 10:24, Stefanos Togoulidis ***@***.***> wrote:
Just for clarity, as far as I understand the feedback/issues currently pending are:
Trigger the info bottom modal only when tapping on the ? icon
Dark mode compatibility of the info bottom modal
"Edit in Safari" needs adaptation for Android, at least its copy
By the way @SergioEstevao , I don't see conversation about the "Edit in Safari" button in this PR. Does this feature needs to be part of the same PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
…or the help block. Few color changes. Adding some text to the help block.
I just pushed the changes I hadn't committed before: should just be dark mode + gridicon now. Unfortunately I'm still recovering (read: sleeping!) for the next few days but I'll hopefully be back soon. |
Thanks for pushing what's already done @illusaen !
Take care and see you back soon 😃. In the meantime, I'll copy your commits into a new branch and open a PR so we get this merged.
all points were addressed by @illusaen's 47b491b so, what I'll mainly do in a new branch/PR is to fix the merge conflict with master and enable #18107 for all unsupported blocks. |
Here's the new PR I created to follow up #18268 |
Let’s close this PR as it seems to be implemented and original branch no longer exists. |
Description
Unsupported
block to show original block name.How has this been tested?
UnsupportedBlockEdit
)Screenshots
Types of changes
Checklist: