Skip to content

Add arrow-key navigation and UI enhancements#30

Merged
R4ULtv merged 7 commits into
mainfrom
preview
May 5, 2026
Merged

Add arrow-key navigation and UI enhancements#30
R4ULtv merged 7 commits into
mainfrom
preview

Conversation

@R4ULtv

@R4ULtv R4ULtv commented May 5, 2026

Copy link
Copy Markdown
Owner

This pull request introduces several user interface improvements, including arrow-key navigation for stations, enforced minimum zoom levels, relocation of import/export controls, and a dynamic status label, while also updating dependencies and documentation.

Overview

The updates aim to enhance usability of the studio application by providing keyboard navigation, ensuring appropriate zoom levels during station selection, consolidating import/export actions, and offering real-time status feedback.

Key Changes

  • Implemented arrow-key navigation for stations in the sidebar.
  • Enforced a minimum zoom level when a station is selected.
  • Moved import/export controls to the header bar for better accessibility.
  • Added a dynamic status label to the StatusBar.
  • Updated project dependencies to the latest patch versions.
  • Ran all development tasks and set the studio server port to 3001.
  • Updated documentation to reflect the new Studio tool setup and development workflow.

Technical Details

  • Navigation handling listens for left/right arrow keys and updates the highlighted station accordingly.
  • Zoom enforcement caps the map view to a predefined minimum to maintain context.
  • Header bar UI refactoring groups import/export actions with other global controls.
  • StatusBar now displays real-time operational states using a new label component.
  • Dependency upgrades were performed via npm, ensuring compatibility with existing code.
  • Development scripts were executed to verify build integrity, and the default port was changed to 3001 in the configuration.
  • Documentation revisions include updated screenshots and step‑by‑step setup instructions.

R4ULtv added 7 commits May 5, 2026 09:31
Add SELECTED_STATION_ZOOM and use it to clamp flyTo zoom to a minimum
of 10 when centering on a station
Introduce a derived stateLabel to reflect Adding, Placing, Editing or
Browse,
and display it in the StatusBar instead of the previous conditional
text.
@R4ULtv R4ULtv added bug Something isn't working enhancement New feature or request labels May 5, 2026
@vercel

vercel Bot commented May 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
rail-radar Skipped Skipped May 5, 2026 11:56am

@R4ULtv R4ULtv merged commit b6953b4 into main May 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant