Flatten tree view structure while filtering

Description

Steps to reproduce

 

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

Activity

Show:

Deactivated User October 12, 2020 at 12:14 PM
Edited

Flagged the ticket for both documentation and release notes. Updated https://documentation.magnolia-cms.com/display/DOCS62/JCR+data+source#JCRdatasource-JCRcomponentfiltering as indicated above. A note will also be added to the 6.2.4 RN.

Fixed

Details

Assignee

Reporter

Priority

Magnolia Release

Fix versions

Story Points

Sprint

More fields

Created September 21, 2020 at 12:21 PM
Updated February 27, 2025 at 11:21 AM
Resolved October 7, 2020 at 8:31 AM