You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .kiro/specs/ui-redesign-composer-only-center-input/design.md
+29-11Lines changed: 29 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Overview
4
4
5
-
The home center composer becomes a compact command bar inspired by the provided reference image. It should feel like a lightweight command input floating over the scene, not like a full task card or autopilot dashboard. The right drawer takes over explanatory and contextual content.
5
+
The home center composer remains a compact command bar inspired by the provided reference image, but the surrounding central control area now uses an Ant Design vertical `Splitter`. The upper Splitter panel contains the launch guidance and Support / Logs / Artifacts / Runtime tabs that were previously rendered as a separate bottom panel. The lower Splitter panel contains the compact composer input.
6
6
7
7
## Component Strategy
8
8
@@ -18,27 +18,39 @@ Primary files:
18
18
## Target Visual Structure
19
19
20
20
```text
21
-
rounded translucent composer
22
-
input row
23
-
leading spark/icon
24
-
text input / placeholder
25
-
send icon button
26
-
action row
27
-
add file | cite data | generate report | create task | more
21
+
rounded translucent center control
22
+
Ant Design Splitter vertical
23
+
upper panel
24
+
launch guidance
25
+
Support / Logs / Artifacts / Runtime tabs
26
+
lower panel
27
+
compact composer
28
+
input row
29
+
leading spark/icon
30
+
text input / placeholder
31
+
send icon button
32
+
compact controls
33
+
add files | runtime meta | submit
28
34
```
29
35
30
-
The container should use restrained glass styling already present in the project: translucent white, subtle border, blur, and low visual weight.
36
+
The container should use restrained glass styling already present in the project: translucent white, subtle border, blur, and low visual weight. The Splitter handle should be visible enough to indicate resizing without competing with the composer.
31
37
32
38
## Data and Interaction
33
39
34
-
No launch contract changes are planned.
40
+
No launch contract changes are planned. The composer remains the submit surface, while the lower Support tab derives destination preview and route planning from the current launch draft.
Copy file name to clipboardExpand all lines: .kiro/specs/ui-redesign-composer-only-center-input/requirements.md
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,25 @@
2
2
3
3
## Introduction
4
4
5
-
This follow-up spec covers the home center composer-only input treatment. The user provided a reference image showing a compact rounded composer with a single input row, send button, and action buttons below. The center of the home cockpit should no longer show a large autopilot card. It should keep only the composer surface and let the office scene remain visible.
5
+
This follow-up spec covers the home center command treatment. The user provided a reference image showing a compact rounded composer with a single input row, send button, and action buttons below, then refined the target so the former bottom support/runtime panel moves into the central control area above that input. The center of the home cockpit should use a vertical Ant Design Splitter: support/runtime control above, composer below.
6
6
7
7
This spec is separate from the home shell spec because the composer visual and interaction details need their own focused acceptance criteria.
8
8
9
9
## Requirements
10
10
11
-
### Requirement 1: Center Shows Only the Composer Surface
11
+
### Requirement 1: Center Uses a Control Splitter Above the Composer
12
12
13
-
**User Story:** As a user on the home page, I want the center bottom area to show only the command input composer, so the office scene remains visible and uncluttered.
13
+
**User Story:** As a user on the home page, I want the former bottom support panel to live directly above the command input, so the central control area is unified and the input stays immediately reachable.
14
14
15
15
#### Acceptance Criteria
16
16
17
-
1. WHEN the home cockpit renders THEN the center-bottom surface SHALL show one compact composer.
18
-
2. WHEN the composer renders THEN it SHALL NOT be accompanied by a large autopilot guidance card in the center.
19
-
3. WHEN launch guidance is needed THEN it SHALL be available through the home right drawer `发起` tab.
20
-
4. WHEN runtime support context is expanded THEN it SHALL not permanently occupy the center as a large default panel.
17
+
1. WHEN the home cockpit renders THEN the center-bottom surface SHALL show one vertical Ant Design Splitter.
18
+
2. WHEN the Splitter renders THEN the upper panel SHALL contain the launch guidance and Support / Logs / Artifacts / Runtime tabs that previously lived in the bottom panel.
19
+
3. WHEN the Splitter renders THEN the lower panel SHALL contain exactly one compact `UnifiedLaunchComposer`.
20
+
4. WHEN the control panel renders THEN it SHALL appear above the composer in DOM order and visual order.
21
21
5. THE composer SHALL remain usable with keyboard input and send action.
22
+
6. WHEN a draft destination exists THEN destination preview and route planning SHALL render in the Support tab inside the central control panel instead of inside the composer surface.
23
+
7. THE implementation SHALL NOT render a second standalone bottom copy of the support/runtime panel below the composer.
22
24
23
25
### Requirement 2: Match the Reference Composer Structure
24
26
@@ -28,7 +30,7 @@ This spec is separate from the home shell spec because the composer visual and i
28
30
29
31
1. THE composer surface SHALL use a rounded translucent container with restrained shadow and blur.
30
32
2. THE main input row SHALL include a placeholder-style prompt and a send icon/button on the right.
31
-
3. THE secondary action row SHALL include controls equivalent to add file, cite data, generate report, create new task, and more.
33
+
3. THE secondary controls SHALL keep attachment, runtime, and submit access compactly without duplicating lower console actions.
32
34
4. THE action buttons SHALL stay in one compact row on desktop where width allows.
33
35
5. WHEN text is long or viewport narrows THEN controls SHALL wrap or compact without overlapping.
34
36
@@ -54,7 +56,7 @@ This spec is separate from the home shell spec because the composer visual and i
54
56
1. WHEN clarification is active THEN a clarification surface MAY appear above the composer.
55
57
2. WHEN clarification appears THEN it SHALL be temporary and clearly tied to the current command.
56
58
3. WHEN clarification is not active THEN no clarification panel SHALL occupy center space.
57
-
4. WHEN pending launch exists THEN status MAY be shown compactly in the composer or right drawer.
59
+
4. WHEN pending launch exists THEN status MAY be shown compactly in the composer or lower support tab.
58
60
5. WHEN pending launch resolves THEN focus MAY return to task context without opening a left queue drawer.
59
61
60
62
### Requirement 5: Test and Visual Verification
@@ -66,5 +68,7 @@ This spec is separate from the home shell spec because the composer visual and i
66
68
1. THE implementation SHALL include a test asserting exactly one launch composer is rendered.
67
69
2. THE implementation SHALL include a test asserting the large center autopilot panel visual role is absent by default.
68
70
3. THE implementation SHALL include a test or smoke assertion for the composer action controls.
69
-
4. THE implementation SHALL include desktop screenshot review after code changes.
70
-
5. THE progress SVG SHALL be updated after this spec is implemented.
71
+
4. THE implementation SHALL include a test asserting destination preview and route planning are not rendered inside the composer surface.
72
+
5. THE implementation SHALL include a test asserting destination preview and route planning render in the lower Support tab when a draft destination exists.
73
+
6. THE implementation SHALL include desktop screenshot review after code changes.
74
+
7. THE progress SVG SHALL be updated after this spec is implemented.
-[x] 4.5 Move destination preview and route planning from the composer surface into the lower Support tab without changing the launch submission path.
28
31
29
-
-[ ]5. Verify composer-only center
30
-
-[x] 5.1 Run `npx vitest run --pool=forks --poolOptions.forks.singleFork client/src/components/office/OfficeTaskCockpit.test.tsx client/src/components/launch/__tests__/LaunchPanelShell.test.tsx client/src/components/launch/__tests__/LaunchPanelIntegration.test.tsx`.
31
-
-[ ] 5.2 Manually inspect home desktop and confirm the center shows only the compact composer over the scene.
32
-
-[ ] 5.3 Update the UI progress SVG after implementation.
32
+
-[x]5. Move the support/runtime panel into the central Splitter
33
+
-[x] 5.1 Add an `OfficeTaskCockpit.test.tsx` assertion that the central control Splitter exists.
34
+
-[x] 5.2 Assert the control panel renders above the composer panel in markup order.
35
+
-[x] 5.3 Import and use Ant Design `Splitter` for the center control area.
36
+
-[x] 5.4 Move launch guidance and Support / Logs / Artifacts / Runtime tabs into the upper Splitter panel.
37
+
-[x] 5.5 Keep the compact `UnifiedLaunchComposer` in the lower Splitter panel.
38
+
-[x] 5.6 Remove the separate standalone bottom support/runtime panel below the composer.
39
+
40
+
-[ ]6. Verify composer-centered control area
41
+
-[x] 6.1 Run `npx vitest run --pool=forks --poolOptions.forks.singleFork client/src/components/office/OfficeTaskCockpit.test.tsx client/src/components/launch/__tests__/LaunchPanelShell.test.tsx client/src/components/launch/__tests__/LaunchPanelIntegration.test.tsx`.
42
+
-[x] 6.2 Run `npx vitest run --pool=forks --poolOptions.forks.singleFork client/src/components/launch/__tests__/UnifiedLaunchComposer.test.ts client/src/components/office/OfficeTaskCockpit.test.tsx`.
43
+
-[ ] 6.3 Manually inspect home desktop and confirm the central Splitter shows support/runtime content above the compact composer.
44
+
-[ ] 6.4 Manually inspect a draft destination and confirm the central Support tab shows destination preview and route planning.
45
+
-[x] 6.5 Update the UI progress SVG after implementation.
0 commit comments