Skip to content

Restore block movers to focus mode#15109

Merged
draganescu merged 2 commits intomasterfrom
update/restore-block-movers-to-focus-mode
Apr 26, 2019
Merged

Restore block movers to focus mode#15109
draganescu merged 2 commits intomasterfrom
update/restore-block-movers-to-focus-mode

Conversation

@kjellr
Copy link
Copy Markdown
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 requested review from jorgefilipecosta and mapk April 22, 2019 16:28
@kjellr kjellr self-assigned this Apr 22, 2019
@draganescu
Copy link
Copy Markdown
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 kjellr requested a review from chrisvanpatten as a code owner April 22, 2019 18:30
@kjellr
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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