U4-9900 - Add support for selecting an editor sub view trough route params

Created by Mads Rasmussen 11 May 2017, 11:49:22 Updated by Shannon Deminick 01 Aug 2017, 07:51:57

Subtask of: U4-8632

Comments

Mads Rasmussen 16 May 2017, 11:15:50

I had hoped it was possible to add a more generic way to set the route param within the subviews component, so we always had the same way to handle the routes for sub views. But due to angular reloading the view when a route param is changed we would loose data when navigating the document type editor.

I have made a solution similar to how the packager works which is simple and works fine for now.

How to test: add "?subview=users" and "?subview=roles" to the route make sure the view is changed.

fixed in commit: https://github.com/umbraco/Umbraco-CMS/commit/73d7915fb5cabc674ea810d20078c54a4f5a9937


Shannon Deminick 13 Jun 2017, 14:03:30

Only issue is that the query strings are not removed when navigating to another section. For example if you go to

/umbraco#/users/users/overview?subview=users

than click on a user in the old editor, you'll end up with

/umbraco#/users/framed/%252Fumbraco%252Fusers%252FeditUser.aspx%253Fid%253D1005?subview=users

Can we prevent that?


Priority: Normal

Type: Task

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.7.0

Sprint: Sprint 64

Story Points: 2

Cycle: