@@ -37,6 +37,19 @@ Gateway and integration services should not own product settings pages,
3737admin pages, channel settings pages, install result pages, or test-message
3838forms.
3939
40+ ## Existing Chat UI Boundary
41+
42+ The existing chat view should change as little as possible.
43+
44+ The migration should add only one settings entry point to the existing chat UI,
45+ such as a settings button or link in the current header or navigation area.
46+ That entry point should navigate to the new ` /settings/* ` route group.
47+
48+ The settings experience should be its own React view. It should not redesign
49+ the chat page, add a settings sidebar inside the chat surface, or make Slack
50+ management part of the active chat layout. Chat remains focused on agent
51+ conversation. Settings owns integration management.
52+
4053## Current Server-Rendered Surfaces
4154
4255The current Slack gateway owns these rendered pages:
@@ -174,6 +187,7 @@ Add the shared settings routes and layout in `ui/`.
174187Required work:
175188
176189- Add ` /settings ` route group.
190+ - Add one minimal settings button or link to the existing chat view.
177191- Add a settings sidebar with integration navigation.
178192- Add Slack integration landing and workspace list pages.
179193- Add API client helpers under ` ui/src/lib ` .
@@ -182,6 +196,7 @@ Required work:
182196
183197Exit criteria:
184198
199+ - The chat view has no layout redesign beyond the settings entry point.
185200- React can show the Slack workspace list using JSON endpoints.
186201- The page uses the shared Spritz UI components and design tokens.
187202- ` pnpm build ` , ` pnpm typecheck ` , and UI tests pass.
@@ -243,6 +258,7 @@ Exit criteria:
243258
244259- All user-facing Slack management UI is implemented in ` ui/ ` .
245260- Slack gateway no longer owns product settings pages.
261+ - Existing chat UI changes are limited to a settings entry point.
246262- React pages share a settings sidebar and common layout.
247263- Browser auth behavior stays the same or becomes stricter.
248264- Existing OAuth, event, and routing behavior remains unchanged.
@@ -255,6 +271,7 @@ Exit criteria:
255271- Rewriting Slack event handling.
256272- Moving Slack OAuth code into React.
257273- Making React handle Slack signed events.
274+ - Redesigning the existing chat UI.
258275- Changing the provider-agnostic channel installation data model.
259276- Changing how deployment backends assign opaque installation IDs.
260277- Removing gateway JSON endpoints before a stable backend product API exists.
0 commit comments