Skip to content

Add ITRS-classification support for cycling routes#168

Open
vharmain wants to merge 10 commits intomasterfrom
feature/itrs-classification
Open

Add ITRS-classification support for cycling routes#168
vharmain wants to merge 10 commits intomasterfrom
feature/itrs-classification

Conversation

@vharmain
Copy link
Copy Markdown
Contributor

@vharmain vharmain commented Oct 5, 2025

See webapp/docs/itrs.md

@vharmain vharmain force-pushed the feature/itrs-classification branch 3 times, most recently from ecb892f to 2b867ef Compare October 7, 2025 18:51
@vharmain vharmain force-pushed the feature/itrs-classification branch from 2b867ef to 65d7765 Compare October 30, 2025 06:54
@vharmain vharmain force-pushed the feature/itrs-classification branch 2 times, most recently from 8de2f7a to 830d6cb Compare November 9, 2025 11:29
@vharmain vharmain force-pushed the feature/itrs-classification branch from 830d6cb to 8eb5428 Compare January 11, 2026 19:32
@vharmain vharmain force-pushed the feature/itrs-classification branch from 8eb5428 to b5ee5ca Compare January 29, 2026 15:37
@vharmain vharmain force-pushed the feature/itrs-classification branch 2 times, most recently from b1f64b9 to 78e0d44 Compare February 7, 2026 18:35
@vharmain vharmain force-pushed the feature/itrs-classification branch from 5ec1b1c to d62a4bf Compare February 14, 2026 19:13
vharmain and others added 9 commits March 7, 2026 09:33
Post-merge fix: this component came from feature/itrs-classification
and still used defui/$, which broke the production build after merging
the UIX removal branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ITRS fields (route-level and segment-level) are now gated by a dedicated
:itrs/edit privilege instead of reusing :activity/edit. This allows ITRS
editing to be controlled independently via the new :itrs-assessor role.
Disabled ITRS fields show a tooltip explaining the required role.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… reload

The namespace contains a macro that reads translations from .edn files.
Without ^:dev/always, shadow-cljs skips reloading it and translation
changes don't take effect until a full recompile.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The single-route branch in the ::routes condp was commented out with
#_#_, so persisted routes with one entry had no :fids. This caused
compute-itrs-technical to match zero features and always return nil.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…assification

- Remove itrs-exposure from segment feature properties and UI
- Add "trail-conditions" LOI category with fall-hazard type carrying
  ITRS exposure (E1-E4)
- Add :itrs-technical-route field to route properties with auto-compute
  button that calculates max technical value from route segments
- Add i18n translations for compute-itrs-technical in fi/en/se

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…der feedback

Rename endurance/wilderness/technical fields, fix "vaikea" → "vaativa" in
technical options, replace E-prefixed exposure labels with consequence-based
texts, and migrate remaining legacy mui/ refs to explicit MUI imports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vharmain vharmain force-pushed the feature/itrs-classification branch from 3a93104 to 999d294 Compare March 7, 2026 08:03
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.

1 participant