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
- Tool Template V2 Status Clear placement and behavior.
5
+
- Preview Generator V2 was used as the reference pattern.
6
+
7
+
Preview Generator V2 pattern reviewed:
8
+
- `tools/preview-generator-v2/index.html`
9
+
- Working Status pattern:
10
+
- `section.accordion-v2`
11
+
- `.accordion-v2__header` contains the `Status` title
12
+
- header action container contains `Clear`
13
+
- accordion icon remains in the same header action row
14
+
- content contains only the status/log output
15
+
16
+
Changes:
17
+
- Applied the same Status header/action pattern to `tools/templates-v2/index.html`.
18
+
- Moved `#clearStatusButton` out of `#statusLogContent` and into the Status `.accordion-v2__header`.
19
+
- Added `tool-starter__status-header-actions` and `tool-starter__status-clear-button` styling to keep Clear on the same visual row as the Status title and accordion icon.
20
+
- Updated `tools/templates-v2/js/controls/StatusLogControl.js` so Clear stops event propagation before clearing the log.
21
+
- Extended workspace Playwright assertions for Tool Template V2 to verify:
22
+
- Clear is physically inside the Status header DOM
23
+
- Clear is not inside the Status content panel
24
+
- Clear aligns on the same header row as the Status title
25
+
- Clear clears the textarea while the accordion is open
26
+
- Clear clears the textarea without toggling while the accordion is collapsed
27
+
- Status still expands and collapses from the normal Status title/header click
28
+
29
+
Playwright impacted: Yes
30
+
- This PR changes Tool Template V2 UI control placement and click behavior.
0 commit comments