[MGNLUI-5350] Cut number of columns visible in chooser by default, make configurable Created: 29/Aug/19  Updated: 13/Dec/22  Resolved: 03/Aug/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.3

Type: Improvement Priority: Neutral
Reporter: Anja von Gunten Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: ux-improvement
Remaining Estimate: Not Specified
Time Spent: 3d 2h 28m
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png    
Issue Links:
Cloners
is cloned by MGNLPN-497 Adjust to changes by MGNLUI-5350 Closed
Relates
relates to PAGES-319 Introduce "pageLinkField" shortcut Closed
relates to MGNLUI-5765 Chooser filters don't work in tree view Closed
relates to MGNLUI-5711 Improve new asset chooser Closed
causality
is causing MGNLUI-7693 Remove support for deprecated linkFie... Closed
dependency
is depended upon by MGNLCT-156 M6 contentTypes can reference M5 cont... Closed
documentation
to be documented by MGNLUI-6107 DOC: Update LinkFieldDefinition Closed
duplicate
is duplicated by MGNLUI-5128 Assets app: change button type for do... Closed
is duplicated by MGNLUI-5959 Link field to content app doesn't app... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Date of First Response:
Epic Link: Migrate apps to new UI framework
Sprint: UI FW 6, UI FW 7, UI FW 8
Story Points: 8

 Description   
  • Show only first column with the main name/title
  • Display of more columns can be configured if desired

Dev options

  • Another registry could resolve it
    • Include chooser defs within dialog def registry, if possible.
  • Having a yaml snippet with configuration of columns includable everywhere
    • same as above w/o registry - less conventional.
  • Try to avoid hijacking app-descriptors
    • retrofit dam-chooser
  • Alternative - decorating getWorkbenchChooser


 Comments   
Comment by Anja von Gunten [ 03/Feb/20 ]

apchelintcev Latest screenshot looks way better! i would suggest to remove all columns and leave only the "Name". We don't need all those columns in the dialog.

Has the search box been removed completely? I know we have the column filtering but it's not exactly the same as the search.

Comment by Anja von Gunten [ 06/Feb/20 ]

Some comments based on the latest screenshot:

  • Show only first column, hide all others (we don't need all of them in the chooser)
  • Upload and Upload & Edit buttons are missing
  • The naming of Dialog title and button has changed. To date they were called chooser dialogs, did we agree to change them to "Select"? If yes, it has to be consistent for all (cc: jlegendre)
  • The search box behavior is different to the column filters. I would suggest to keep the search box if possible.
Comment by Anja von Gunten [ 10/Mar/20 ]

slutz jlegendre I'm unsure about the naming: Should we stick with "Chooser" as before or should we change to "Select"?

Comment by Anja von Gunten [ 10/Mar/20 ]

Agree. Consistency is most important. Let's stick with what we had before and go with "Choose".

Comment by Simon Lutz [ 09/Apr/20 ]

Removed:

  • I would suggest to keep the search box if possible
    • position: in the white space btw title and grid header, left aligned

Covered in a more general approach by MGNLUI-5072.

Comment by Roman Kovařík [ 10/Jun/20 ]

For the record, it's possible to configure columns manually instead of just referencing an app.

Comment by Šimon Demočko [ 28/Jul/20 ]

LinkFieldDefinition defaulting does not work yet. Roman's pointer https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/browse/magnolia-ui-framework/src/main/java/info/magnolia/ui/field/LinkFieldDefinition.java#61

Generated at Mon Feb 12 09:25:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.