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

Fix navigation with and without params on the same node #1441

Merged
merged 9 commits into from
Jul 8, 2020

Conversation

ndricimrr
Copy link
Contributor

@ndricimrr ndricimrr commented Jun 29, 2020

Description
Navigating from http://localhost:4200/settings to
http://localhost:4200/settings?~foo=bar does not work and vice versa.
Parameters in url will stay or not and also the section of the parameters in microfrontend will stay or not displayed.

Changes proposed in this pull request:
Fixed

How to Test:
In browser console run the following Luigi.navigation().withParams({'luigi':'phteven'}).navigate('/settings'); and afterwards Luigi.navigation().navigate('/settings'); and the same vice versa.
Also changing the parameters will not applied in MF.

Fixes #1412

@ndricimrr ndricimrr added the bug Something isn't working label Jun 29, 2020
@ndricimrr ndricimrr added this to the Sprint 11 milestone Jun 29, 2020
@maxmarkus maxmarkus self-assigned this Jul 1, 2020
@JohannesDoberer JohannesDoberer self-assigned this Jul 2, 2020
@ndricimrr ndricimrr added the WIP Work in progress label Jul 2, 2020
@ndricimrr ndricimrr removed the WIP Work in progress label Jul 2, 2020
Copy link
Contributor

@JohannesDoberer JohannesDoberer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@CLAassistant
Copy link

CLAassistant commented Jul 6, 2020

CLA assistant check
All committers have signed the CLA.

@ndricimrr ndricimrr merged commit 778db5c into SAP:master Jul 8, 2020
@ndricimrr ndricimrr deleted the 1412-fix-navigation-wparams branch July 8, 2020 03:54
JohannesDoberer added a commit to JohannesDoberer/luigi that referenced this pull request Jul 13, 2020
* feature-globalsearch:
  Bump npm-registry-fetch in /core/examples/luigi-example-angular (SAP#1473)
  Bump npm from 6.14.4 to 6.14.6 in /client (SAP#1472)
  Check plugin nightly releases (SAP#1454)
  Add Uliana and Jimmy to codeowners (SAP#1479)
  Update fiddle to 1.2.4 (SAP#1460)
  Fix navigation with and without params on the same node (SAP#1441)
  Update version of FD for core and E2E App to 0.10.0 (SAP#1401)
  Change code owners (SAP#1464)
@maxmarkus maxmarkus mentioned this pull request Jul 16, 2020
stanleychh pushed a commit to stanleychh/luigi that referenced this pull request Dec 30, 2021
* fix navigation w params

* small fix

* fix e2e-test to check back and forth

Co-authored-by: JohannesDoberer <johannes.doberer@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navigation with/o parameters (withParams) on the same node does not work
4 participants