-
Notifications
You must be signed in to change notification settings - Fork 94
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(sync): If baseVersionEtag
changed, reset frontend
#5523
Merged
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
mejo-
force-pushed
the
fix/baseversionetag_change
branch
from
March 18, 2024 19:09
2a5117c
to
e186a56
Compare
mejo-
force-pushed
the
fix/5476/document-cleanup
branch
from
March 20, 2024 09:17
aee2afa
to
a63daee
Compare
mejo-
force-pushed
the
fix/baseversionetag_change
branch
2 times, most recently
from
March 20, 2024 14:27
f787fa4
to
97ee7d5
Compare
`baseVersionEtag` changes when a new document session got initialized, e.g. after an old document session without session clients got cleaned up, or because the markdown file got changed via webdav. Detect this in the client and ask the user to reload the page for resetting the session. Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
mejo-
force-pushed
the
fix/baseversionetag_change
branch
from
March 20, 2024 14:27
97ee7d5
to
17efed4
Compare
Fixes: #4905 Signed-off-by: Jonas <jonas@freesources.org>
mejo-
force-pushed
the
fix/baseversionetag_change
branch
from
March 20, 2024 14:28
17efed4
to
aac9123
Compare
max-nextcloud
approved these changes
Mar 20, 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.
Looks good. Just some minor nitpicks.
Signed-off-by: Jonas <jonas@freesources.org>
…eanup Signed-off-by: Jonas <jonas@freesources.org>
mejo-
force-pushed
the
fix/baseversionetag_change
branch
from
March 20, 2024 15:31
9e9288b
to
a4e8747
Compare
Wrap error messages into an array when responding with `JSONResponse`. Signed-off-by: Jonas <jonas@freesources.org>
This was referenced Mar 20, 2024
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
The PR builds on #5477
baseVersionEtag
changed, reset frontendbaseVersionEtag
changes when a new document session got initialized, e.g. after an old document session without session clients got cleaned up, or because the markdown file got changed via webdav.Detect this in the client and ask the user to reload the page for resetting the session.
baseVersionEtag
doesn't matchNcNoteCard
Screenshot
🚧 TODO
🏁 Checklist
npm run lint
/npm run stylelint
/composer run cs:check
)