MS6 — standalone build + a11y#8
Merged
Merged
Conversation
MS6 (Framework & Performance). output: "standalone" emits a self-contained .next/standalone/server.js with only traced runtime deps — the basis for MS7 distribution (npx / single-folder deploy). The Drizzle migration .sql files are read from disk at runtime by instrumentation.ts, which dependency tracing can't see (it only follows imports), so outputFileTracingIncludes force-copies them — otherwise a distributed build boots against an unmigrated DB. Verified: standalone server boots on 127.0.0.1, homepage returns HTTP 200, and a runtime DB is created + migrated (native better_sqlite3.node + all 11 migrations traced into the bundle). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
MS6 (Framework & Performance) — a11y budget. The delete buttons across modules, questions, daily-log entries, and concept links render only a Trash2 icon with a `title` tooltip, which is not a reliable accessible name (WCAG 4.1.2 needs a programmatic name). Added aria-label to each so screen readers announce the action; the module button names the specific module. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MS6 (Framework & Performance).
What's in it
output: "standalone"emits a self-contained.next/standalone/server.js, the basis for MS7 distribution. The Drizzle migration.sqlfiles (read from disk at runtime byinstrumentation.ts) are force-traced viaoutputFileTracingIncludes, since dependency tracing only follows imports. Verified end-to-end: the standalone server boots on 127.0.0.1, homepage returns HTTP 200, and a fresh DB is created + migrated at runtime (nativebetter_sqlite3.node+ all 11 migrations traced in).titletooltip; addedaria-labelso screen readers announce them (WCAG 4.1.2).Gate: lint + typecheck + build green.
🤖 Generated with Claude Code