已关闭
[WEB-04] Build the responsive Svelte canonical-session WebUI #33
urandon创建于  8月4日关闭于  19 天前
urandon
urandon成员
8月4日 创建

Parent

Outcome

Build a small responsive Svelte application for authenticated tenant/session work, compiled to static assets and embedded in the Go BFF image.

Estimate

  • 8 SP / 5 engineering days
  • Risk: medium

Scope

  • Add pinned Node and package-manager versions used only for build/test.
  • Create a SvelteKit adapter-static application with generated typed API client boundaries.
  • Implement Telegram sign-in/out, access-denied recovery and current identity.
  • Implement authorized tenant selector, compute/quota status, session list, create/new, select and archive/unarchive.
  • Implement bounded event history, text composer, image/file picker/upload progress and run status/result refresh.
  • Cover responsive desktop/mobile layout, keyboard navigation, focus management and accessible loading/error/empty states.
  • Keep provider/session secrets out of localStorage, sessionStorage and client logs.
  • Build fingerprinted assets and embed them into cmd/web-bff with go:embed.
  • Document local Svelte+Go development and production build commands.

Verification

  • Type checking, linting and unit/component tests run in CI with locked dependencies.
  • Playwright fixture tests cover sign-in, tenant selection, session/history, text, upload, archive and logout.
  • Accessibility checks cover keyboard navigation, labels, focus and contrast for the MVP routes.
  • Production bundle contains no server-side Node runtime and no secret-bearing configuration.
  • Browser errors do not expose raw API/provider payloads.

Acceptance criteria

  • The UI works in current desktop and mobile browsers at bounded viewport sizes.
  • All product data comes from canonical Web API routes.
  • Reload/deep-link behavior works through the Go static fallback.
  • Authentication/session material remains HttpOnly or server-side.

Non-goals

  • SSR or SEO pages.
  • Visual workflow editor.
  • Billing, search/summaries or full admin console.
likedislike
urandon
urandon成员
22 天前 评论:

Started on branch codex/web-04-sveltekit-ui after MR !36 merged as d40520a. Initial preflight found three backend/browser contract gaps to close in this issue before the UI shell: safe OIDC access-denied redirect, participant-authorized pre-send compute/quota status, and strict Object Storage connect-src CSP. Implementation will then proceed through pinned SvelteKit/static toolchain, typed API boundary, responsive canonical session UI, uploads/polling, embedding, and Playwright/accessibility verification.

likedislike
urandonurandon成员
22 天前 关联了pull request:[WEB-04] Build responsive canonical-session WebUI
urandon
urandon成员
22 天前 评论:

Статус: реализация WEB-04 опубликована в MR !37 (commit 1751877) и передана в обязательный независимый review-cycle.

Локально зелёные: make ci, make terraform-ci, Web unit/component, Playwright 12/12, axe 8/8, runtime images. YDB-local volume не сбрасывался; диагностика и recovery вынесены в #55. После обработки review feedback будет повторный exact-SHA CI gate и merge.

likedislike
urandon
urandon成员
19 天前 评论:

Completed and merged.

likedislike
urandonurandon成员
19 天前 关闭了 issue
urandonurandon成员
15 天前 添加了label:mvpwebui
urandonurandon成员
15 天前 关联了里程碑:MVP — Authenticated WebUI (#29)