diff --git a/backlog/tasks/task-19 - Add-EncryptID-auth-header-and-gate-community-creation.md b/backlog/tasks/task-19 - Add-EncryptID-auth-header-and-gate-community-creation.md new file mode 100644 index 0000000..eab18e8 --- /dev/null +++ b/backlog/tasks/task-19 - Add-EncryptID-auth-header-and-gate-community-creation.md @@ -0,0 +1,42 @@ +--- +id: TASK-19 +title: Add EncryptID auth header and gate community creation +status: Done +assignee: [] +created_date: '2026-02-17 00:51' +labels: + - auth + - ui + - encryptid +dependencies: [] +priority: high +--- + +## Description + + +Add a persistent header bar with EncryptID sign-in/sign-up across all rSpace pages (landing + canvas). Gate the "Create Community Space" form behind authentication — shows a passkey auth modal if the user isn't signed in. Auth tokens are sent with the community creation API call. + + +## Acceptance Criteria + +- [x] #1 Header bar with sign-in button on landing page (dark theme) +- [x] #2 Header bar with sign-in button on canvas page (light theme) +- [x] #3 Auth modal with sign-in and register flows using WebAuthn passkeys +- [x] #4 Create Community form requires auth — shows modal if not signed in +- [x] #5 Bearer token sent with community creation API call +- [x] #6 User avatar and dropdown menu when logged in +- [x] #7 EncryptID modules lazy-loaded only when auth triggered + + +## Final Summary + + +Implemented in commit da48f6f. Created lib/rspace-header.ts shared module with mountHeader(), showAuthModal(), requireAuth() functions. Modified both website/index.html and website/canvas.html to mount the header. Added @encryptid vite alias for lazy-loading WebAuthn modules. + +Follow-up fix in 46d8429: header now re-renders after auth via the requireAuth() flow (e.g. community creation form), so the Sign In button updates to show the user avatar immediately. + +Docker build fixed in fd25996/6bafcf3: switched to self-contained build context with additional_contexts for encryptid-sdk, added .dockerignore, skipped tsc in Docker build. + +Auto-deploy configured: added rspace-online to deploy-webhook REPOS + created Gitea webhook (ID 74). Pushes to main now auto-deploy. + diff --git a/backlog/tasks/task-9 - Create-rWallet.online-website.md b/backlog/tasks/task-9 - Create-rWallet.online-website.md index c516b28..b95bead 100644 --- a/backlog/tasks/task-9 - Create-rWallet.online-website.md +++ b/backlog/tasks/task-9 - Create-rWallet.online-website.md @@ -1,10 +1,10 @@ --- -id: task-9 +id: TASK-9 title: Create rWallet.online website -status: To Do +status: Done assignee: [] created_date: '2026-02-04 22:39' -updated_date: '2026-02-04 22:39' +updated_date: '2026-02-17 01:02' labels: - website - rSpace-ecosystem @@ -38,4 +38,6 @@ Key features to include: Due: Sunday, February 9, 2026 + +rWallet is live on netcup (rwallet-online container running), included in rSpace ecosystem links, and has full landing page + visualization pages at rwallet.online.