Jesse_Chen and Claude Opus 5.5
0a8350cc01
fix(home): one new-chat intent and a scoped login-return stash (BUG-1038)
...
Coming back to / from /people could show the previous rectification session
as a locked page: its title in the header, the composer stuck on
"正在打开生时校正…", and the new-chat greeting in the middle.
The state that survived between pages is the sessionStorage login-return
stash that secondary-page sidebar links write from the current ?c=:
- /people「和 TA 对话」used a second intent (?newChat=1) parsed by a
component mounted inside Home after bootstrap, so the bootstrap new-chat
branch never ran and the stash won.
- A stash id not in the current person's loaded list was looked up and
landed with urlAction "keep", which assumes ?c= is already in the address
bar. It was not, so the rectification auto-open never fired. The stash
also ignored which person was current.
- An in-page new chat left the stash in place.
Fix: delete NewChatDeepLink / ?newChat and route「和 TA 对话」through
newChatHref(); a looked-up stash writes ?c= back (replace-selected) and is
dropped when it belongs to another person; startNewChat and
openChatBoundToProfile clear the stash. ?c= deep links, BUG-989 and BUG-705
are unchanged.
Tests: new real-lifecycle suite mounting the real Home, sidebar and people
page (10 cases: four secondary pages + mobile drawer, 和 TA 对话 for self and
another person, out-of-scope stash, same-person stash beyond the first page,
in-page new chat), plus two contract/unit tests. Six fail on origin/staging,
all pass here. Full suite 3928 / 61 failing, failure names identical to the
0ab061b9 baseline (3916 / 61).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
2026-09-26 07:23:50 +08:00
..
2026-08-31 19:57:08 +08:00
2026-09-06 12:37:21 +08:00
2026-09-25 20:41:16 +08:00
2026-08-08 17:29:17 +08:00
2026-09-22 12:13:17 +08:00
2026-09-03 23:57:27 +08:00
2026-08-29 09:44:53 +08:00
2026-09-21 02:55:00 +08:00
2026-08-23 17:02:06 +08:00
2026-08-15 07:06:19 +08:00
2026-09-18 12:16:20 +08:00
2026-09-20 12:58:34 +08:00
2026-09-25 01:56:57 +08:00
2026-09-18 18:45:48 +08:00
2026-09-03 23:22:50 +08:00
2026-08-07 12:07:57 +08:00
2026-09-24 18:22:44 +08:00
2026-08-17 18:42:54 +08:00
2026-09-21 02:55:00 +08:00
2026-09-04 00:26:57 +08:00
2026-07-21 16:06:30 +08:00
2026-07-19 10:39:47 +08:00
2026-07-20 14:45:08 +08:00
2026-08-21 15:29:58 +08:00
2026-07-20 14:58:57 +08:00
2026-07-19 09:12:45 +08:00
2026-07-19 09:12:45 +08:00
2026-07-20 14:58:57 +08:00
2026-07-19 09:12:45 +08:00
2026-07-19 04:38:20 +08:00
2026-07-21 22:16:18 +08:00
2026-07-19 19:40:37 +08:00
2026-07-19 04:38:20 +08:00
2026-07-19 04:38:20 +08:00
2026-07-19 04:13:12 +08:00
2026-07-21 22:16:18 +08:00
2026-07-19 09:12:45 +08:00
2026-07-19 14:48:02 +08:00
2026-07-19 08:25:33 +08:00
2026-07-19 08:46:59 +08:00
2026-08-31 05:50:17 +08:00
2026-07-20 01:37:06 +08:00
2026-07-21 22:16:18 +08:00
2026-07-19 06:42:17 +08:00
2026-07-25 11:50:41 +08:00
2026-07-19 22:23:29 +08:00
2026-07-19 04:13:12 +08:00
2026-07-19 07:20:40 +08:00
2026-07-19 06:42:17 +08:00
2026-07-21 16:06:30 +08:00
2026-07-19 10:12:18 +08:00
2026-07-19 22:23:29 +08:00
2026-07-19 10:12:18 +08:00
2026-07-18 18:40:23 +08:00
2026-07-19 20:24:44 +08:00
2026-07-21 16:06:30 +08:00
2026-07-18 18:40:23 +08:00
2026-09-21 02:55:00 +08:00
2026-07-19 06:42:17 +08:00
2026-09-03 23:49:42 +08:00
2026-09-03 16:33:46 +08:00
2026-09-04 00:26:57 +08:00
2026-07-20 14:58:57 +08:00
2026-07-25 01:17:14 +08:00
2026-07-19 07:20:40 +08:00
2026-07-20 14:58:57 +08:00
2026-07-19 08:46:59 +08:00
2026-09-04 00:26:57 +08:00
2026-07-20 01:37:06 +08:00
2026-07-19 06:42:17 +08:00
2026-07-20 14:58:57 +08:00
2026-07-19 22:23:29 +08:00
2026-09-03 23:49:42 +08:00
2026-09-03 23:49:42 +08:00
2026-09-04 00:26:57 +08:00
2026-07-19 06:42:17 +08:00
2026-07-19 08:25:33 +08:00
2026-07-19 07:20:40 +08:00
2026-08-07 12:55:32 +08:00
2026-07-19 06:42:17 +08:00
2026-07-19 07:20:40 +08:00
2026-07-19 22:23:29 +08:00
2026-09-04 02:16:00 +08:00
2026-08-21 15:29:58 +08:00
2026-07-21 22:16:18 +08:00
2026-07-19 07:20:40 +08:00
2026-07-19 07:20:40 +08:00
2026-07-19 08:25:33 +08:00
2026-07-19 06:42:17 +08:00
2026-07-20 15:55:59 +08:00
2026-08-30 11:19:50 +08:00
2026-09-22 12:14:50 +08:00
2026-09-01 21:38:21 +08:00
2026-09-06 18:29:51 +08:00
2026-09-25 04:19:05 +08:00
2026-09-25 04:19:05 +08:00
2026-09-25 04:19:05 +08:00
2026-09-25 04:19:05 +08:00
2026-09-24 12:33:09 +08:00
2026-09-25 02:10:48 +08:00
2026-09-24 12:33:09 +08:00
2026-09-25 03:01:48 +08:00
2026-09-22 12:14:50 +08:00
2026-09-25 04:19:05 +08:00
2026-09-15 16:27:50 +08:00
2026-09-18 12:16:20 +08:00
2026-09-18 18:45:19 +08:00
2026-09-02 04:29:01 +00:00
2026-09-20 12:58:34 +08:00
2026-09-01 21:38:21 +08:00
2026-09-25 23:02:17 +08:00
2026-08-17 14:16:05 +08:00
2026-09-01 19:51:19 +08:00
2026-07-21 11:58:42 +08:00
2026-09-26 07:23:50 +08:00
2026-09-21 18:49:40 +08:00
2026-08-17 18:42:54 +08:00
2026-09-24 20:43:35 +08:00
2026-08-17 14:16:05 +08:00
2026-08-23 14:38:50 +08:00
2026-09-20 12:58:34 +08:00
2026-08-31 09:59:53 +08:00
2026-09-18 13:17:35 +08:00
2026-09-18 12:16:20 +08:00
2026-08-18 17:47:02 +08:00
2026-09-15 12:27:16 +08:00
2026-08-22 09:10:47 +08:00
2026-09-06 15:16:18 +08:00
2026-08-06 20:15:08 +08:00
2026-08-21 15:29:58 +08:00
2026-09-25 02:59:11 +08:00
2026-08-18 15:44:19 +08:00
2026-09-22 12:13:53 +08:00
2026-09-22 12:11:52 +08:00
2026-09-18 12:16:20 +08:00
2026-09-16 07:38:36 +08:00
2026-09-20 12:58:34 +08:00
2026-09-25 04:19:05 +08:00
2026-09-03 20:58:47 +08:00
2026-09-18 12:16:20 +08:00
2026-08-17 18:10:00 +08:00
2026-09-25 23:02:17 +08:00
2026-09-25 04:19:05 +08:00
2026-08-22 23:47:57 +08:00
2026-09-03 16:33:46 +08:00
2026-09-21 02:55:00 +08:00
2026-09-25 04:19:05 +08:00
2026-09-26 06:58:41 +08:00
2026-08-06 20:15:08 +08:00
2026-08-31 03:37:44 +08:00
2026-09-24 18:22:44 +08:00
2026-07-16 20:59:36 +08:00
2026-08-15 23:55:57 +08:00
2026-08-17 18:42:54 +08:00
2026-09-03 16:33:46 +08:00
2026-08-15 21:52:02 +08:00
2026-08-26 20:21:49 +08:00
2026-09-24 18:22:44 +08:00
2026-09-26 07:23:50 +08:00
2026-09-24 22:02:26 +08:00
2026-09-26 07:23:50 +08:00
2026-09-22 12:57:04 +08:00
2026-09-02 04:29:01 +00:00
2026-09-22 12:14:50 +08:00
2026-08-17 18:42:54 +08:00
2026-09-06 18:29:51 +08:00
2026-09-06 15:16:18 +08:00
2026-08-07 20:03:20 +08:00
2026-09-18 00:39:13 +00:00
2026-07-18 18:40:23 +08:00
2026-09-26 06:58:41 +08:00
2026-08-07 18:24:16 +08:00
2026-09-24 18:22:44 +08:00
2026-09-26 06:58:41 +08:00
2026-08-31 09:59:53 +08:00
2026-08-31 04:08:20 +08:00
2026-09-04 21:33:27 +08:00
2026-08-06 12:43:10 +08:00
2026-09-23 10:42:17 +08:00
2026-08-09 00:54:55 +08:00
2026-09-07 14:19:21 +08:00
2026-09-23 10:42:17 +08:00
2026-09-04 20:10:52 +08:00
2026-08-15 05:10:37 +08:00
2026-08-30 22:59:17 +08:00
2026-09-05 11:10:44 +08:00
2026-09-21 02:55:00 +08:00
2026-09-24 20:43:35 +08:00
2026-09-23 10:42:17 +08:00
2026-09-24 12:33:09 +08:00
2026-09-25 02:21:46 +08:00
2026-09-24 12:33:09 +08:00
2026-09-23 10:42:17 +08:00
2026-09-23 10:42:17 +08:00
2026-09-24 12:33:09 +08:00
2026-09-23 10:42:17 +08:00
2026-09-23 10:42:17 +08:00
2026-09-23 10:42:17 +08:00
2026-08-30 22:59:17 +08:00
2026-08-15 05:10:37 +08:00
2026-08-06 12:43:10 +08:00
2026-09-25 20:41:16 +08:00
2026-09-25 20:41:16 +08:00
2026-09-25 20:41:16 +08:00
2026-09-06 21:46:16 +08:00
2026-09-18 00:39:13 +00:00
2026-08-15 23:28:49 +08:00
2026-08-31 10:00:03 +08:00
2026-08-15 06:04:23 +08:00
2026-08-15 06:04:23 +08:00
2026-08-06 20:15:08 +08:00
2026-09-06 13:08:43 +08:00
2026-09-23 15:26:25 +08:00
2026-09-16 07:06:57 +08:00
2026-08-15 17:50:51 +08:00
2026-09-14 23:20:15 +08:00
2026-09-21 02:55:00 +08:00
2026-09-18 19:16:00 +08:00
2026-08-12 21:21:26 +08:00
2026-07-25 11:50:41 +08:00
2026-09-16 07:06:57 +08:00
2026-09-22 12:57:04 +08:00
2026-09-15 14:48:03 +08:00
2026-09-14 18:23:54 +08:00
2026-09-20 18:03:38 +08:00
2026-09-04 12:46:10 +08:00
2026-09-16 18:35:27 +08:00
2026-09-07 10:03:28 +08:00
2026-08-07 18:24:16 +08:00
2026-09-21 02:55:00 +08:00
2026-09-24 18:27:14 +08:00
2026-09-25 01:43:59 +08:00
2026-09-09 18:44:14 +08:00
2026-09-23 10:42:17 +08:00
2026-09-24 12:33:09 +08:00
2026-09-24 12:33:09 +08:00
2026-09-23 15:26:25 +08:00
2026-09-23 15:26:25 +08:00
2026-09-23 15:26:25 +08:00
2026-09-23 15:26:25 +08:00
2026-09-25 20:41:16 +08:00
2026-09-25 20:41:16 +08:00
2026-09-03 23:57:27 +08:00
2026-09-15 16:40:56 +08:00
2026-09-07 11:08:00 +08:00
2026-09-25 20:41:16 +08:00
2026-09-22 12:13:17 +08:00
2026-09-21 02:55:00 +08:00
2026-09-16 07:38:36 +08:00
2026-09-21 18:49:40 +08:00
2026-09-06 14:34:30 +08:00
2026-09-25 23:02:17 +08:00
2026-09-21 18:49:40 +08:00
2026-09-06 14:34:30 +08:00
2026-08-06 20:15:08 +08:00
2026-09-17 21:27:40 +08:00
2026-09-21 18:49:40 +08:00
2026-09-06 14:34:30 +08:00
2026-09-06 19:22:43 +08:00
2026-09-25 01:56:57 +08:00
2026-09-25 04:19:05 +08:00
2026-09-16 11:23:11 +00:00
2026-08-19 10:25:55 +08:00
2026-08-21 10:29:43 +08:00
2026-09-17 15:54:20 +00:00
2026-09-18 18:45:19 +08:00
2026-09-02 04:29:01 +00:00
2026-09-20 12:58:34 +08:00
2026-08-11 16:22:02 +08:00
2026-09-25 20:41:16 +08:00
2026-09-25 23:02:17 +08:00
2026-08-29 12:12:06 +00:00
2026-09-18 14:08:45 +08:00
2026-09-18 14:08:45 +08:00
2026-07-22 00:07:42 +08:00
2026-07-16 20:59:36 +08:00
2026-09-17 13:13:39 +08:00