Skip to content

Move the file list and Settings navigator into components directories - #466

Merged
panarch merged 1 commit into
mainfrom
component-placement
Oct 22, 2026
Merged

panarch merged 1 commit into
mainfrom
component-placement

Conversation

@panarch

@panarch panarch commented Oct 22, 2026

Copy link
Copy Markdown
Owner

caffold-file-list and caffold-settings-navigator were registered outside the components/ directories that hold Web Component entry points, and the placement contract checked only Tasks, so neither was caught.

  • caffold-file-list moves to components/file-navigator/components/list.js, with its stylesheet and unit test.
  • caffold-settings-navigator moves to settings/components/navigator.js, with its stylesheet, unit test, and private item component, matching the Tasks and Notes navigators.
  • Imports, the stylesheet entry, the service worker cache list, the Rust static asset table and its tests, and the contract and App Shell tests follow the new paths. Markup, styles, and behavior are unchanged.
  • The placement contract checks all production JavaScript in frontend/, with no exceptions.

Closes #464

caffold-file-list was registered in the file navigator's private directory and
caffold-settings-navigator beside the Settings layout, outside the components/
directories that hold Web Component entry points. Both move with their
stylesheets and tests; markup and behavior are unchanged. The placement
contract now checks all frontend JavaScript instead of only Tasks.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://component-placement-caffold.taehoon-moon.workers.dev (commit 97f2e58)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://3573305d-caffold.taehoon-moon.workers.dev 97f2e58 2026-10-22T17:20:49.156Z Visit the dashboard ↗

@panarch panarch self-assigned this Oct 22, 2026
@panarch
panarch merged commit 30d8636 into main Oct 22, 2026
10 checks passed
@panarch
panarch deleted the component-placement branch October 22, 2026 18:07
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.

Register the file list and Settings navigator components in a components directory

1 participant