be9859f3cd06
fix whats-new text colors, add V4 backup/passphrase details, and add settings vault section to revisit changelog
- time
- 2026-09-05 16:28 UTC · 1 month ago
- machine
- koh2
- agent
- glm-5.2
- session
- changelog breaking-changes screen
- parent
- d460a48c5619
↓ peach-browser-be9859f3.tar.gzatlas at this save
files changed3 files
src/popup/styles/popup.css+3 −3src/popup/views/Settings.tsx+20 −0src/shared/release-notes.ts+5 −1src/popup/styles/popup.css+3 −3
@@ -7967,14 +7967,14 @@79677967 font-size: 20px;79687968 font-style: italic;79697969 font-weight: 400;7970- color: var(--peach-t4);7970+ color: var(--peach-t0);79717971 margin: 0;79727972 }79737973 79747974 .peach-whats-new-version {79757975 font-family: var(--peach-mono);79767976 font-size: 0.6875rem;7977- color: var(--peach-t2);7977+ color: var(--peach-t1);79787978 }79797979 79807980 .peach-whats-new-scroll {@@ -8014,7 +8014,7 @@80148014 .peach-whats-new-note-heading {80158015 font-size: 0.875rem;80168016 font-weight: 600;8017- color: var(--peach-t4);8017+ color: var(--peach-t0);80188018 margin: 0 0 6px;80198019 }80208020 src/popup/views/Settings.tsx+20 −0
@@ -5,8 +5,10 @@55 import { StackDeck } from "../components/settings/StackDeck";66 import type { CardId, StackBodies, StackCardSpec } from "../components/settings/types";77 import { RecoveryWordDisplayView } from "./RecoveryWordDisplay";8+import { WhatsNewView } from "./WhatsNew";89 import type { Canary } from "../../shared/types";910 import { ACCENT_COLORS } from "../../shared/types";11+import { PEACH_VERSION, hasReleaseNotes } from "../../shared/release-notes";1012 import type {1113 AccentColorName,1214 PasskeyProviderState,@@ -474,6 +476,7 @@474476 }475477 476478 const [showVaultAdvanced, setShowVaultAdvanced] = createSignal(false);479+ const [showWhatsNew, setShowWhatsNew] = createSignal(false);477480 478481 const [showChangePw, setShowChangePw] = createSignal(false);479482 const [changePwCurrent, setChangePwCurrent] = createSignal("");@@ -1476,6 +1479,16 @@14761479 </button>14771480 </div>14781481 1482+ <Show when={hasReleaseNotes()}>1483+ <p class="peach-settings-sub-label">WHAT'S NEW</p>1484+ <div class="peach-settings-row peach-settings-row--meta">1485+ <span>v{PEACH_VERSION}</span>1486+ <button class="peach-btn peach-btn--subtle peach-btn--sm" onClick={() => setShowWhatsNew(true)}>1487+ view1488+ </button>1489+ </div>1490+ </Show>1491+14791492 <span class="peach-settings-sub-label">VAULT HISTORY</span>14801493 <Show when={historyLoading()}>14811494 <p class="peach-settings-hint">Loading…</p>@@ -2385,6 +2398,9 @@23852398 23862399 return (23872400 <Show2401+ when={showWhatsNew()}2402+ fallback={2403+ <Show23882404 when={showNewRecoveryWords()}23892405 fallback={23902406 <div@@ -2407,6 +2423,10 @@24072423 }24082424 >24092425 <RecoveryWordDisplayView onDone={() => setShowNewRecoveryWords(false)} />2426+ </Show>2427+ }2428+ >2429+ <WhatsNewView onContinue={() => setShowWhatsNew(false)} />24102430 </Show>24112431 );24122432 }src/shared/release-notes.ts+5 −1
@@ -27,7 +27,11 @@2727 export const CURRENT_NOTES: ReleaseNote[] = [2828 {2929 heading: "Vault V4 format",30- body: "Peach now writes a new vault format that supports passwords up to 65,535 characters. Your existing vaults and exports are fully readable.",30+ body: "Peach now supports passphrases and passwords up to 256 characters. Your existing vaults and exports remain fully readable.",31+ },32+ {33+ heading: "Back up before updating",34+ body: "We recommend creating a vault backup before installing this update. Open Settings → Export to save an encrypted copy of your vault.",3135 },3236 {3337 heading: "Update your Android app",