forked from Qortal/q-blog
42 lines
1.9 KiB
Markdown
42 lines
1.9 KiB
Markdown
# Q-Blog — Release Notes (v0.2.2)
|
||
|
||
## Highlights
|
||
|
||
- **Wiki edits without owning a blog** — editors can publish revisions to wiki-enabled blogs even if they don’t have their own blog.
|
||
- **Authenticate UX** — auto-auth on first load; Authenticate button shows spinner and prevents double-clicks.
|
||
- **Names popover** — clear states for Loading / Error / Empty; prevents “empty menu” confusion.
|
||
- **Stability** — tests added for wiki edits, auth button, and names popover.
|
||
|
||
## Changes
|
||
|
||
### Code
|
||
|
||
- `CreatePostMinimal.tsx` — remove `currentBlog` guard in **edit** publish path; prefill title from canonical content.
|
||
- `CreatePostBuilder.tsx` — same guard removal in edit path.
|
||
- `CreatePost.tsx` — wiki edit gating; canonical selection; passes content to editors.
|
||
- `GlobalWrapper.tsx` — thin, idempotent auth; auto-auth on mount; parallel names fetch (`namesStatus`).
|
||
- `Navbar.tsx` — Authenticate spinner/disabled; names popover states; “My Blogs” popover.
|
||
|
||
### Docs
|
||
|
||
- `FEATURE_WIKI_MODE_OVERVIEW.md` — editors don’t need their own blog for edits.
|
||
- `TECH_IMPL_WIKI_MODE.md` — edit flow clarified; BLOG vs BLOG_POST responsibilities.
|
||
- `FEATURE_MULTIBLOG_OVERVIEW.md` — header Blog Switcher out-of-scope for v0.2.2.
|
||
|
||
### Tests
|
||
|
||
- `CreatePost.wiki.editNoBlog.test.tsx` — publishes edit without `currentBlog`.
|
||
- `AuthenticateButton.test.tsx` — loading state disables click.
|
||
- `SwitchNameMenu.test.tsx` — Loading state visible in popover.
|
||
|
||
## Upgrade notes
|
||
|
||
- No migrations. Backward-compatible: missing wiki fields → wiki disabled.
|
||
- If you vendor custom Navbar, integrate the names popover states to match tests and UX.
|
||
|
||
## Verify
|
||
|
||
- Open a wiki-enabled blog (empty whitelist). Authenticate → edit a post as a different Name with no blog → Publish succeeds.
|
||
- Authenticate button shows spinner; double-clicking is ignored.
|
||
- Switch-name popover shows Loading/Error/Empty correctly.
|