[MGNLUI-837] In the page editor, the bars of components and areas I just added or edited should be selected and in view when I return to the editor. Created: 06/Mar/13  Updated: 10/Mar/21  Resolved: 10/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: page editor, user interaction
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Andreas Weder Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: review-ux-201303, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Device: Safari 6.0.2, Mac OS X 10.8.2
Build: magnolia_bundle-stable #18


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:

 Description   

Currently, when I edit a component and save my changes, the bar is no longer selected. It should be and it should be at a similar position where I've left it.

Likewise, when I add a new component. Once I've finished filling out the form, I should see the effect of my work immediately: the bar of the newly added component should be selected and in view.

This also applies to areas.

I'm marking this as a bug as I believe we had this working in the dev preview release.



 Comments   
Comment by Jozef Chocholacek [ 02/Jul/13 ]

I've tried to add

eventBus.fireEvent(new NodeSelectedEvent(element));

to the onSuccess() callback in the EditElementAction.execute(), but the element then keeps the selection only until the edited page is reloaded.

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