Skip to content
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

Restore block movers to focus mode #15109

Merged
merged 2 commits into from
Apr 26, 2019

Conversation

kjellr
Copy link
Contributor

@kjellr kjellr commented Apr 22, 2019

Closes #14670.

Currently Focus mode does not include a way to rearrange blocks. This PR corrects that by re-adding block movers to that mode. Conceptually, these seem fine to re-introduce because the movers shouldn't necessarily break your focus anyway: they only appear when you hover on a specific part of a block, and they fade away when you type.

Before:

Screen Shot 2019-04-22 at 12 26 40 PM

After:

Screen Shot 2019-04-22 at 12 26 32 PM

@kjellr kjellr added [Feature] Blocks Overall functionality of blocks Good First Review A PR that's suitable for someone looking to contribute for the first time by reviewing code labels Apr 22, 2019
@kjellr kjellr self-assigned this Apr 22, 2019
@draganescu
Copy link
Contributor

hi @kjellr I ran the code and the block mover is too close to the block toolbar, tried with twentynineteen and twentyfourteen

Screenshot 2019-04-22 at 20 05 11

Screenshot 2019-04-22 at 20 04 23

Screenshot 2019-04-22 at 20 03 58

These were only included in focus mode, and end up causing overlap with the block mover butons.
@kjellr
Copy link
Contributor Author

kjellr commented Apr 22, 2019

Good catch, @draganescu! It's weird that didn't show up for me initially. 🤔

Anyway, I removed the style that was causing that in ecc932f.

@kjellr kjellr requested a review from jasmussen April 25, 2019 19:48
@jasmussen
Copy link
Contributor

Yep, works for me 👍 👍

Just needs a code sanity check, I suppose!

@draganescu draganescu merged commit 3021cf6 into master Apr 26, 2019
@draganescu draganescu deleted the update/restore-block-movers-to-focus-mode branch April 26, 2019 10:58
@kjellr
Copy link
Contributor Author

kjellr commented Apr 26, 2019

Thanks, everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks Good First Review A PR that's suitable for someone looking to contribute for the first time by reviewing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to keep drag handles in spotlight mode
5 participants