-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(forms): Horizontal layout #18354
base: main
Are you sure you want to change the base?
feat(forms): Horizontal layout #18354
Conversation
Horizontal layout behavior on form rendering. Capture.video.du.20-11-2024.16.24.18.webm |
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.
d50d974
to
82ef5bf
Compare
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.
Some UI suggestions, pinging @orthagh to confirm if he agrees with it.
-
I think the actions should be displayed when you hover on the empty blocks (rather than having to click inside of them to see the actions).
-
Not sure about the button styling, it feels a bit strange with the "straight" border radius.
IMO, just using acursor:pointer
for the active state would be enough and we wouldn't need to use the active button styling. -
The buttons are displayed in a muted style when inactive. It make them feel "disabled", I think displaying them at the normal opacity would be clearer.
I can't move my question into the open slots, not sure if it is on purpose ?
Also each time I drop it, a slot disappears.
Shouldn't deleting the second slot transform my field into a single row item since there is only one slot left ? The split row controls are still displayed here, it seems impossible to remove them.
It seems questions are always moved to the first slot, even when inserted into a specific slot.
Yes, but take into account a way to display them in responsive mode. We may have an active state in addition of hover.
Agree |
fada622
to
32bc6ca
Compare
8b95c12
to
29e0283
Compare
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.
It feels very nice and easy to use. I think we are good overall and can merge once the tests go green.
Do you want to do a final review on your side @orthagh ?
Note that there are probably a few minors issues that can still be found, but we can fix them later to avoid keeping this PR open too long.
I may want to make a final check yes. |
I found a few minor bugs related to this pr:
More general bugs (probably affecting the main branch also): |
Please review sonar issues |
The issues reported by SonarQube don't seem to be related to my changes. |
…n horizontal layout
0ef68d5
to
0d1ede4
Compare
Sonar issues are indeed now fixed (after you rebase). But now, database update is failing. |
…izontal rank fields
Checklist before requesting a review
Please delete options that are not relevant.
Description
Added the possibility of grouping up to 4 questions (or comments) in a horizontal layout.
Screenshots (if appropriate):
Capture.video.du.20-11-2024.14.15.52.webm