webviews: format the 9 files vp fmt --check flags (base red)

Merged
TE
7d ago
+255-54

What failed: bun run check in webviews fails on vp fmt --check on feat-cmux-next: "Format issues found in above 9 files" (Fast checks job). All nine files are under webviews/src/pages/settings/: components/ContextMenusCard.tsx, contextMenus.gallery.ts, contextMenus.test.tsx, icons.tsx, menuDrag.ts, menuLayouts.test.ts, menuLayouts.ts, mockMenus.ts, mockProvider.ts.

Where it came from: #25592 (451c25bd7a4f, Settings > Menus) added or changed all nine. #28718 later fixed that PR's design-token and layer reds but did not touch formatting.

Change: formatting only. I ran the repo's own formatter (vp fmt, vite-plus 1.3.0 from webviews/package.json). After it ran, only these nine files had changed. The edits are line wraps, trailing commas and wrapping parens.

Verification:

  • bunx vp fmt --check in webviews now exits 0. Before this change it listed the nine files.
  • The change is formatting only: for each file, Bun's whitespace-minified transpile is byte-identical before and after.

Agent session: agent session

šŸ¤– Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes bun run check in webviews by formatting the 9 files under webviews/src/pages/settings/ that vp fmt --check flags, all introduced by the Settings > Menus change.

The edits are line wraps, trailing commas, and wrapping parens only; each file's whitespace-minified transpile is byte-identical before and after. vp fmt --check now exits 0.