Skip to content

Conversation

@oneonestar
Copy link
Member

Description

Fix #330.
Writing TypeScript for the first time. All I can say is this works on my local environment...

Release notes

(x) Release notes are required, with the following suggested text:

* Implement automatic logout for Web UI

@cla-bot cla-bot bot added the cla-signed label Nov 7, 2024
@ebyhr ebyhr requested a review from ytwp November 10, 2024 05:20
Copy link
Member

@vishalya vishalya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment, otherwise LGTM

if (res.status === 401 || res.status === 403) {
this.authErrorHandler()
}
if (res.status !== 200) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be changed to else if

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Updated.

@ebyhr ebyhr merged commit 51c3805 into trinodb:main Nov 27, 2024
2 checks passed
@github-actions github-actions bot added this to the 13 milestone Nov 27, 2024
@oneonestar oneonestar deleted the star/auto_logout branch February 17, 2025 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

The UI errors out with "The network has wandered off, please try again later!"

3 participants