Skip to content

Commit 3b2ca68

Browse files
authored
Merge pull request #100 from SoundBlaster/codex/feature-BUG-T18-error-breakdown-full-width-streatched
BUG-T18: Error Breakdown widget must be full width streatched
2 parents fdb53c8 + 9199ea2 commit 3b2ca68

6 files changed

Lines changed: 127 additions & 1 deletion

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# PRD — BUG-T18 Error Breakdown widget must be full width streatched
2+
3+
## Context
4+
The user requested adding a tracked bug item to the workplan for a Web UI layout issue where the Error Breakdown widget should be full-width stretched.
5+
6+
## Objective
7+
Track the issue in `SPECS/Workplan.md` with a complete bug entry that can be selected and implemented in a future execution task.
8+
9+
## Scope
10+
- Add one new bug entry: `BUG-T18`.
11+
- Include type, status, priority, component, description, symptoms, root-cause hypothesis, resolution path, and related items.
12+
13+
## Out of Scope
14+
- Implementing UI code changes.
15+
- Updating tests.
16+
- Closing the bug.
17+
18+
## Deliverables
19+
- Updated `SPECS/Workplan.md` with `BUG-T18` entry.
20+
21+
## Acceptance Criteria
22+
- `BUG-T18` entry exists in `SPECS/Workplan.md`.
23+
- Entry status is open.
24+
- Entry clearly states full-width stretch requirement for Error Breakdown widget.
25+
- Entry includes actionable checklist in Resolution Path.
26+
27+
## Dependencies
28+
- None.
29+
30+
## Risks
31+
- Typo in task wording is preserved intentionally to match user-provided bug title.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Validation Report — BUG-T18
2+
3+
## Task
4+
- **ID:** BUG-T18
5+
- **Name:** Error Breakdown widget must be full width streatched
6+
- **Date:** 2026-02-20
7+
- **Verdict:** PASS
8+
9+
## Scope Executed
10+
- Added a new bug entry in `SPECS/Workplan.md` to track the Error Breakdown full-width requirement.
11+
12+
## Acceptance Criteria Check
13+
- [x] `BUG-T18` entry exists in `SPECS/Workplan.md`
14+
- [x] Entry status is open
15+
- [x] Entry explicitly states full-width stretch requirement
16+
- [x] Entry includes actionable Resolution Path checklist
17+
18+
## Quality Gates
19+
- `PYTHONPATH=src pytest` → PASS (`629 passed, 5 skipped`)
20+
- `ruff check src/` → PASS
21+
- `mypy src/` → PASS
22+
- `PYTHONPATH=src pytest --cov` → PASS (coverage `91.33%`, required `>=90%`)
23+
24+
## Notes
25+
- This task is documentation/workplan tracking only; no runtime code changes were introduced.

SPECS/ARCHIVE/INDEX.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mcpbridge-wrapper Tasks Archive
22

3-
**Last Updated:** 2026-02-20 (BUG-T16_Tool_Distribution_Pie_widget_is_cropped_at_medium_widths)
3+
**Last Updated:** 2026-02-20 (BUG-T18_Error_Breakdown_widget_must_be_full_width_streatched)
44

55
## Archived Tasks
66

@@ -93,6 +93,7 @@
9393
| BUG-T8 | [BUG-T8_Audit_Log_Cross_Process_Visibility/](BUG-T8_Audit_Log_Cross_Process_Visibility/) | 2026-02-15 | PASS |
9494
| BUG-T15 | [BUG-T15_WebUI_Port_Config_Investigation/](BUG-T15_WebUI_Port_Config_Investigation/) | 2026-02-20 | PASS |
9595
| BUG-T16 | [BUG-T16_Tool_Distribution_Pie_widget_is_cropped_at_medium_widths/](BUG-T16_Tool_Distribution_Pie_widget_is_cropped_at_medium_widths/) | 2026-02-20 | PASS |
96+
| BUG-T18 | [BUG-T18_Error_Breakdown_widget_must_be_full_width_streatched/](BUG-T18_Error_Breakdown_widget_must_be_full_width_streatched/) | 2026-02-20 | PASS |
9697
| P11-T2 | [P11-T2_Add_Session_Timeline_View/](P11-T2_Add_Session_Timeline_View/) | 2026-02-15 | PASS |
9798
| P11-T3 | [P11-T3_Add_Dashboard_Theme_Toggle/](P11-T3_Add_Dashboard_Theme_Toggle/) | 2026-02-15 | PASS |
9899
| P11-T4 | [P11-T4_Add_Keyboard_Shortcuts_Command_Palette/](P11-T4_Add_Keyboard_Shortcuts_Command_Palette/) | 2026-02-15 | PASS |
@@ -241,6 +242,7 @@
241242
| [REVIEW_FU-P14-T5-1_macos_ci_socket_path.md](_Historical/REVIEW_FU-P14-T5-1_macos_ci_socket_path.md) | Review report for FU-P14-T5-1 |
242243
| [REVIEW_bug_t15_webui_port_config.md](_Historical/REVIEW_bug_t15_webui_port_config.md) | Review report for BUG-T15 |
243244
| [REVIEW_bug_t16_pie_responsive.md](_Historical/REVIEW_bug_t16_pie_responsive.md) | Review report for BUG-T16 |
245+
| [REVIEW_bug_t18_workplan_entry.md](_Historical/REVIEW_bug_t18_workplan_entry.md) | Review report for BUG-T18 |
244246

245247
## Archive Log
246248

@@ -437,3 +439,5 @@
437439
| 2026-02-20 | BUG-T15 | Archived REVIEW_bug_t15_webui_port_config report |
438440
| 2026-02-20 | BUG-T16 | Archived Tool_Distribution_Pie_widget_is_cropped_at_medium_widths (PASS) |
439441
| 2026-02-20 | BUG-T16 | Archived REVIEW_bug_t16_pie_responsive report |
442+
| 2026-02-20 | BUG-T18 | Archived Error_Breakdown_widget_must_be_full_width_streatched (PASS) |
443+
| 2026-02-20 | BUG-T18 | Archived REVIEW_bug_t18_workplan_entry report |
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## REVIEW REPORT — BUG-T18 Workplan Entry
2+
3+
**Scope:** origin/main..HEAD
4+
**Files:** 4
5+
6+
### Summary Verdict
7+
- [x] Approve
8+
- [ ] Approve with comments
9+
- [ ] Request changes
10+
- [ ] Block
11+
12+
### Critical Issues
13+
- None.
14+
15+
### Secondary Issues
16+
- None.
17+
18+
### Architectural Notes
19+
- The change is documentation-only and correctly keeps implementation work deferred to a future bug-fix task.
20+
21+
### Tests
22+
- Quality gates were executed during EXECUTE:
23+
- `PYTHONPATH=src pytest`
24+
- `ruff check src/`
25+
- `mypy src/`
26+
- `PYTHONPATH=src pytest --cov` (91.33%, meets >=90%)
27+
28+
### Next Steps
29+
- FOLLOW-UP is skipped because no actionable review findings were identified.

SPECS/INPROGRESS/next.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Recently Archived
44

5+
- **BUG-T18** — Error Breakdown widget must be full width streatched (2026-02-20, PASS)
56
- **BUG-T16** — Tool Distribution (Pie) widget is cropped at medium widths (2026-02-20, PASS)
67
- **BUG-T15** — Web UI fails to come up in MCP client runs when `--web-ui-port` and `--web-ui-config` are combined (2026-02-20, PASS)
78

SPECS/Workplan.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,42 @@ Temporarily increase dashboard refresh interval via config to reduce frequency o
15941594

15951595
---
15961596

1597+
### BUG-T18: Error Breakdown widget must be full width streatched
1598+
- **Type:** Bug / Web UI / Layout
1599+
- **Status:** 🔴 Open
1600+
- **Priority:** P2
1601+
- **Discovered:** 2026-02-20
1602+
- **Component:** Web UI Dashboard (`webui/static/index.html`, `webui/static/dashboard.css`)
1603+
- **Affected Clients:** All clients using Web UI dashboard
1604+
- **Affected Surface:** Error Breakdown widget
1605+
1606+
#### Description
1607+
The "Error Breakdown" widget must be displayed as a full-width stretched widget in the dashboard layout.
1608+
1609+
#### Symptoms
1610+
```text
1611+
Error Breakdown appears as a regular half-width card in the chart grid.
1612+
Expected: Error Breakdown spans the full row width.
1613+
```
1614+
1615+
#### Root Cause Analysis
1616+
Likely the widget container is using the default chart card class and is not marked to span all grid columns.
1617+
1618+
#### Workaround
1619+
None.
1620+
1621+
#### Resolution Path
1622+
- [ ] Reproduce on current dashboard layout and confirm non-full-width rendering
1623+
- [ ] Update chart container/layout rules so Error Breakdown spans full width
1624+
- [ ] Validate responsive behavior at desktop/tablet/mobile breakpoints
1625+
- [ ] Add regression coverage for full-width Error Breakdown layout
1626+
1627+
#### Related Items
1628+
- **P10-T1** ✅ — Web UI dashboard chart layout baseline
1629+
- **BUG-T16** ✅ — Another chart layout responsiveness fix
1630+
1631+
---
1632+
15971633
### Phase 10: Web UI Control & Audit Dashboard
15981634

15991635
**Intent:** Create a web-based dashboard for real-time monitoring, control, and audit logging of the XcodeMCPWrapper. Provides visibility into MCP tool usage, performance metrics, and operational control.

0 commit comments

Comments
 (0)