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
Chrome: Adding a Toggle to switch between fixed/contextual block toolbar #3311
Conversation
58bf897
to
0307b01
Compare
Codecov Report
@@ Coverage Diff @@
## master #3311 +/- ##
=========================================
- Coverage 31.29% 31.09% -0.2%
=========================================
Files 232 236 +4
Lines 6510 6555 +45
Branches 1160 1164 +4
=========================================
+ Hits 2037 2038 +1
- Misses 3752 3792 +40
- Partials 721 725 +4
Continue to review full report at Codecov.
|
It'd also be good to restore the |
Fast work. Was about to mention the sticky position thing. The only remaining issue I have is that the ellipsis menu toggle feels a bit wrong. I understand that it uses a checkmark when "enabled", but in that case I'd rather we group them together, show both options, and show a checkmark only with one of them. Sort of in this vein: A perhaps faster alternative could be to use the same behavior as the text mode switch. That is, you click it and it changes both the label and icon. So you could have:
click that
We'd need a new icon, but for now perhaps you could use https://developer.wordpress.org/resource/dashicons/#editor-kitchensink for both? |
d26a3f2
to
d511840
Compare
|
Is this good to go? |
Waiting for the signal :) |
Don't you think having it in the settings would be more intuitive instead of the switcher at the top? |
@ahmadawais in which settings. The Settings → Writing area? |
@mtias Yup. Adding it here some where in the settings would be a better idea. |
Maybe you should seriously think about bringing back "Screen Options" button top-right ? |
I would suggest you leave toolbar switch option in stable version. Why not ? Very useful option for Users to set it according personal preferences. |
This PR adds a Toggle in the ellipsis menu to switch back to the contextual block toolbar. This could serve as a A/B test.
Todo: