-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
Visually identify that a field is a drop-down list (single choice) #491 #525
Visually identify that a field is a drop-down list (single choice) #491 #525
Conversation
f1333e5
to
d04903a
Compare
Thanks for opening the PR @fflorent. To answer your questions:
|
Thank you @georgegevoian for your hint! I could end up to remove the chevron in the grid view when in edition mode.
Cheers! |
The PR got synchronized by itself! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any thoughts on whether we should also show the icon in card list views? They are very similar to card views, so it might be a good idea for the sake of consistency.
app/client/widgets/ChoiceTextBox.ts
Outdated
@@ -85,6 +90,7 @@ export class ChoiceTextBox extends NTextBox { | |||
cssRow( | |||
dom.autoDispose(disabled), | |||
dom.autoDispose(mixed), | |||
cssChoiceEditIcon('Dropdown'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cssChoiceEditIcon('Dropdown'), |
The config DOM is what's shown in the right panel (with the editor for choice options), so we don't want to add the icon here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still seeing this line in the latest revision.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird, I thought that I have pushed the change… I fix that!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope that's better now, thank you for your vigilance!
Thanks @georgegevoian, I have taken into account your remarks! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @fflorent!
…istlabs#491 (gristlabs#525) * Visually identify that a field is a drop-down list (single choice) gristlabs#491 --------- Co-authored-by: Florent <florent.fayolle@beta.gouv.fr>
Fix #491, for single choice lists only.
Remaining TODO:
Help welcome for these questions 🙏:
Here is how it is rendered as of the current state of the PR:
record4.webm