forked from Qortal/q-blog
841 B
841 B
ADR-0007 — Wiki Edit Flow & Auth Adjustments (v0.2.2)
Status: Accepted
Date: 2025-08-22
Context
Users could not edit others’ posts on wiki-enabled blogs unless they owned a blog. Auth feedback was unclear; initial auth no longer triggered on first load.
Decision
- Edit flow: In edit mode, do not require
currentBlog. Publish onlyservice: BLOG_POSTunder the editor’s Name using the original identifier. Never publishservice: BLOGfrom edit screens. - Auth: Trigger
askForAccountInformation()on initial load (idempotent). Show loading states for Authenticate button and names popover.
Consequences
- Allows true wiki behavior; avoids accidental “create a blog first” blocker.
- Clear, accessible feedback during auth; fewer duplicate requests.
- Tests added to prevent regressions.