Skip to content

fix(files): fetch directory content on nested files update#60527

Open
Antreesy wants to merge 2 commits into
masterfrom
fix/99286/reactive-file-size
Open

fix(files): fetch directory content on nested files update#60527
Antreesy wants to merge 2 commits into
masterfrom
fix/99286/reactive-file-size

Conversation

@Antreesy
Copy link
Copy Markdown
Contributor

@Antreesy Antreesy commented May 19, 2026

  • Resolves: file size update after editing
  • Requires external app to support global Nextcloud events, particularly emit('files:node:updated', node)
    • e.g. Text app should have it

Summary

Reproduction steps:

  • Create a .txt file in a folder
  • Insert /type a content in it via Text editor
  • Wait for app to sync/save the file
  • Close editor
  • See the correct file size (not 0)
Before After
image image

TODO

  • Test coverage?
  • Perf implications?

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy Antreesy added this to the Nextcloud 35 milestone May 19, 2026
@Antreesy Antreesy self-assigned this May 19, 2026
@Antreesy
Copy link
Copy Markdown
Contributor Author

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@Antreesy Antreesy requested review from CarlSchwan and susnux May 20, 2026 09:04
@Antreesy Antreesy marked this pull request as ready for review May 20, 2026 09:04
@Antreesy Antreesy requested review from a team and skjnldsv as code owners May 20, 2026 09:04
@Antreesy Antreesy requested review from nfebe and removed request for a team May 20, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants