Commit Graph

24 Commits

Author SHA1 Message Date
3c97c47f7e feat: add track selection and display functionality in the app 2025-10-11 22:10:53 +02:00
c35049cd54 fix: formatting (black)
Some checks failed
Backend CI / lint-and-test (push) Failing after 1m54s
2025-10-11 21:58:32 +02:00
f9086d2d04 feat: initialize database with demo data on first run and update README
Some checks failed
Backend CI / lint-and-test (push) Failing after 1m33s
Frontend CI / lint-and-build (push) Successful in 17s
2025-10-11 21:52:30 +02:00
25ca7ab196 Add OSM Track Harvesting Policy and demo database initialization script
- Updated documentation to include OSM Track Harvesting Policy with details on railway types, service filters, usage filters, and geometry guardrails.
- Introduced a new script `init_demo_db.py` to automate the database setup process, including environment checks, running migrations, and loading OSM fixtures for demo data.
2025-10-11 21:37:25 +02:00
0b84ee953e fix: correct grammar and formatting in README 2025-10-11 21:37:01 +02:00
8877380f21 fix: revert README structure 2025-10-11 21:07:27 +02:00
4393f17c45 refactor: simplify stage plan return type and enhance test coverage for OSM refresh 2025-10-11 20:37:25 +02:00
e10b2ee71c docs: fix formatting 2025-10-11 20:23:08 +02:00
1c8adb36fe feat: Add OSM refresh script and update loading scripts for improved database handling 2025-10-11 20:21:14 +02:00
c2927f2f60 feat: Enhance track model and import functionality
- Added new fields to TrackModel: status, is_bidirectional, and coordinates.
- Updated network service to handle new track attributes and geometry extraction.
- Introduced CLI scripts for importing and loading tracks from OpenStreetMap.
- Implemented normalization of track elements to ensure valid geometries.
- Enhanced tests for track model, network service, and import/load scripts.
- Updated frontend to accommodate new track attributes and improve route computation.
- Documented OSM ingestion process in architecture and runtime views.
2025-10-11 19:54:10 +02:00
090dca29c2 feat: add route selection functionality and improve station handling
- Added `vitest` for testing and created initial tests for route utilities.
- Implemented route selection logic in the App component, allowing users to select start and end stations.
- Updated the NetworkMap component to reflect focused and selected stations, including visual indicators for start and end stations.
- Enhanced the route panel UI to display selected route information and estimated lengths.
- Introduced utility functions for building track adjacency and computing routes based on selected stations.
- Improved styling for route selection and station list items to enhance user experience.
2025-10-11 19:28:35 +02:00
92d19235d8 Implement code changes to enhance functionality and improve performance
All checks were successful
Frontend CI / lint-and-build (push) Successful in 16s
2025-10-11 19:07:12 +02:00
a488a385ad docs: expand deployment view with infrastructure overview and CI/CD details 2025-10-11 18:58:05 +02:00
7b24ab511a fix: remove unnecessary entries from .gitignore 2025-10-11 18:53:12 +02:00
615b63ba76 Add unit tests for station service and enhance documentation
Some checks failed
Backend CI / lint-and-test (push) Failing after 37s
- Introduced unit tests for the station service, covering creation, updating, and archiving of stations.
- Added detailed building block view documentation outlining the architecture of the Rail Game system.
- Created runtime view documentation illustrating key user interactions and system behavior.
- Developed concepts documentation detailing domain models, architectural patterns, and security considerations.
- Updated architecture documentation to reference new detailed sections for building block and runtime views.
2025-10-11 18:52:25 +02:00
2b9877a9d3 feat: add GitHub Actions workflow for frontend formatting and linting
All checks were successful
Backend CI / lint-and-test (push) Successful in 1m56s
2025-10-11 17:42:20 +02:00
834150518a refactor: improve code formatting and organization across multiple files 2025-10-11 17:40:56 +02:00
47bbd7ab0c feat: add GitHub Actions workflow for backend formatting and testing 2025-10-11 17:40:33 +02:00
0733cfa14a feat: add Playwright output directories to .gitignore 2025-10-11 17:40:27 +02:00
779299ca63 feat: update TODO list with new tasks for station import, track management, and testing enhancements
Some checks failed
Backend CI / lint-and-test (push) Failing after 36s
Frontend CI / lint-and-build (push) Successful in 15s
2025-10-11 17:29:15 +02:00
965de3a0f2 feat: add Dockerfile for backend and frontend services with necessary configurations 2025-10-11 17:25:51 +02:00
1099a738a3 feat: add Playwright configuration and initial e2e test for authentication
- Created Playwright configuration file to set up testing environment.
- Added a new e2e test for user authentication in login.spec.ts.
- Updated tsconfig.node.json to include playwright.config.ts.
- Enhanced vite.config.ts to include API proxying for backend integration.
- Added a placeholder for last run test results in .last-run.json.
2025-10-11 17:25:38 +02:00
0c405ee6ca feat: Add TODO section to .gitignore for project-specific tracking 2025-10-11 17:23:18 +02:00
fc1e874309 feat: Initialize frontend and backend structure with essential configurations
Some checks failed
Backend CI / lint-and-test (push) Failing after 2m15s
Frontend CI / lint-and-build (push) Successful in 1m1s
- Added TypeScript build info for frontend.
- Created Vite configuration for React application.
- Implemented pre-commit hook to run checks before commits.
- Set up PostgreSQL Dockerfile with PostGIS support and initialization scripts.
- Added database creation script for PostgreSQL with necessary extensions.
- Established Python project configuration with dependencies and development tools.
- Developed pre-commit script to enforce code quality checks for backend and frontend.
- Created PowerShell script to set up Git hooks path.
2025-10-11 15:25:32 +02:00