Opened 20 months ago
Last modified 3 months ago
#35319 assigned Cleanup/optimization
Move the link to add a related object inside the .selector-available column for FilteredSelectMultiple.
| Reported by: | Hrushikesh Vaidya | Owned by: | Antoliny |
|---|---|---|---|
| Component: | contrib.admin | Version: | 5.0 |
| Severity: | Normal | Keywords: | accessibility |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | yes |
| Needs tests: | yes | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | yes |
Description
This came up during discussion on this PR trying to fix #34643, specifically in this comment.
The patch for #34643 involves allowing the related widget wrapper to span the entire width of the screen, which causes the JavaScript widget for FilteredSelectMultiple to span the entire width of the screen. However, in case the widget has a link to add another object, that link now seems disconnected from the widget, especially on mobile layouts (see attached).
It would improve UX if the link to add a related object is moved to the header of the widget instead of at the end.
Attachments (3)
Change History (8)
by , 20 months ago
| Attachment: | filtered-select-multiple-full-width.png added |
|---|
by , 20 months ago
| Attachment: | filtered-select-multiple-full-width-mobile.png added |
|---|
The current position of the add link on mobile, after the patch
by , 20 months ago
| Attachment: | filtered-select-multiple-new-add-link-position.png added |
|---|
Proposed new location of the add link
comment:1 by , 20 months ago
| Keywords: | accessibility added |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
| Summary: | Move the link to add a related object inside the .selector-available column instead of after the selector widget for FilteredSelectMultiple → Move the link to add a related object inside the .selector-available column for FilteredSelectMultiple. |
| Triage Stage: | Unreviewed → Accepted |
comment:3 by , 20 months ago
| Needs tests: | set |
|---|
comment:4 by , 20 months ago
| Needs documentation: | set |
|---|---|
| Patch needs improvement: | set |
comment:5 by , 3 months ago
| Owner: | changed from to |
|---|
The current position of the add link, after the filtered select widget stretches the full width of the screen