Skip to content

Modernize stack for July 2026 Context7 practices - #58

Merged
SafetyMP merged 5 commits into
mainfrom
feat/context7-july-2026-practices
Jul 26, 2026
Merged

Modernize stack for July 2026 Context7 practices#58
SafetyMP merged 5 commits into
mainfrom
feat/context7-july-2026-practices

Conversation

@SafetyMP

Copy link
Copy Markdown
Owner

Summary

  • Align core dependencies to current practice: React 19 / Vite 8 / Express 5 / Prisma 6, with workspace overrides and Biome.
  • Extract secure-gateway routers (transactions, findings, PLM, system, health) plus shared async/error middleware and Zod request validation.
  • Adopt dashboard React 19 patterns (useActionState, React Compiler, feature hooks/components), add Vitest coverage, and restyle away from purple-neon defaults with basic a11y (tablist, reduced motion, focus-visible).
  • Add Prisma enums and constrain JSON fallback when DATABASE_URL is set unless FIDUSGATE_ALLOW_JSON_FALLBACK=true.

Test plan

  • npm run build -w @fidusgate/admin-dashboard
  • npm run test -w @fidusgate/admin-dashboard
  • npm run lint -w @fidusgate/admin-dashboard
  • npm run test:ci -w @fidusgate/secure-gateway
  • npm run lint -w @fidusgate/secure-gateway
  • npm run test -w @fidusgate/database
  • ./scripts/verify.sh (hermetic DoD)

Align React 19, Vite 8, Express 5, and Prisma 6; extract gateway routers with shared error handling and Zod validation; adopt dashboard Actions/Compiler, Biome, and tests; add Prisma enums with constrained JSON fallback; restyle the admin UI away from purple-neon defaults with basic a11y.
Copilot AI review requested due to automatic review settings July 26, 2026 13:23
@cursor

cursor Bot commented Jul 26, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sage Hart added 4 commits July 26, 2026 08:28
Keep root biome check on modular dashboard/gateway/core-types sources so CI verify no longer fails on pre-existing App.tsx/CSS noise or compiled .js under core-types.
Keep Context7 modernization (React 19, Express 5, Prisma 6, Biome) while adopting main's Vite 8.1.5 and workflow Dependabot bumps; regenerate the lockfile.
Vite 8 CSS minify needs platform-specific optional packages that a
macOS-generated lockfile omitted, breaking verify and Docker builds.
… gate

The Prisma modernization replaced the inline production check; update the
static probe patterns to match the stronger helper-based enforcement.
@SafetyMP
SafetyMP merged commit c0595bf into main Jul 26, 2026
6 checks passed
@SafetyMP
SafetyMP deleted the feat/context7-july-2026-practices branch July 26, 2026 13:48
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