[MGNLUI-6282] Improve column filtering Created: 07/Oct/20  Updated: 15/Dec/22  Resolved: 28/Jun/22

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

Type: Epic Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLUI-3938 As a user I can facet my search by re... Closed
Template:
Epic Name: Column filtering
Acceptance criteria:
Empty
Date of First Response:
Story Points: 5

 Description   

Consolidate column filtering in M6

 


Previous description of issue from which the epic was extracted:

Expected results

  • I don't have to expand items to see filtered items
  • any hierarchy is not a performance issue (just the total number of items)

Actual results

  • very deep hierarchy might suffer from perfomance issues MGNLUI-5806
  • I can't see how many items is matching the filter MGNLUI-6088 
  • expectation from tree filtering might differ PAGES-334 

Workaround

Development notes

After internal discussions, the most natural solution seems to be to show a flat structure in case of an active filter

  • do not switch to list view
    • as columns might differ, size of columns might be manually adjusted
    • just display flat structure in tree grid
  • follow up issues: expanded items status might be lost
    • separate context/UI state holding info on expanded items


 Comments   
Comment by Roman Kovařík [ 07/Oct/20 ]

For release notes:

As column filtering in tree view was found confusing and users might have different expectations, the behaviour was changed:

  • As soon as at least one column filter is active, the tree view uses flat structure.
    • this might remind you search view from M5
      • but now the views are not switched so e.g. adjusted columns widths and order stays intact
  • As soon as all column filters are empty, the tree view uses the default tree structure.
  • This all means that MGNLUI-6088 and MGNLUI-6088 becomes obsolete, not issues anymore.

For documentation:

https://documentation.magnolia-cms.com/display/DOCS62/JCR+data+source#JCRdatasource-JCRcomponentfiltering
The part about tree view filtering including performance issue won't be valid anymore

Comment by Ashraf Khamis [ 13/Oct/20 ]

Updated the documentation as part of MGNLUI-6225. Simon unmarked this ticket for DOCS and release notes. Please include only the MGNLUI-6225 key in the 6.2.4 RN.

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