Skip to content

refactor: weekly cleanup for shared ICON_NAMES, story catalog, and agent docs - #441

Merged
dmnktoe merged 1 commit into
mainfrom
cursor/repository-code-health-8861
Sep 21, 2026
Merged

dmnktoe merged 1 commit into
mainfrom
cursor/repository-code-health-8861

Conversation

@cursor

@cursor cursor Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

⇛pull request

*ਈ✩‧₄˚༺☆༻*ਈ✩‧₄˚

what & why

Weekly code cleanup: Icon and IconButton stories now share ICON_NAMES (including the missing close glyph), the Storybook catalog matches the public UI surface, Header/Footer autodocs cover search and cookie settings, and agent docs pick up the Node 24.21.0 pin plus dev:https. No product behavior change.

scope

AGENTS.md / CLAUDE.md, apps/storybook, @httpjpg/ui

change type

  • refactor / style / revert · Changed · patch
  • build / ci / docs / test · Tooling · patch

checklist — every pull request
  • pnpm lint, pnpm type-check, pnpm test pass locally (pnpm test:coverage: statements 97.05%, lines 97.30%, functions 95.94%, branches 93.52%). Full Next.js pnpm build was not run (no app secrets in this environment).
  • Follows the conventions in CLAUDE.md — I read a neighbouring file before inventing a pattern
  • Scoped: no drive-by refactors bundled with the feature
  • Server Components by default; any new "use client" boundary is as small as possible
  • Styling uses design tokens from @httpjpg/tokens via Panda (no raw hex outside genuinely off-palette decoration)
  • Dependency direction respected (tokens/env stay leaves; ui never imports back from consumers)
  • New env vars declared in packages/env/src/env.mjs, .env.example and turbo.json
  • Tests added or updated next to the source (*.test.ts(x)); E2E updated if a user-facing flow changed
  • No console.log in shipped paths; errors reported through @httpjpg/observability
  • Did not hand-edit the root package.json version, .release-please-manifest.json or CHANGELOG.md

notes for reviewers

Open in Web View Automation 

…ent docs

Keep Storybook Icon/IconButton controls in lock-step with the bundled glyph
set, document Header search and Footer cookie settings, and correct the Node
pin plus HTTPS dev script in agent docs.
@dmnktoe dmnktoe added the weekly-cleanup label Sep 21, 2026 — with Cursor
@codecov

codecov Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 635 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
portfolio-server-cjs 11.14MB 517 bytes (0.0%) ⬆️
portfolio-client-array-push 3.43MB 118 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: portfolio-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
4516.js 517 bytes 232.64kB 0.22%
1939.js (New) 66.76kB 66.76kB 100.0% 🚀
5811.js (New) 617 bytes 617 bytes 100.0% 🚀
7647.js (Deleted) -66.76kB 0 bytes -100.0% 🗑️
5205.js (Deleted) -617 bytes 0 bytes -100.0% 🗑️
view changes for bundle: portfolio-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/1467-*.js 118 bytes 182.4kB 0.06%
static/1JItP83mEIykdpkn4GgBz/_buildManifest.js (New) 1.5kB 1.5kB 100.0% 🚀
static/chunks/8036.*.js (New) 680 bytes 680 bytes 100.0% 🚀
static/1JItP83mEIykdpkn4GgBz/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/Ai_CSiZAMv9zufqWi4BN0/_buildManifest.js (Deleted) -1.5kB 0 bytes -100.0% 🗑️
static/chunks/8176.*.js (Deleted) -680 bytes 0 bytes -100.0% 🗑️
static/Ai_CSiZAMv9zufqWi4BN0/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

@codecov

codecov Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.56%. Comparing base (8afff56) to head (74c7f4f).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #441   +/-   ##
=======================================
  Coverage   97.56%   97.56%           
=======================================
  Files         357      357           
  Lines        9109     9110    +1     
  Branches     2997     2997           
=======================================
+ Hits         8887     8888    +1     
  Misses        216      216           
  Partials        6        6           
Components Coverage Δ
ui 98.15% <100.00%> (+<0.01%) ⬆️
storyblok 96.90% <ø> (ø)
integrations 94.07% <ø> (ø)
foundations 92.10% <ø> (ø)
portfolio 98.15% <ø> (ø)
Files with missing lines Coverage Δ
packages/ui/src/components/icon/icon.tsx 100.00% <100.00%> (ø)

@dmnktoe
dmnktoe marked this pull request as ready for review September 21, 2026 21:26
@dmnktoe
dmnktoe merged commit 8a5f9c9 into main Sep 21, 2026
20 checks passed
@dmnktoe
dmnktoe deleted the cursor/repository-code-health-8861 branch September 22, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants