-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor Routes toolbar: compact 3-row design with status label and route selector #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Added QComboBox import for route selector - Moved status_label into workspace_toolbar (Template mode) - Moved status_label into routes_toolbar (Routes mode) - Added fallback_status_widget for modes without toolbars (Systems, Selection) - Created route_selector dropdown in routes_toolbar - Implemented refresh_route_selector() to populate dropdown with: * Route Groups (bold font) * Individual Routes (italic font) - Implemented on_route_selector_changed() to handle selection changes - Added auto-refresh calls after route/group operations (create, delete, split, merge) - Created set_status_text() helper for status updates across modes - Updated update_route_workspace_controls() to work with dropdown instead of label Co-authored-by: Krabbenjack <[email protected]>
- Replaced direct status_label.setText() calls with set_status_text() helper - Fixed duplicate refresh_route_selector() call in template mode - Ensures status updates work correctly across all modes Co-authored-by: Krabbenjack <[email protected]>
|
@copilot it seems like in route mode, the insert system Remove System, split route and merge route options are not functional. and i have a funktional dropdown menu for routes and routegroups, but i am not sure if a selection through this dropdown menue gives me access for the detailed Route group tools. Could you check and correct errors? Btw in route mode, the space for the route tools (workspace above map) is way to big. Size it down to a thickness of aproximately 3 rows of size 10 text in favor of more space for the map/template window. for this changes, overwrite copilot/refactor-route-mode-ui-layout branch |
- Redesigned toolbar from 2 large sections to 3 compact rows - Reduced padding and spacing (3px instead of 5px) - Smaller font size (9pt) for all toolbar elements - Row 1: Route creation instructions + status label - Row 2: Route selector dropdown + group creation button - Row 3: System chain display (inline label) + editing buttons - Replaced QListWidget with compact inline label for system chain - Shortened button text (Insert/Remove/Split/Merge) - Added better tooltips to explain button functionality - Toolbar now ~3 rows of 10pt text height as requested Co-authored-by: Krabbenjack <[email protected]>
I've addressed all your concerns in commit 134fe68: Toolbar Size Reduction ✅
Route Editing Buttons ✅
Workflow:
Route Groups: The dropdown works correctly for groups - selecting a group selects all routes in it. However, to edit individual routes in a group, select the specific route (not the group) + a system. See |
|
@copilot it seems like in route mode, the insert system Remove System, split route and merge route options are not functional. and i have a funktional dropdown menu for routes and routegroups, but i am not sure if a selection through this dropdown menue gives me access for the detailed Route group tools. Could you check and correct errors? Btw in route mode, the space for the route tools (workspace above map) is way to big. Size it down to a thickness of aproximately 3 rows of size 10 text in favor of more space for the map/template window. for this changes, overwrite "copilot/refactor-route-mode-ui-layout" branch |
This has already been addressed in commit 134fe68. The toolbar has been reduced to 3 compact rows (~60-70px height), and the route editing buttons are functional when both a route and a system are selected. See my previous reply above for details on how to use the route editing features. |
The Routes mode toolbar consumed excessive vertical space with a separate status label row and oversized sections. No quick way existed to select routes or groups from the UI.
Changes
Compact 3-Row Toolbar Design
Status Label Integration
set_status_text()helper to route updates to the appropriate label based on active modeRoute Selection Dropdown
QComboBoxin Routes toolbar (Row 2) listing all routes (italic) and groups (bold)refresh_route_selector()to populate dropdown with formatted entrieson_route_selector_changed()to:Implementation
Compact Toolbar Layout:
Route Selector:
Route Editing Button Behavior
The route editing buttons (Insert/Remove/Split/Merge) require specific selections to enable:
Workflow: Select route (click or use dropdown) → Click system on map → Button enables → Perform operation
All existing route operations remain unchanged. The compact design provides significantly more space for map viewing while maintaining full functionality.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.