Files
q-blog/docs/RELEASE_NOTES_v0.2.2.md
greenflame089 0b100af686 Release v0.2.2
2025-08-22 07:28:42 -04:00

1.9 KiB
Raw Permalink Blame History

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 dont 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 dont 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.