Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
When notify_push is available, the files list listens to the ids of changed files and updates the current folder in place. Only the changed children, new files and the folder itself are fetched, by id through the nodes API, scoped to the current folder. When the parent of the current folder changes, the folder is checked: if it moved the list follows it, if it was deleted the list goes to the closest remaining ancestor. A light listing of file ids and etags is compared instead when more than 200 children changed, when only the folder changed, or when shares changed in the root folder. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
skjnldsv
force-pushed
the
feature/files-live-refresh
branch
from
October 13, 2026 01:15
de68149 to
d82334f
Compare
skjnldsv
changed the base branch from
master
to
feature/node-attribute-shares
October 13, 2026 01:15
This branch has not been deployed
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.
Summary
With notify_push set up, the Files list now picks up changes made elsewhere (desktop client, other users, WebDAV) without a reload. Instances without notify_push keep the current behavior.
The pushed ids are the changed node and its ancestors. The list fetches the changed children of the open folder, new files and the folder itself, in one request to the nodes API from #65400, then emits the usual
files:node:*events. In a home folder with 5.5k shares that's ~200 ms for up to 20 files, where a DAV SEARCH took 2.4 s (numbers in #65395).Choices worth a look:
files:node:updated, which would make the list refetch everything.Unit tests cover the matching, the folder checks and the nodes API client. Not tested in a browser yet.
TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)
👾 This pull request was assisted by Claude Code, commits carry an
Assisted-bytrailer.