Qiu Yuzhou
619121a36c
fix(route): decouple sidebar selection write-back from route publish
...
The same-value guard only stopped same-value selection re-syncs.
After an external navigation (add menu, rule editor dismissal,
manage-servers/show-runtime actions) the sidebar List still held
its stale cached selection and wrote it back into the custom
selection binding during a view update; the resulting publish
warned and would bounce the navigation back. Route the sidebar
selection through a SwiftUI-managed @State with onChange hops in
both directions (selection -> navigate, route -> backfill), anchor
the seed on WorkspaceRoute.initialDestination, and pin the
alignment with a regression test.
2026-10-03 03:38:07 +08:00
..
2026-10-03 03:11:36 +08:00
2026-09-29 20:16:05 +08:00
2026-10-01 23:29:56 +08:00
2026-09-29 20:16:05 +08:00
2026-10-01 23:29:56 +08:00
2026-09-28 08:09:35 +08:00
2026-09-20 22:41:28 +08:00
2026-09-23 16:47:13 +08:00
2026-10-01 19:03:48 +08:00
2026-10-03 02:44:25 +08:00
2026-09-25 03:18:59 +08:00
2026-09-30 12:26:40 +08:00
2026-10-01 23:29:56 +08:00
2026-09-20 22:26:45 +08:00
2026-09-24 19:32:24 +08:00
2026-09-30 22:23:52 +08:00
2026-10-01 19:03:48 +08:00
2026-10-01 20:19:57 +08:00
2026-10-01 23:29:56 +08:00
2026-10-01 19:03:48 +08:00
2026-09-22 11:39:07 +08:00
2026-09-28 10:54:34 +08:00
2026-09-26 23:32:42 +08:00
2026-09-23 10:51:26 +08:00
2026-09-27 20:58:54 +08:00
2026-09-24 23:07:12 +08:00
2026-10-03 03:11:36 +08:00
2026-10-03 03:38:07 +08:00
2026-09-28 22:03:41 +08:00
2026-10-02 23:50:59 +08:00
2026-10-03 00:09:42 +08:00
2026-10-03 00:09:42 +08:00
2026-09-27 20:58:54 +08:00
2026-10-03 00:09:42 +08:00
2026-10-03 00:09:42 +08:00
2026-10-03 00:09:42 +08:00
2026-10-02 23:50:59 +08:00
2026-10-01 23:29:56 +08:00
2026-10-01 23:29:56 +08:00
2026-10-01 19:18:59 +08:00
2026-09-20 21:37:38 +08:00
2026-10-03 01:06:02 +08:00
2026-10-02 22:37:02 +08:00
2026-10-03 01:06:02 +08:00
2026-10-03 01:06:02 +08:00
2026-10-03 02:34:04 +08:00
2026-10-03 01:06:02 +08:00
2026-10-03 01:06:02 +08:00
2026-10-01 23:29:56 +08:00
2026-09-24 19:32:24 +08:00
2026-09-24 19:32:24 +08:00
2026-09-24 19:32:24 +08:00
2026-09-30 21:50:09 +08:00
2026-09-30 21:34:03 +08:00
2026-09-29 20:16:05 +08:00
2026-09-29 16:06:52 +08:00
2026-10-01 23:29:56 +08:00
2026-09-28 11:45:58 +08:00
2026-09-26 17:13:31 +08:00
2026-10-01 23:29:56 +08:00
2026-09-29 23:39:25 +08:00
2026-09-22 11:39:07 +08:00
2026-10-02 20:38:23 +08:00
2026-10-01 19:03:48 +08:00
2026-10-03 03:38:07 +08:00