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
🐛 Bug Report: Entity page tab navigation duplicates url path parameters #21487
Comments
Hi, thanks for opening the issue 🙌🏻 |
We have the same issue (tested browsers: Firefox, Chrome, Safari). |
OK, I can reproduce using the steps mentioned more or less. I just did The Demo site is on |
As a temporary fix adding this to the root "resolutions": {
"react-router": "6.19.0",
"react-router-dom": "6.19.0"
}, |
Nice! Can confirm the temporary fix from @awanlin worked for me too 🥇 |
So the thinking is that this is the issue: remix-run/react-router#11052 We'll keep an eye on this, when that happens this should begin to work again |
@awanlin they have closed the bug as won't fix |
For the beginners like me, below might help: |
Thanks for the heads up @kimsagro1 and for starting the discussion on this @chinfeng 🚀 |
@awsjim Thanks for reporting. Love to know how to make screenshots like that. To elaborate on this temporary fix a bit ...
with
Afterwards, run yarn install. Note: your yarn.lock file will get updated by yarn. Typically, you do not want to edit your yarn.lock file manually. |
Just want to clarify that it's not replace, but I can agree that my comment was perhaps unclear as I was trying to get information out quickly at the time. If you have a |
@awanlin Thanks again. I'll add what I replaced back in and test. Note that replacing them did fix the problem for me though so I'm thankful for this Bug Report and the well timed information it provides. |
Seems like this has been fixed in the v6.20.1 release of |
I can confirm that upgrading |
Excellent. Thanks for reporting back, let's close this issue for now then. |
📜 Description
Using Backstage 1.20.3, navigation across entity page tabs is not working as expected.
The URL is appending duplicate paths instead of replacing/updating the path. The user experience is that the first tab navigation works as expected, but subsequent tab changes do not result in the expected UI navigation changes.
👍 Expected behavior
Navigate the user to the tab UI that they have selected and present relevant information
👎 Actual Behavior with Screenshots
Navigation across tabs fails and the URL is not updated as expected
👟 Reproduction steps
Install a new 1.20.x Backstage
BACKSTAGE_APP_NAME=backstage npx -y -q @backstage/create-app@0.5.7 --path ./backstage_1.20
Change to the new directory and start the local instance
cd backstage_1.20
yarn dev
In the Backstage UI, reproduce the navigation behavior
📃 Provide the context for the Bug.
This behavior is preventing users from easily browsing the available entity information. They have to navigation to another page and then back into an Entity Page to access the data that they need.
🖥️ Your Environment
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
No, I don't have time to work on this right now
The text was updated successfully, but these errors were encountered: