chore(web): refresh "What's new" modal for 0.2.0#261
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 read0.1.1. This PR closes that loop:APP_VERSIONto0.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.WHATS_NEW_HIGHLIGHTSwith seven v0.2 wins, in narrative order:/onboarding/statusdocs/errors.mdaiw doctor/status/profile/completiondocs/production.mddocs/telemetry.mdTest plan
npm --prefix apps/web run typecheck— cleannpm --prefix apps/web test -- WhatsNew— 4 vitest cases pass (assertions are version-agnostic, content-agnostic)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