You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
This referred to as the "exit early" pattern. There are typically many benefits to which objectively improve code quality. You can read about it here. However, in this case, there is not much reason to pick this over your option than habit and consistency.
The reason will be displayed to describe this comment to others. Learn more.
( What we spoke about yesterday but figured I would add here just in case ) Not a showstopper, but could we maybe consider changing Box and Grid components to just the html tags with TW? We are trying to get some MUI components out of the codebase as we go.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
enhancementNew feature or requestuser interfaceA pull request containing changes affecting the UI code.
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update NotFound page to clearly state 404 status and to redirect to login if unauthenticated.
Motivation and Context
Resolves BED-5326
How Has This Been Tested?
Manually tested. Visited bad routes while authenticated and again while unauthenticated.
ex. http://bloodhound.localhost/ui/not-a-route
Screenshots:
Before

After

Types of changes
Checklist: