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
- Session ordering is now enforced at the detector layer (`detect_sessions`), so both REST (`GET /api/sessions`) and WebSocket (`/ws/metrics`) paths inherit the same newest-first behavior.
20
+
- Session ID reindexing after reversal keeps timeline labels deterministic (`session_0` == newest session).
21
+
22
+
### Tests
23
+
- Verified by updated unit tests in `tests/unit/webui/test_sessions.py` and `tests/unit/webui/test_server.py`.
Copy file name to clipboardExpand all lines: SPECS/Workplan.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2080,7 +2080,7 @@ Phase 9 Follow-up Backlog
2080
2080
2081
2081
---
2082
2082
2083
-
#### ⬜️ FU-P11-T2-3: Reorder sessions from the last to the first
2083
+
#### ✅ FU-P11-T2-3: Reorder sessions from the last to the first
2084
2084
-**Description:** Fix session ordering so the Session Timeline shows the most recent session first (newest-to-oldest). Current behavior shows the oldest session first, which makes fresh activity harder to find.
2085
2085
-**Priority:** P2
2086
2086
-**Dependencies:** P11-T2
@@ -2097,6 +2097,23 @@ Phase 9 Follow-up Backlog
2097
2097
2098
2098
---
2099
2099
2100
+
#### ⬜️ FU-P11-T2-4: Add one-command Web UI restart workflow
2101
+
-**Description:** Add a simple restart workflow for developers and users that reliably frees the configured Web UI port and starts a fresh dashboard process after updates.
2102
+
-**Priority:** P2
2103
+
-**Dependencies:** P11-T2
2104
+
-**Parallelizable:** yes
2105
+
-**Outputs/Artifacts:**
2106
+
- Updated `src/mcpbridge_wrapper/__main__.py` and/or helper script — support restart semantics (`stop stale listener on port`, then `start`)
2107
+
- Updated `Makefile` — add a `webui-restart` target
2108
+
- Updated `docs/troubleshooting.md` and `Sources/XcodeMCPWrapper/Documentation.docc/Troubleshooting.md` — document one-step restart command
2109
+
-**Acceptance Criteria:**
2110
+
-[ ] A single documented command restarts Web UI on a chosen port without manual PID hunting
2111
+
-[ ] Restart flow attempts graceful stop first, then force-kill only if needed
2112
+
-[ ] Works for both local/dev install and uvx usage
2113
+
-[ ] Tests cover restart behavior and port-occupied edge case(s) where practical
-**Description:** Implement CSS-variable-based theme system with a toggle button in the header. Refactor all hardcoded colors in `dashboard.css` to CSS custom properties on `:root`. Add `[data-theme="light"]` overrides. Store user preference in `localStorage`. Update Chart.js color defaults on theme toggle.
0 commit comments