Problem/Motivation
I have a few small suggestions for this great module, and instead of issues for each one, I'll group them here. Let me know if you prefer them split up.
When you first install Token Browser, you may click around and not understand if it is in use, or not.
Also, if someone installs this module, we can assume they want to use it, so I think we can be bold, and enable it on installation.
Since the user can now expand the window, we can improve the UI, by not allowing texts strings to break, which can make the UI look funny, with jumbled up text.
Steps to reproduce
Proposed resolution
- Enable Token browser on installation.
- Show token names on the same line via CSS.
Make it clearer that Token browser is used, with "Available tokens (Token browser)" in the window title.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #3
ressaI only have one failing test locally which seems unrelated, since I also get it with a fresh clone:
Current response header "X-Drupal-Dynamic-Cache" is "", but "UNCACHEABLE (poor cacheability)"Anyway, these changes may not even happen, so tests can always be fixed later :) I am looking forward to hearing your thoughts about these suggestions.
Comment #4
apmsooner commentedThe test failures on gitlab are due to the title changes in "Make it clearer that Token browser is used, with "Available tokens (Token browser)" in the window title."
I think we could probably do without that addition as normal users probably don't need to know or care about the provider of the dialog. The other 2 suggestions I'm good with and since I already merged the other ticket, rebase this one with just the 2 changes and I'd be happy to consider with passing tests.
Comment #6
ressaThank you for being open to these suggestions, I ended up making a fresh branch, with just "Enable Token browser on installation." and "Show token names on the same line via CSS."
Comment #7
apmsooner commentedLooks good to me so merged! Thanks for the contribution.
Comment #9
apmsooner commentedComment #10
ressaThank you @apmsooner, it looks great!