[MGNLUI-1194] Url-navigation doesn't expand the tree Created: 24/Apr/13  Updated: 30/Apr/13  Resolved: 29/Apr/13

Status: Closed
Project: Magnolia UI
Component/s: content app
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Critical
Reporter: Daniel Lipp Assignee: Christopher Zimmermann
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Favorites
Sprint: Iteration 2013-17

 Description   

Locations in Content Apps properly reflect the position in the tree that's currently selected. But when trying to navigate to such a location the corresponding element is selected but as the tree is not expanded this might not be visible.

e.g. http://localhost:8090/magnolia-bundled-webapp/.magnolia/admincentral#app:pages:browser;/demo-project/about/history:treeview: will open Pages app and select the "history" subpage but as demo-project is completely collapsed user won't realize



 Comments   
Comment by Christopher Zimmermann [ 26/Apr/13 ]

Just did a little research.
Im thinking the solution might be implemented/triggered in WorkbenchPresenter.resynch()

Actually - this calls TreeViewImpl.select(string) - which should really handle opening all nodes to all selected items.

Comment by Christopher Zimmermann [ 29/Apr/13 ]

To TreeViewImpl, added expandTreeToNode() method which calls TreeTable.setCollapsed() on each parent of the specified node.
TreeViewImpl.select() calls this method.

Generated at Mon Feb 12 08:44:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.