Skip to content

chore(web): refresh "What's new" modal for 0.2.0#261

Merged
erichare merged 1 commit into
mainfrom
chore/whats-new-0.2
May 22, 2026
Merged

chore(web): refresh "What's new" modal for 0.2.0#261
erichare merged 1 commit into
mainfrom
chore/whats-new-0.2

Conversation

@erichare
Copy link
Copy Markdown
Collaborator

Summary

PR #259 (the version bump) missed apps/web/src/lib/version.ts — the header chip and the "What's new" modal title both still read 0.1.1. This PR closes that loop:

  1. Bumps APP_VERSION to 0.2.0. Because the modal's dismissal stamp is keyed by version (aiw:wn:0.2.0), every existing user gets the new modal auto-opened on their next visit — without losing their prior 0.1.1 dismissal record.
  2. Rewrites WHATS_NEW_HIGHLIGHTS with seven v0.2 wins, in narrative order:
# Title Link
1 First-run setup wizard /onboarding
2 System status page /status
3 Error envelopes carry remediation hints docs/errors.md
4 CLI: aiw doctor / status / profile / completion CLI README
5 Curated Prometheus metrics + Grafana starter docs/production.md
6 Opt-in anonymous telemetry docs/telemetry.md
7 Conformance now covers chat

Test plan

  • npm --prefix apps/web run typecheck — clean
  • npm --prefix apps/web test -- WhatsNew — 4 vitest cases pass (assertions are version-agnostic, content-agnostic)
  • Live: cleared aiw:wn:* from localStorage and reloaded → modal auto-opened with title "What's new in 0.2.0" and all seven cards rendered cleanly

🤖 Generated with Claude Code

The bump PR #259 missed apps/web/src/lib/version.ts — fix it and
swap in the v0.2-specific highlights. Modal title pulls from
APP_VERSION → "What's new in 0.2.0" auto-trips for every user on
first visit (existing localStorage dismissal stamps are keyed by
version, so 0.1.1 dismissals don't suppress this one).

Seven highlights, in narrative order:

1. First-run setup wizard (links → /onboarding)
2. System status page (links → /status)
3. Error envelopes carry remediation hints (links → docs/errors.md)
4. CLI: aiw doctor / status / profile / completion
5. Curated Prometheus metrics + Grafana starter
6. Opt-in anonymous telemetry
7. Conformance now covers chat

Tests untouched — they assert against the WHATS_NEW_VERSION constant
and the "Got it" button, not the highlight content. 4 vitest cases
still pass.

Verified live: cleared localStorage and reloaded; modal auto-opened
with title "What's new in 0.2.0" and all seven cards rendered.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@erichare erichare merged commit ecf066c into main May 22, 2026
8 checks passed
@erichare erichare deleted the chore/whats-new-0.2 branch May 22, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant