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

Use routeForEventHistory instead of routeForWorkflow to fix navigation #954

Merged
merged 2 commits into from
Nov 21, 2022

Conversation

Alex-Tideman
Copy link
Contributor

@Alex-Tideman Alex-Tideman commented Nov 21, 2022

What was changed

When href's are using routeForWorkflow, the back/forward buttons don't work for browser history since routeForWorkflow immediately redirects. By using routeForEventHistory, an href will go to the full, final url which allows back/forward to work.

We should not directly use routeForWorkflow for any hrefs.

Fixes #821 #822

@vercel
Copy link

vercel bot commented Nov 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
holocene ✅ Ready (Inspect) Visit Preview Nov 21, 2022 at 4:20PM (UTC)
ui ✅ Ready (Inspect) Visit Preview Nov 21, 2022 at 4:20PM (UTC)

@cypress
Copy link

cypress bot commented Nov 21, 2022



Test summary

76 0 12 0


Run details

Project Temporal UI
Status Passed
Commit 754e4ea368 ℹ️
Started Nov 21, 2022 4:21 PM
Ended Nov 21, 2022 4:27 PM
Duration 05:39 💡
OS Linux Ubuntu - 20.04
Browser Chrome 107

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Worflow details page header hyperlinks cause full page reload
2 participants