[stable32] feat(files_versions): Auto-reload versions tab on file#58268
Merged
AndyScherzinger merged 5 commits intostable32from Mar 20, 2026
Merged
[stable32] feat(files_versions): Auto-reload versions tab on file#58268AndyScherzinger merged 5 commits intostable32from
AndyScherzinger merged 5 commits intostable32from
Conversation
7 tasks
susnux
approved these changes
Feb 11, 2026
blizzz
approved these changes
Feb 11, 2026
Member
|
/compile |
Member
|
The unconventional commit message is actually about the [stable32] in the commit message. There it is to be omitted. |
71dfd55 to
f2eb9ec
Compare
f2eb9ec to
6234c2d
Compare
Member
|
/compile |
Member
|
@silverkszlo there is one tests that keeps constantly failing. Runner 6, Versions naming: every other single test was at least green once 😅 on stable32 recent commits are marked green. So, might be related? |
Merged
Author
|
/compile |
Listen for files:node:updated events and automatically refresh the versions list when the current file is saved, eliminating the need to manually close and reopen the sidebar to see new versions. Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
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
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.
Basically a copy/backup from #57841, which got closed due to me messing up my local commit history.
Summary
This PR adds automatic reloading of the versions sidebar tab when documents are saved, eliminating the need for manual refresh to see new versions. The feature listens to
files:node:updatedevents.Changes
files:node:updatedevents inVersionTab.vueinfiles_versionsTesting
Tested on stable32 with Collabora Online:
Checklist
3. to review, feature component)stable32)