[MGNLUI-6225] Flatten tree view structure while filtering Created: 21/Sep/20  Updated: 19/Mar/21  Resolved: 07/Oct/20

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

Type: Improvement Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 7h 32m
Original Estimate: Not Specified

Issue Links:
causality
is causing MGNLUI-6347 Tree grid is not using limit/offset w... 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)
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: Column filtering
Sprint: UI FW 12
Story Points: 5

 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


 Comments   
Comment by Ashraf Khamis [ 12/Oct/20 ]

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.

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