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

Improve error redirect on Document route #427

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

jeffdaley
Copy link
Contributor

Improves redirect logic for when a document fails to load.

Currently we redirect users to the dashboard but this isn't always the best choice: For example, if I'm on the "All Docs" screen and a click a broken document link, I should stay on the "All Docs" screen rather than be navigated away. This change allows that.

@jeffdaley jeffdaley marked this pull request as ready for review November 15, 2023 19:17
@jeffdaley jeffdaley requested a review from a team as a code owner November 15, 2023 19:17
@jeffdaley jeffdaley merged commit 953d262 into main Nov 15, 2023
2 checks passed
@jeffdaley jeffdaley deleted the jeffdaley/document-error-routing branch November 15, 2023 19:38
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.

2 participants