From 9c582afe3d9d55ffefa2d08b0664219a4668492a Mon Sep 17 00:00:00 2001 From: Avi Date: Tue, 1 Sep 2026 12:33:09 -0500 Subject: [PATCH] checkpoint: document last publish persistence --- CHECKPOINT-encryption.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHECKPOINT-encryption.md b/CHECKPOINT-encryption.md index 7066062..07f3a26 100644 --- a/CHECKPOINT-encryption.md +++ b/CHECKPOINT-encryption.md @@ -2,7 +2,7 @@ ## Where things are - Project: `/home/avi/Projects/Keynctr` -- Git repo: `master` @ `b0d9143` ("Add 'View in Feed' button after publishing a note"). +- Git repo: `master` @ `bab82f5` ("Persist last publish report across restarts"). - Working tree: clean except the usual untracked items (`.directory`, `.opencode/`, `.impeccable/`, `COSMIC_THEME.md`, `KeynectrAppIconPossibility02.jpeg`). @@ -85,8 +85,16 @@ "Most recent publication" card now show a "View in Feed" ghost button that navigates to the Feed screen. `ComposeScreen` now accepts an optional `onNavigate` prop; `Shell` passes `setScreen` through. +17. **Last publish persisted across restarts (this session).** The most recent + publish report is now saved to `last_publish.json` in the data directory and + loaded on app startup. Added `StoredPublishReport` in `vault.rs`, `last_publish` + field on `App` and `AppStateView`, save on publish in `ipc.rs`, and + `last_publish` on the frontend `AppState` type. `AppProvider` initializes + `lastPublish` from `state.last_publish` so the Home screen shows the result + after a restart. ## Commits added in this session (newest first) +- `bab82f5` Persist last publish report across restarts - `b0d9143` Add 'View in Feed' button after publishing a note - `471acf8` polish: align HomeScreen spacing to design scale, add profile row hover - `269f0c0` Remove identity card from HomeScreen — redundant with subtitle and profile list