feat: Add mobile-responsive UI with remote access support #5
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
Adds a fully responsive mobile-friendly interface that adapts to different screen sizes while preserving the existing desktop Kanban board experience.
Motivation
The current UI is desktop-only with a horizontal Kanban board that requires ~1280px minimum width. This makes it unusable on mobile devices and tablets. Additionally, the daemon only bound to localhost, preventing remote access scenarios.
Changes
Mobile View (<1024px)
New Components:
RepoDropdown: Dropdown navigation showing repos with colored status emoji indicatorsStatusFilter: Chip-based filters (All, Working, Approval, Waiting, Idle) with live countsSessionCardCompact: Touch-optimized session cards designed for vertical list viewSessionDetailModal: Full-screen modal for viewing session details (replaces hover cards)Mobile Features:
Desktop View (≥1024px)
Remote Access Support
Problem: The daemon bound to
127.0.0.1and the UI hardcodedhttp://127.0.0.1:4450, making remote access impossible (e.g., SSH tunnels, remote servers).Solution:
0.0.0.0by default (configurable viaHOSTenv var)window.location.hostnameVITE_STREAM_URLenv var for custom configurationsThis enables:
Technical Details
Screenshots
Screenshots to be added
Mobile View:
Desktop View:
Testing
Breaking Changes
None. This is purely additive:
Future Enhancements
Potential follow-ups (not included in this PR):
Checklist
Note: This enhancement was developed to solve the issue of the dashboard being unusable on mobile devices and inaccessible from remote locations. The implementation maintains 100% backward compatibility with the existing desktop experience.