Skip to content

App title and favicon; unblock Dependabot updates - #15

Merged
code-kasha merged 3 commits into
mainfrom
claude/clever-tesla-9x9ams
Sep 26, 2026
Merged

code-kasha merged 3 commits into
mainfrom
claude/clever-tesla-9x9ams

Conversation

@code-kasha

Copy link
Copy Markdown
Owner

Summary

Browser tab

The tab read "frontend" (the Vite template default) and the favicon was Vite's logo.

  • The page title is now Lead Management.
  • A new favicon: a simple funnel mark in the app's blue (#2563eb).
  • Added an apple-touch-icon, theme-color and a meta description.
  • Removed the unused template leftover public/icons.svg.

Unblocking Dependabot

  • Test typing fix. The fake paginated endpoint in LeadListPage.test.tsx typed its config parameter more narrowly than axios does. With axios 1.20, from Dependabot's frontend group (chore(frontend): bump the frontend group in /frontend with 19 updates #9), tsc -b rejected it and the Frontend check failed. It now accepts AxiosRequestConfig. I verified it against chore(frontend): bump the frontend group in /frontend with 19 updates #9's package.json and lockfile: tsc, lint, 74 tests and build all pass, and the old test still fails there.
  • Dependabot ignore rules (dependabot.yml):
    • TypeScript majors. TypeScript 7 is the native compiler and drops the JavaScript compiler API that openapi-typescript needs. Type generation crashes (Cannot read properties of undefined (reading 'createKeywordTypeNode')), which is why chore(frontend): bump typescript from 6.0.3 to 7.0.2 in /frontend #11 fails.
    • @types/node majors. These should match the Node version the app runs on (22), not the newest Node release.
    • Minor and patch updates for both still come through. The file validates against the Dependabot schema.

Testing

Frontend: 74 passed, and lint and build are clean. The Dependabot compatibility check is described above.

🤖 Generated with Claude Code

https://claude.ai/code/session_018oMHDqDASywmwc7ncmxtCY


Generated by Claude Code

The browser tab read "frontend" (the Vite template default) and the
favicon was Vite's logo. Title the page "Lead Management", replace the
favicon with a simple funnel mark in the app's blue (#2563eb), and add an
apple-touch-icon, theme-color and description. Remove the unused
template leftover public/icons.svg.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018oMHDqDASywmwc7ncmxtCY
…Config

The paginated fake in LeadListPage.test.tsx declared its config parameter
as { params?: Record<string, number> }, narrower than axios's own
signature. Newer axios (1.20, in Dependabot's frontend group) types
params as unknown, so tsc -b rejected the mock and the Frontend check
failed on that PR. Accept AxiosRequestConfig and narrow params inside.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018oMHDqDASywmwc7ncmxtCY
- TypeScript 7 is the native (Go) compiler without the JS compiler API;
  openapi-typescript 7.13 crashes under it ("Cannot read properties of
  undefined (reading 'createKeywordTypeNode')"), which broke type
  generation and the Frontend check on Dependabot's TypeScript 7 PR
- @types/node should follow the Node version the app runs on (22 in CI
  and the Docker image), not the newest Node major

Minor and patch updates for both still come through.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018oMHDqDASywmwc7ncmxtCY
@code-kasha
code-kasha merged commit 75a4bc3 into main Sep 26, 2026
5 checks passed
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.

2 participants