feat(ui): lobby site-style sidebar + profile screen (#47) #60
Reference in New Issue
Block a user
Delete Branch "feature/issue-47-lobby-site-style"
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?
Summary
var(--font-mono)to mirror the project site (VitePress).<code>/ "hello, X" header from the lobby; the identity strip both names the caller and opens the profile editor.profileAppScreen with a three-field form (display_name,preferred_language,time_zone) backed by a newsrc/api/account.tswrapper arounduser.account.get,user.profile.update, anduser.settings.update. When the savedpreferred_languagematches a locale the UI ships translations for, the active i18n locale switches in-place.lobby-account-nametestid (and wait for the loaded identity so the webkit revocation test does not race theSubscribeEventsissue). Addprofile-screen.spec.tscovering navigation, edit-save, and cancel.ui/docs/lobby.md+ui/docs/navigation.mdto the new layout. No backend or wire-contract changes.Closes #47
Test plan
pnpm test(Vitest) — 777 tests passpnpm exec svelte-check— 0 errors / 0 warningspnpm build— production build cleanpnpm exec playwright test— 245 passed (full suite)pnpm test:pwa— 3 passed5271f2b1ectoa679d9cdcb