feat(gui): add Sessions & Connections section#154
Merged
Conversation
- Add sessions section between Providers and Recent, showing active session IDs, connection count per provider, request count, and last-seen time - Use keyed DOM diffing (sessionRows Map) for efficient real-time updates via existing WebSocket summary messages - Increase window height 800→960px and compact mode 420→560px to accommodate the new section - Show 2 sections in compact mode instead of 1 - Fix compact mode toggle by using numeric max-height for CSS transitions instead of max-height: none - Fix section flex layout by removing flex-shrink: 0 so sections properly distribute available viewport space
Owner
Author
CI Failure — Not related to this PRThe failing test
This test was not modified by this PR. The PR only changes GUI frontend files (HTML/CSS/JS + Tauri config) — no backend or test changes. Rerunning the CI job should pass. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sessionStatsfrom WebSocket summary messages — no new backend endpoints neededsessionRowsMap) for efficient real-time updatesChanges
#sessions-sectionbetween Providers and Recent RequestsrenderSessions()with keyed DOM diffing, DOM refs, section orderingflex-shrink: 0removed), fix compact mode transitions (max-height: none→2000px), show 2 sections in compact modeTest plan