Skip to content

Revert "Simplify VirtualRow to Willowbrook demo + rownative route import (#170)"#178

Merged
MaximumTrainer merged 1 commit into
mainfrom
copilot/replace-main-with-commit-4730ff3
Jul 5, 2026
Merged

Revert "Simplify VirtualRow to Willowbrook demo + rownative route import (#170)"#178
MaximumTrainer merged 1 commit into
mainfrom
copilot/replace-main-with-commit-4730ff3

Conversation

Copilot AI commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Resets main to the state of commit 4730ff3 by reverting c018332, which had diverged from the intended baseline.

Changes

  • App.tsx — restores route filtering, multi-route selection UI, and GeoJSON/GPX/KML import handler from 4730ff3
  • RownativeRouteImport.tsx — reverts component to prior implementation
  • routeService.ts — restores previous route-fetching logic
  • seedRouteCoordinates.ts — reverts seed data to 4730ff3 state
  • DEVELOPMENT.md / README.md / docs/index.html — revert documentation to match 4730ff3

git diff 4730ff3 HEAD is empty after this revert.

Copilot AI changed the title Revert to commit 4730ff3 Revert "Simplify VirtualRow to Willowbrook demo + rownative route import (#170)" Jul 5, 2026
Copilot AI requested a review from MaximumTrainer July 5, 2026 11:45
@MaximumTrainer MaximumTrainer marked this pull request as ready for review July 5, 2026 11:47
Copilot AI review requested due to automatic review settings July 5, 2026 11:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reverts prior “Willowbrook demo only” simplifications to restore a broader VirtualRow baseline, reintroducing multi-route UI behaviors, route import flows, and updating docs/tests to match the reverted app state.

Changes:

  • Restores richer route selection/filtering and adds a History view with FIT payload export from the UI.
  • Reverts/expands route import and parsing behavior across RouteService and route import UI.
  • Updates unit tests and documentation/landing copy to align with the reverted baseline.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
src/App.tsx Restores/extends route UI (filters/import panel) and adds History view + FIT export action.
src/components/RownativeRouteImport.tsx Reverts the rownative linking/pull UI flow.
src/services/routeService.ts Restores previous route initialization and import/parsing helpers.
src/data/seedRouteCoordinates.ts Reverts seed route data comments/structure to baseline.
src/tests/routeService.test.ts Updates assertions for the default Willowbrook route shape/content.
src/tests/app.test.tsx Updates App rendering/guest-mode expectations after UI revert.
README.md Reverts product framing and updates structure/testing documentation.
DEVELOPMENT.md Reverts architecture/project-structure documentation to baseline (currently inconsistent with repo).
docs/index.html Reverts landing page copy/feature content to baseline messaging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/App.tsx
Comment on lines +744 to +748
<input
type="file"
accept=".geojson,.json,.gpx,.kml"
onChange={handleGeoJSONFileImport}
/>
Comment thread DEVELOPMENT.md
Comment on lines 17 to +21
bluetoothService (PM5 Communication)
heartRateBluetoothService (HR Monitor)
routeService (Route Management)
workoutService (Workout Tracking)
rownativeService (Route Discovery / Import)
workoutGeneratorService (Structured Workouts)
Comment thread DEVELOPMENT.md
Comment on lines 49 to +53
HeartRateChart.tsx # HR visualization
HeartRateZonesChart.tsx # HR zones display
PM5Simulator.tsx # PM5 hardware simulator
RownativeRouteImport.tsx # rownative.icu search/import UI
WorkoutGenerator.tsx # Structured workout UI
WorkoutProgressDisplay.tsx
Comment thread DEVELOPMENT.md
Comment on lines 63 to +67
heartRateBluetoothService.ts # HR monitor service
pm5SimulatorService.ts # PM5 simulation
routeService.ts # Demo route data + imported routes
rownativeService.ts # rownative.icu course catalogue
routeService.ts # Route data management
workoutService.ts # Workout session tracking
workoutGeneratorService.ts # Structured workouts
Comment thread DEVELOPMENT.md
Comment on lines +91 to +95
- `currentView`: `'routes' | 'workouts' | 'workout' | 'history'`
- `sessionState`: `'idle' | 'active' | 'paused'`
- `selectedRoute`, `currentSession` — active session data
- `selectedRoute`, `selectedWorkout`, `currentSession` — active session data
- `pm5Data`, `heartRateSamples` — live device streams
- `workoutHistory` — persisted sessions used for local personal-best tracking
- `workoutHistory`, `workoutProgress` — persistence + workout tracking
Comment thread README.md
Comment on lines 72 to 76
BluetoothDevice.tsx # PM5 connection UI
HeartRateMonitor.tsx # HR monitor connection
PM5Simulator.tsx # PM5 hardware simulator
RownativeRouteImport.tsx # rownative.icu route search + import UI
MiniMetrics.tsx # Compact metrics overlay
PerformanceChart.tsx # Post-session performance graphs
Comment thread README.md
Comment on lines 84 to +88
bluetoothService.ts # PM5 BLE communication
heartRateBluetoothService.ts # HR monitor BLE service
pm5SimulatorService.ts # PM5 simulation
routeService.ts # Demo route data + rownative route import
workoutService.ts # Session tracking + localStorage persistence
rownativeService.ts # rownative.icu catalogue + import
routeService.ts # Route data + rownative route import
workoutService.ts # Session tracking
Comment thread README.md
Comment on lines 112 to 116
# Run unit tests (Vitest)
npm run test -- --run
npm test

# Run unit tests in watch mode
npm test -- --watch
});

it('shows guest mode without workout or history navigation (?guest=true)', () => {
it('shows route-only navigation in guest mode (?guest=true)', () => {
@MaximumTrainer MaximumTrainer merged commit 8861aaf into main Jul 5, 2026
6 checks passed
@MaximumTrainer MaximumTrainer deleted the copilot/replace-main-with-commit-4730ff3 branch July 5, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants