-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(ui): No longer trigger the <TimeoutModal> on "public" pages #1052
Conversation
Coverage Report
File Coverage
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you just need to fix some tests. Do that and I can re-review and approve your PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the test error, looks great 👍
🎉 This PR is included in version 1.5.0-val.114 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎫 Linked Ticket
OY2-31419
💬 Description / Notes
Updates routes to utilize a "Public" and "Private" pattern. Even though private routes aren't actually enforcing authentication they will log out a user after a period of time. I put a comment in the code to reflect this:
🛠 Changes
<TimeoutModal>
fromsrc/main.tsx
tosrc/router.tsx
and only included the<TimeoutModal>
for routes that are behind authentication.