-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
fix(editor): Hard load after logout to reset stores (no-changelog) #9500
Merged
cstuncsik
merged 3 commits into
master
from
pay-1560-when-one-user-signs-out-and-another-signs-in-the-frontend
May 23, 2024
Merged
fix(editor): Hard load after logout to reset stores (no-changelog) #9500
cstuncsik
merged 3 commits into
master
from
pay-1560-when-one-user-signs-out-and-another-signs-in-the-frontend
May 23, 2024
Conversation
This file contains 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
n8n-assistant
bot
added
n8n team
Authored by the n8n team
ui
Enhancement in /editor-ui or /design-system
labels
May 23, 2024
cstuncsik
changed the title
fix(editor): Reinitialize app after a second login
fix(editor): Hard load after logout to reset stores
May 23, 2024
netroy
reviewed
May 23, 2024
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.
besides the one comment, looks good to me.
netroy
approved these changes
May 23, 2024
1 flaky test on run #5116 ↗︎
Details:
cypress/e2e/5-ndv.cy.ts • 1 flaky test
Review all test suite changes for PR #9500 ↗︎ |
|
netroy
changed the title
fix(editor): Hard load after logout to reset stores
fix(editor): Hard load after logout to reset stores (no-changelog)
May 23, 2024
✅ All Cypress E2E specs passed |
cstuncsik
deleted the
pay-1560-when-one-user-signs-out-and-another-signs-in-the-frontend
branch
May 23, 2024 15:07
MiloradFilipovic
added a commit
that referenced
this pull request
May 24, 2024
* master: refactor(core): Use consistent CSRF state validation across oAuth controllers (#9104) feat(core): Print the name of the migration that cannot be reverted when using `n8n db:revert` (#9473) fix(editor): Hard load after logout to reset stores (no-changelog) (#9500) refactor(core): Stop reporting `EAUTH` error codes to Sentry (no-changelog) (#9496) fix(core): Upgrade sheetjs to address CVE-2024-22363 (#9498) refactor: Remove skipped tests (no-changelog) (#9497) feat(editor): Add initial code for NodeView and Canvas rewrite (no-changelog) (#9135) fix(editor): Show input panel with not connected message (#9495) fix(editor): Prevent XSS in node-issues tooltip (#9490) # Conflicts: # pnpm-lock.yaml
RicardoE105
pushed a commit
that referenced
this pull request
May 24, 2024
Got released with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Frontend app re-initialization is not happening correctly when a user is logging out and another is logging in, especially when the users have different roles and/or running on different plans.
Related tickets and issues
PAY-1560
Review / Merge checklist