shared/whats-new/README.md
Add new version (divided by section)
lastLastVersion to the value of lastVersionlastVersion to the value of currentVersioncurrentVersion to the new versionUpdate the following files:
client/shared/constants/whats-new.tsx for JavaScript valuesclient/shared/constants/types/whats-new.tsx for TypeScript type literalsNew new features in client/shared/whats-new/releases.tsx using the
NewFeatureRow component.
seen prop to set its badge state
correctlyonNavigate to move to different routes in the app, and onNavigateExternal for external URLs like keybase.ioAdd any image assets to client/shared/images/releases/{MAJ-MIN-PATCH-name}.png
yarn update-icon-constantsKb.Icon name. E.g.
<NewFeatureRow image="4.8.0-keybase-fm">
{...}
</NewFeatureRow>
Invariant: currentVersion > lastVersion > lastLastVersion
Make sure images from old release are removed from
client/shared/images/releases/{MAJ-MIN-PATCH-name}.png
Regenerate icon constants after removing or adding images
yarn update-icon-constants
Version numbers matter in client/shared/constants/whats-new.tsx. They are
used to sync the most recent version a user has seen and set the badge
state of the radio icon.