-
Notifications
You must be signed in to change notification settings - Fork 45.8k
fix(frontend): Fix login/logout actions; update credentials cache on state change #10017
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
108ac3d
fix(frontend): refresh credentials on user change
Pwuts eb33948
reorder imports
Pwuts 07c1fd0
refactor
Pwuts d81d7a0
fix(frontend): Also log out on client side
Pwuts c8eff73
Merge branch 'dev' into pwuts-codex/fix-frontend-credentials-refresh
Pwuts 355548f
make supabase state logic better
Pwuts 6325579
remove redundant check
Pwuts f345688
improve useSupabase hook
Pwuts 62f5730
fix credentials refresh on login
Pwuts 9fe6567
Merge branch 'dev' into pwuts-codex/fix-frontend-credentials-refresh
Pwuts 8a4db8a
remove unused `ProfileDropdown` component
Pwuts 1aa60ec
improve logging in login.page.ts for debug purposes
Pwuts 8701ee1
fix nav check regex?
Pwuts 2bae95c
improve nav failure warning
Pwuts e4bb368
more debug logging
Pwuts 1762f5c
make logout a client-side action
Pwuts 04340dc
clean up and improve logging in `login.page.ts`
Pwuts c523390
improve output of frontend tests
Pwuts 0505b78
clean up login action
Pwuts ef0a614
fix navigation redirect(?)
Pwuts 43998f2
improve logging in `login.page.ts`
Pwuts ee44746
Merge branch 'dev' into pwuts-codex/fix-frontend-credentials-refresh
Pwuts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
55 changes: 0 additions & 55 deletions
55
autogpt_platform/frontend/src/components/ProfileDropdown.tsx
This file was deleted.
Oops, something went wrong.
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
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
6 changes: 3 additions & 3 deletions
6
autogpt_platform/frontend/src/components/agptui/ProfilePopoutMenuLogoutButton.tsx
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
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
2 changes: 1 addition & 1 deletion
2
autogpt_platform/frontend/src/components/onboarding/onboarding-provider.tsx
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.