chin
d136c52aef
fix(tabs): flag explicitly-titled workspaces instead of a title-string sentinel
...
Codex P2: resolveWorkspaceTabLabel treated any workspace whose title equals
"Workspace" as an untouched default and replaced it with a host label — so a
workspace a user renamed to "Workspace" (or a snippet named "Workspace")
lost its chosen name.
Add an explicit Workspace.autoTitle flag. It is authoritative when present:
- set false on user rename, snippet-created, named "New Workspace", and any
createWorkspaceFromTargets call given an explicit name;
- absent/true means the tab may derive a host label.
Legacy workspaces without the flag fall back to the old default-title string
check, so already-open default splits still get host labels and previously
renamed workspaces keep their names.
- domain/models/workspace.ts: add autoTitle field.
- domain/workspace.ts: thread autoTitle through createWorkspaceFromSessionIds.
- application/state/useSessionState.ts: mark rename / snippet / named
creation paths as explicit; createWorkspaceFromTargets takes an optional
name and only marks custom when one is given.
- domain/sessionTabTitle.ts: derive only when autoTitle (with legacy string
fallback); tests for explicit "Workspace" name and explicit auto-title.
2026-08-01 19:11:26 +08:00
..
2026-07-17 09:41:28 +08:00
2026-08-01 19:11:26 +08:00
2026-07-22 08:58:58 +08:00
2026-07-26 00:39:28 +08:00
2026-07-15 11:49:39 +08:00
2026-07-03 10:47:59 +08:00
2026-07-30 17:57:14 +08:00
2026-07-30 17:57:14 +08:00
2026-07-30 21:50:50 +08:00
2026-07-30 21:50:50 +08:00
2026-06-26 23:14:57 +08:00
2026-07-28 14:55:07 +08:00
2026-07-28 14:55:07 +08:00
2026-07-27 18:58:34 +08:00
2026-07-27 18:58:34 +08:00
2026-06-25 14:34:40 +08:00
2026-07-03 10:47:59 +08:00
2026-06-23 14:20:05 +08:00
2026-06-23 18:56:46 +08:00
2026-06-23 18:56:46 +08:00
2026-06-22 22:26:36 +08:00
2026-06-27 00:02:12 +08:00
2026-06-27 00:02:12 +08:00
2026-06-27 00:02:12 +08:00
2026-05-06 15:20:23 +08:00
2026-07-31 12:52:38 +08:00
2026-07-31 12:52:38 +08:00
2026-04-23 13:34:38 +08:00
2026-04-23 13:34:38 +08:00
2026-07-12 12:47:03 +08:00
2026-07-12 12:47:03 +08:00
2026-06-12 14:00:16 +08:00
2026-06-12 14:00:16 +08:00
2026-07-15 12:06:28 +08:00
2026-07-15 12:06:28 +08:00
2026-07-30 19:51:50 +08:00
2026-07-30 19:51:50 +08:00
2026-07-31 12:21:00 +08:00
2026-07-31 12:21:00 +08:00
2026-07-03 10:47:59 +08:00
2026-07-03 10:47:59 +08:00
2026-06-28 23:48:12 +08:00
2026-06-09 03:35:03 +08:00
2026-06-11 16:05:17 +08:00
2026-06-11 16:05:17 +08:00
2026-06-11 16:05:17 +08:00
2026-06-11 16:05:17 +08:00
2026-06-22 10:49:24 +08:00
2026-06-22 10:49:24 +08:00
2026-07-09 15:42:31 +08:00
2026-07-09 15:42:31 +08:00
2026-07-07 00:26:47 +08:00
2026-07-07 00:26:47 +08:00
2026-06-01 15:25:31 +08:00
2026-05-12 20:35:07 +08:00
2026-05-13 11:41:36 +08:00
2026-05-13 11:41:36 +08:00
2026-05-27 11:20:08 +08:00
2026-07-26 00:39:28 +08:00
2026-06-27 02:33:56 +08:00
2026-06-27 02:33:56 +08:00
2026-07-14 15:19:16 +08:00
2026-07-14 15:19:16 +08:00
2026-07-26 00:39:28 +08:00
2026-07-26 00:39:28 +08:00
2026-07-26 00:39:28 +08:00
2026-07-26 00:44:13 +08:00
2026-07-28 00:54:03 +08:00
2026-07-28 00:54:03 +08:00
2026-07-21 10:44:36 +08:00
2026-07-21 10:44:36 +08:00
2026-07-15 17:09:53 +08:00
2026-07-15 17:09:53 +08:00
2026-06-29 23:26:53 +08:00
2026-06-29 23:26:53 +08:00
2026-03-23 23:13:58 +08:00
2026-07-12 16:23:21 +08:00
2026-07-12 16:23:21 +08:00
2026-06-12 14:00:16 +08:00
2026-06-14 10:47:21 +08:00
2026-07-29 17:26:15 +08:00
2026-07-29 03:33:00 +08:00
2026-07-24 13:22:58 +00:00
2026-07-24 13:22:58 +00:00
2026-07-15 15:22:21 +08:00
2026-07-15 15:22:21 +08:00
2026-07-29 14:46:13 +08:00
2026-07-29 14:46:13 +08:00
2026-08-01 19:11:26 +08:00
2026-08-01 19:11:26 +08:00
2026-06-12 17:46:32 +08:00
2026-07-28 18:57:14 +08:00
2026-07-29 03:45:13 +08:00
2026-07-26 21:27:01 +08:00
2026-07-29 05:14:51 +08:00
2026-07-29 05:14:51 +08:00
2026-07-19 11:34:47 +08:00
2026-07-19 11:34:47 +08:00
2026-07-26 21:27:01 +08:00
2026-07-29 03:57:15 +08:00
2026-07-29 03:57:15 +08:00
2026-07-26 21:27:01 +08:00
2026-07-25 15:38:42 +00:00
2026-07-23 23:46:49 +08:00
2026-07-23 23:46:49 +08:00
2026-07-19 11:34:47 +08:00
2026-07-19 11:34:47 +08:00
2026-07-19 11:34:47 +08:00
2026-07-19 11:34:47 +08:00
2026-06-04 11:07:13 +08:00
2026-06-04 11:07:13 +08:00
2026-07-29 17:26:15 +08:00
2026-06-30 17:01:27 +08:00
2026-06-29 01:41:03 +08:00
2026-06-29 01:41:03 +08:00
2026-06-30 17:01:27 +08:00
2026-06-28 23:48:12 +08:00
2026-07-29 17:26:15 +08:00
2026-06-28 23:48:12 +08:00
2026-07-03 10:47:59 +08:00
2026-06-30 17:01:27 +08:00
2026-06-30 17:01:27 +08:00
2026-06-19 15:46:36 +08:00
2026-06-19 15:46:36 +08:00
2026-07-12 19:11:57 +08:00
2026-07-12 19:11:57 +08:00
2026-06-05 05:54:23 +00:00
2026-06-05 05:54:23 +00:00
2026-07-13 21:31:12 +08:00
2026-07-14 15:19:16 +08:00
2026-07-15 13:17:03 +08:00
2026-07-15 13:17:03 +08:00
2026-07-12 13:23:24 +08:00
2026-07-12 13:23:24 +08:00
2026-07-06 22:56:32 +08:00
2026-07-06 22:56:32 +08:00
2026-06-29 00:12:03 +08:00
2026-07-17 09:41:28 +08:00
2026-05-06 15:20:23 +08:00
2026-06-22 18:23:58 +08:00
2026-07-18 10:32:12 +08:00
2026-07-18 10:32:12 +08:00
2026-06-01 18:40:19 +08:00
2026-06-01 18:40:19 +08:00
2026-06-01 17:07:07 +08:00
2026-06-01 17:07:07 +08:00
2026-07-18 15:10:35 +08:00
2026-07-18 15:10:35 +08:00
2026-07-30 08:57:46 +00:00
2026-07-30 08:57:46 +00:00
2026-06-13 12:28:07 +08:00
2026-06-13 12:28:07 +08:00
2026-07-07 11:15:57 +08:00
2026-07-07 11:15:57 +08:00
2026-06-28 02:17:06 +08:00
2026-06-28 02:17:06 +08:00
2026-06-28 02:20:06 +08:00
2026-06-28 02:20:06 +08:00
2026-07-17 11:57:23 +08:00
2026-07-17 11:57:23 +08:00
2026-06-26 01:34:29 +08:00
2026-06-26 01:34:29 +08:00
2026-06-29 13:12:39 +08:00
2026-06-29 13:12:39 +08:00
2026-06-25 09:42:19 +08:00
2026-07-29 14:01:02 +08:00
2026-07-29 14:01:02 +08:00
2026-07-26 00:39:28 +08:00
2026-07-26 00:39:28 +08:00
2026-07-26 21:45:39 +08:00
2026-07-26 19:13:51 +08:00
2026-07-30 19:44:16 +08:00
2026-07-30 19:44:16 +08:00
2026-07-01 02:49:24 +08:00
2026-07-01 02:49:24 +08:00
2026-07-30 17:28:16 +08:00
2026-07-30 17:28:16 +08:00
2026-07-21 01:06:12 +08:00
2026-07-21 01:06:12 +08:00
2026-07-21 02:22:53 +08:00
2026-07-21 02:22:53 +08:00
2026-07-23 23:58:10 +08:00
2026-07-23 23:58:10 +08:00
2026-07-31 11:17:44 +08:00
2026-06-29 22:29:43 +08:00
2026-06-29 22:08:07 +08:00
2026-07-14 17:11:03 +08:00
2026-07-14 17:11:03 +08:00
2026-07-30 17:28:16 +08:00
2026-07-15 17:18:44 +08:00
2026-07-15 17:18:44 +08:00
2026-07-28 00:54:03 +08:00
2026-07-28 00:54:03 +08:00
2026-07-28 00:54:03 +08:00
2026-07-28 00:54:03 +08:00
2026-07-15 18:05:11 +08:00
2026-07-15 18:05:11 +08:00
2026-07-28 00:54:03 +08:00
2026-07-28 00:54:03 +08:00
2026-07-15 16:48:46 +08:00
2026-06-11 16:05:17 +08:00
2026-06-11 16:05:17 +08:00
2026-07-30 10:50:03 +08:00
2026-08-01 19:11:26 +08:00