Skip to content

fix(files,systemtags): correct tag-folder breadcrumb, DAV root filtering, and nav label#60657

Open
deic-cloud wants to merge 3 commits into
nextcloud:masterfrom
deic-dk:fix/systemtags-display-fixes
Open

fix(files,systemtags): correct tag-folder breadcrumb, DAV root filtering, and nav label#60657
deic-cloud wants to merge 3 commits into
nextcloud:masterfrom
deic-dk:fix/systemtags-display-fixes

Conversation

@deic-cloud
Copy link
Copy Markdown

Summary

Three related fixes for the systemtags/files integration:

  1. BreadCrumbs.vue — Fall back to activeFolder.displayname while the path store is not yet populated (e.g. a tag folder before the REPORT response completes). Previously the breadcrumb showed a raw path segment instead of the tag name.

  2. files store onUpdatedNode — Filter nodes to only those under the files DAV root before fetching updates. Systemtag folder nodes share the integer-ID namespace with regular files but live under /systemtags; attempting to re-fetch them via the /files/{uid} DAV client caused spurious 404s whenever systemtags:node:updated fired (e.g. when tag chips are rendered).

  3. systemtagsView.ts — Rename the navigation entry from 'Tags' to 'All tags' to match the label shown in the left sidebar and avoid confusion with per-tag views.

Test plan

  • Open the Tags view — navigation entry reads "All tags"
  • Click a tag folder — breadcrumb shows the tag display name immediately, not a raw path
  • Files with system tags show tag chips in the file list without console errors
  • No spurious 404 DAV requests in the network tab when browsing tag folders

🤖 Generated with Claude Code

Worker Builder and others added 3 commits May 15, 2026 08:57
Signed-off-by: Worker Builder <worker-builder@nextcloud.com>
- BreadCrumbs: fall back to activeFolder.displayname while path store is
  not yet populated (tag folder before REPORT completes)
- files store onUpdatedNode: skip nodes whose root is not the files DAV
  root — systemtag folder nodes share the integer-ID namespace but live
  under /systemtags and cannot be fetched via /files/{uid}; this prevents
  spurious 404s when systemtags:node:updated fires
- systemtagsView: rename navigation entry 'Tags' → 'All tags' to match
  the label shown in the left sidebar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@deic-cloud deic-cloud requested review from a team and skjnldsv as code owners May 22, 2026 12:27
@deic-cloud deic-cloud requested review from come-nc, nfebe, provokateurin and sorbaugh and removed request for a team May 22, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants