Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve intent path to actual path #2286

Merged
merged 9 commits into from
Oct 8, 2021

Conversation

ndricimrr
Copy link
Contributor

Description

Changes proposed in this pull request:

  • replaceState with the actual path when loading manually edited route

So:
http://localhost:4200/#?intent=Sales-settings?param1=abc&param2=bcd
is translate to its actual path
http://localhost:4200/projects/pr2/settings?~param1=abc&~param2=bcd

Also, with hashRouting enabled: http://localhost:4200/#?intent=Sales-settings?param1=abc&param2=bcd
should translate to :
http://localhost:4200/#/projects/pr2/settings?~param1=abc&~param2=bcd

Related issue(s)

Fixes #2225

@JohannesDoberer JohannesDoberer self-assigned this Sep 28, 2021
@ndricimrr
Copy link
Contributor Author

ndricimrr commented Oct 1, 2021

Add a property to make it cofigurable:
routing.replaceIntentRoute = true; // default false

@ndricimrr ndricimrr merged commit 5382bd4 into SAP:master Oct 8, 2021
@ndricimrr ndricimrr deleted the resolve-intent-path branch October 8, 2021 10:05
@JohannesDoberer JohannesDoberer mentioned this pull request Oct 12, 2021
stanleychh pushed a commit to stanleychh/luigi that referenced this pull request Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve intent path to actual path
2 participants