feat(web): scaffold SvelteKit client #24
No reviewers
Labels
No labels
area:agents
area:backend
area:clinical
area:dashboard
area:deploy
area:design
area:design-review
area:devices
area:docs
area:federation
area:identity
area:infra
area:interop
area:meta
area:security
area:sessions
area:web
area:webhook
area:workdir
type:bug
type:chore
type:epic
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/koinos!24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/web-scaffold"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #4. Stacked on top of #23 (and transitively #22) — the base will retarget automatically as the stack lands.
Summary
web/: SvelteKit 2 + Svelte 5, TypeScript strict mode, Tailwind, ESLint flat config, Prettier, Vitest (unit smoke) and Playwright (e2e smoke hitting backend/healthz)./(renders instance name/version/commit fetched from/api/instance),/login(stub pointing to #10),+error.sveltefor 404 / generic errors.GET /api/instanceendpoint returning{name, version, commit}so the landing page has real data.koinos-webcompose service now builds fromweb/with a multi-stagenode:22-alpineDockerfile; Caddyfile catch-all targetskoinos-web:3000.just web-dev/just web-build;fmt-check,lint,test,ci-setupnow cover both crates and the web workspace.eslint-plugin-svelterecommended rules are on; semantic landmarks,dt/dd,role="status"for the fallback banner.Locally verified:
svelte-check(0 errors / 0 warnings),vitest rungreen,prettier --check,eslint .,vite buildall green.Acceptance criteria
Layout
web/with SvelteKit,adapter-nodevitest+ one smoke testplaywright+ one e2e smoke test (landing + backend/healthz)Pages
/renders instance name and version from backend/loginstub+error.sveltefor 404 / generic errorsStyling
eslint-plugin-sveltea11y rules enabledContainer and dev
web/Dockerfile(node:22-alpine multi-stage)just web-devrunsvite devOut of scope
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.