Jinjing and Orca
d41cb21e94
Sta 4062 folder note rollback ( #14232 )
...
* fix(persistence): keep folder-workspace notes across a build rollback
normalizeFolderWorkspaces rebuilds each FolderWorkspace field-by-field, so the
inline diffComments field #14112 added is dropped by any build that predates it
— and the next full-state write makes the loss durable with no user edit.
Move the on-disk home to an optional top-level PersistedState.folderWorkspaceDiffComments,
which older builds round-trip untouched through their {...defaults, ...parsed} load
spread and omit-style getDurableState(). load() hydrates it onto the records and
deletes it from Store state; buildStateToSave() is the only producer. The in-memory
FolderWorkspace shape, and therefore every IPC/RPC/renderer/mobile path, is unchanged.
Co-authored-by: Orca <help@stably.ai >
* fix(persistence): prefer inline folder notes over a stale map entry
Hydrate preferred a non-empty folderWorkspaceDiffComments entry over non-empty
inline notes. A rollback to a notes-capable #14112 build writes notes inline and
leaves the older map untouched, so re-upgrading deleted everything authored while
rolled back. Inline now wins when present; the map only fills a stripped record.
Co-authored-by: Orca <help@stably.ai >
* Extract folder workspace diff comments to dedicated module
Moves normalizeFolderWorkspaceDiffComments and
collectFolderWorkspaceDiffComments from persistence.ts to a new
folder-workspace-diff-comments.ts module for better code organization.
---------
Co-authored-by: Orca <help@stably.ai >
2026-08-13 00:34:57 -07:00
..
2026-08-12 21:32:26 -07:00
2026-08-12 13:09:08 -07:00
2026-07-23 18:35:31 -07:00
2026-08-10 16:34:15 -07:00
2026-08-11 12:13:16 -07:00
2026-08-11 18:19:43 -07:00
2026-08-06 13:42:37 -07:00
2026-08-11 17:29:22 -07:00
2026-08-12 21:33:18 -07:00
2026-08-11 14:03:16 -07:00
2026-07-30 12:50:07 -07:00
2026-08-10 20:38:31 -07:00
2026-08-11 18:19:43 -07:00
2026-08-11 21:16:36 -07:00
2026-08-12 18:53:17 -07:00
2026-08-03 23:25:14 -07:00
2026-08-10 20:38:31 -07:00
2026-08-10 16:34:15 -07:00
2026-08-11 18:19:43 -07:00
2026-08-11 17:06:55 -07:00
2026-08-07 15:51:24 -07:00
2026-08-11 22:13:35 -07:00
2026-08-12 23:22:48 -07:00
2026-08-10 16:34:15 -07:00
2026-07-23 18:35:31 -07:00
2026-08-10 16:34:15 -07:00
2026-08-12 13:02:23 -07:00
2026-08-11 22:13:35 -07:00
2026-08-09 15:25:29 -07:00
2026-08-11 18:19:43 -07:00
2026-08-02 00:31:54 -07:00
2026-08-11 18:19:43 -07:00
2026-08-10 01:10:12 -07:00
2026-08-10 16:34:15 -07:00
2026-07-10 00:11:27 -07:00
2026-07-30 19:33:05 -07:00
2026-07-23 18:35:31 -07:00
2026-07-29 17:44:41 -07:00
2026-08-12 23:22:48 -07:00
2026-08-11 18:19:43 -07:00
2026-08-11 18:19:43 -07:00
2026-08-11 17:06:55 -07:00
2026-07-23 18:35:31 -07:00
2026-08-11 18:19:43 -07:00
2026-07-27 16:36:39 -07:00
2026-08-11 18:19:43 -07:00
2026-08-09 18:14:39 -07:00
2026-07-23 18:35:31 -07:00
2026-08-11 18:19:43 -07:00
2026-08-12 13:09:08 -07:00
2026-08-11 18:19:43 -07:00
2026-08-11 18:19:43 -07:00
2026-08-01 14:24:31 -07:00
2026-08-10 20:38:31 -07:00
2026-08-11 12:13:16 -07:00
2026-08-11 22:34:54 -07:00
2026-08-11 18:19:43 -07:00
2026-08-10 00:29:26 -07:00
2026-07-23 18:35:31 -07:00
2026-08-12 23:22:48 -07:00
2026-08-12 23:22:48 -07:00
2026-08-11 18:19:43 -07:00
2026-08-12 23:22:48 -07:00
2026-07-21 18:23:20 -07:00
2026-08-09 14:50:02 -07:00
2026-08-11 18:19:43 -07:00
2026-08-02 01:09:44 -07:00
2026-08-11 01:48:14 -07:00
2026-08-11 22:13:35 -07:00
2026-06-29 22:38:29 -07:00
2026-08-12 16:07:08 -07:00
2026-08-02 00:01:23 -07:00
2026-08-02 00:33:57 -07:00
2026-08-12 18:53:17 -07:00
2026-07-24 19:54:25 -07:00
2026-08-10 20:38:31 -07:00
2026-08-11 18:19:43 -07:00
2026-08-11 18:19:43 -07:00
2026-07-20 01:14:17 -07:00
2026-08-01 19:22:39 -07:00
2026-07-23 18:35:31 -07:00
2026-08-01 19:22:39 -07:00
2026-08-01 19:22:39 -07:00
2026-08-01 19:22:39 -07:00
2026-08-09 22:52:11 -07:00
2026-08-09 22:52:11 -07:00
2026-07-23 06:22:56 -07:00
2026-07-23 06:22:56 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-06-22 18:01:37 -07:00
2026-06-22 18:01:37 -07:00
2026-07-17 15:27:39 -07:00
2026-07-17 15:27:39 -07:00
2026-07-24 19:54:25 -07:00
2026-07-24 19:54:25 -07:00
2026-07-29 21:43:45 -07:00
2026-07-29 21:43:45 -07:00
2026-07-26 00:13:48 -07:00
2026-07-26 00:13:48 -07:00
2026-08-01 19:22:39 -07:00
2026-08-01 13:38:45 -07:00
2026-06-30 11:31:55 -07:00
2026-06-30 11:31:55 -07:00
2026-07-27 01:14:33 -07:00
2026-07-27 01:14:33 -07:00
2026-06-30 11:31:55 -07:00
2026-08-01 13:38:45 -07:00
2026-08-01 13:38:45 -07:00
2026-08-13 00:34:57 -07:00
2026-08-02 17:40:58 -07:00
2026-08-02 17:40:58 -07:00
2026-08-11 15:32:13 -07:00
2026-06-19 17:14:55 -07:00
2026-08-03 23:25:50 -07:00
2026-08-03 23:25:50 -07:00
2026-08-03 23:25:50 -07:00
2026-07-29 18:21:26 -07:00
2026-08-12 23:22:48 -07:00
2026-08-11 17:29:22 -07:00
2026-08-01 13:38:45 -07:00
2026-08-12 14:31:42 -07:00
2026-08-12 14:31:42 -07:00
2026-08-02 20:46:49 -07:00
2026-08-02 20:46:49 -07:00
2026-08-02 20:46:49 -07:00
2026-08-02 20:46:49 -07:00
2026-08-03 23:25:26 -07:00
2026-08-03 23:25:26 -07:00
2026-08-02 20:46:49 -07:00
2026-08-02 20:46:49 -07:00
2026-07-18 23:01:29 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-07-13 01:10:38 -07:00
2026-07-23 18:35:31 -07:00
2026-07-29 18:21:26 -07:00
2026-07-10 17:52:50 -07:00
2026-07-15 15:23:35 -07:00
2026-07-15 15:23:35 -07:00
2026-07-06 16:43:05 -07:00
2026-07-06 16:43:05 -07:00
2026-07-31 00:51:39 -07:00
2026-07-31 00:51:39 -07:00
2026-07-31 00:51:39 -07:00
2026-07-31 00:51:39 -07:00
2026-07-28 15:34:52 -07:00
2026-07-28 15:34:52 -07:00
2026-08-03 23:11:36 -07:00
2026-08-04 01:26:48 -07:00
2026-08-10 15:24:45 -07:00
2026-08-06 21:19:04 -07:00
2026-08-06 21:19:04 -07:00
2026-08-06 21:19:04 -07:00
2026-07-27 01:14:33 -07:00
2026-08-06 21:19:04 -07:00
2026-08-13 00:34:57 -07:00
2026-08-13 00:34:57 -07:00
2026-07-31 11:58:46 -07:00
2026-07-31 11:58:46 -07:00
2026-07-31 11:58:46 -07:00
2026-06-17 16:08:14 -07:00
2026-07-13 01:10:38 -07:00
2026-08-06 21:19:04 -07:00
2026-08-06 21:19:04 -07:00
2026-07-25 22:28:07 -07:00
2026-07-25 22:28:07 -07:00
2026-08-07 21:59:24 -07:00
2026-08-07 21:59:24 -07:00
2026-08-01 19:22:39 -07:00
2026-07-23 18:03:43 -07:00
2026-07-23 18:03:43 -07:00
2026-08-01 19:22:39 -07:00
2026-08-04 01:37:25 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-07-25 04:04:19 -07:00
2026-07-25 04:04:19 -07:00
2026-07-25 04:04:19 -07:00
2026-07-25 04:04:19 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-08-10 01:06:32 -07:00
2026-08-10 01:06:32 -07:00
2026-07-26 02:32:05 -07:00
2026-07-26 02:32:05 -07:00
2026-06-29 22:38:29 -07:00
2026-07-09 16:24:20 -07:00
2026-07-09 16:24:20 -07:00
2026-07-20 14:34:53 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-08-12 14:31:42 -07:00
2026-08-12 14:31:42 -07:00
2026-08-12 20:55:29 -07:00
2026-08-12 14:31:42 -07:00
2026-08-12 14:31:42 -07:00
2026-08-12 20:55:29 -07:00
2026-08-12 20:55:29 -07:00
2026-08-12 14:31:42 -07:00
2026-07-10 17:27:47 -07:00
2026-07-10 17:27:47 -07:00
2026-08-09 13:31:22 -07:00
2026-08-09 13:31:22 -07:00
2026-08-05 01:13:13 -07:00
2026-08-05 01:13:13 -07:00
2026-08-05 01:13:13 -07:00
2026-08-05 01:13:13 -07:00
2026-07-29 18:21:26 -07:00
2026-07-29 18:21:26 -07:00
2026-07-29 18:21:26 -07:00
2026-07-29 18:21:26 -07:00
2026-07-29 18:21:26 -07:00
2026-07-29 18:21:26 -07:00
2026-07-29 18:21:26 -07:00
2026-08-01 19:22:39 -07:00
2026-08-01 19:22:39 -07:00
2026-07-11 21:03:04 -07:00
2026-07-11 21:03:04 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-08-02 20:46:49 -07:00
2026-08-02 20:46:49 -07:00
2026-08-02 20:46:49 -07:00
2026-07-17 15:27:39 -07:00
2026-07-17 15:27:39 -07:00
2026-08-03 23:25:26 -07:00
2026-07-09 23:00:01 -07:00
2026-07-23 18:35:31 -07:00
2026-07-28 19:58:58 -07:00
2026-07-28 19:58:58 -07:00
2026-07-28 19:58:58 -07:00
2026-07-28 19:58:58 -07:00
2026-08-09 19:01:35 -07:00
2026-07-31 14:29:20 -07:00
2026-07-28 19:58:58 -07:00
2026-08-02 20:46:49 -07:00
2026-07-22 18:52:37 -07:00
2026-08-04 02:02:53 -07:00
2026-07-09 23:00:01 -07:00
2026-08-09 19:01:35 -07:00
2026-08-04 02:02:53 -07:00
2026-07-29 18:21:26 -07:00
2026-06-29 22:38:29 -07:00
2026-07-11 02:03:14 -07:00
2026-08-01 13:38:45 -07:00
2026-08-01 13:38:45 -07:00
2026-08-10 19:55:29 -07:00
2026-07-24 00:27:40 -07:00
2026-07-24 00:27:40 -07:00
2026-07-25 22:28:07 -07:00
2026-07-25 22:28:07 -07:00
2026-07-27 18:50:52 -07:00
2026-07-27 18:50:52 -07:00
2026-07-27 18:50:52 -07:00
2026-07-27 18:50:52 -07:00
2026-07-11 02:05:58 -07:00
2026-07-04 21:31:51 -07:00
2026-07-04 21:31:51 -07:00
2026-06-29 18:02:10 -07:00
2026-08-08 12:42:38 -07:00
2026-08-08 12:42:38 -07:00
2026-07-23 18:35:31 -07:00
2026-07-02 11:24:07 -07:00
2026-07-23 18:35:31 -07:00
2026-08-11 01:05:12 -07:00
2026-08-02 00:01:23 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-08-04 15:53:11 -07:00
2026-08-04 15:53:11 -07:00
2026-08-07 20:35:22 -07:00
2026-08-07 21:59:24 -07:00
2026-07-19 17:31:34 -07:00
2026-08-07 20:35:22 -07:00
2026-07-30 17:49:32 -07:00
2026-07-30 17:49:32 -07:00
2026-07-30 17:49:32 -07:00
2026-07-14 15:23:06 -07:00
2026-08-07 20:35:22 -07:00
2026-08-07 20:35:22 -07:00
2026-08-07 20:35:22 -07:00
2026-08-07 20:35:22 -07:00
2026-08-09 19:52:16 -07:00
2026-08-09 19:52:16 -07:00