Skip to content

feat(dives)!: the profile chart on a millisecond axis, readouts and salinity per recording, and the widened agency list - #286

Merged
aleskiontherun merged 2 commits into
mainfrom
claude/web-1-before-the-tag
Sep 25, 2026
Merged

aleskiontherun merged 2 commits into
mainfrom
claude/web-1-before-the-tag

Conversation

@aleskiontherun

Copy link
Copy Markdown
Member

The web catches up with the API's DiveJSON changes. The profile chart reads times, duration and event time as milliseconds from the recording's own start, so a Suunto app export's first sample draws at the sub-second offset it states; every gap, tolerance and tick helper in lib/dive-profile.ts works in that unit, and seconds appear only where a person reads them (formatElapsed, formatElapsedSpoken), while ndl/tts values stay seconds. CNS, OTU and surface pressure leave Dive for Recording along with the new salinity setting: the exposure card shows the primary recording's readouts, the recordings card shows each recording's with its salinity (Fresh, EN13319, Salt), and WATER_TYPES drops en13319, so a parsed file no longer fills the dive's water type. The certification agency list gains the format's twenty new agencies, the eight notes caps become one 100,000-character notesField(), and read_as_written joins the import note codes as information.

Verified with npm run test:coverage, npm run lint, npx tsc --noEmit --strict, npm run format:check and npm run build, checked against the API's schemas at opendiving-api fb9b033.

🤖 Generated with Claude Code

aleskiontherun and others added 2 commits September 25, 2026 11:20
…alinity per recording, and the widened agency list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…its readouts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added feat New user-visible behaviour breaking Changes an existing contract - listed first in the release notes labels Sep 25, 2026
@aleskiontherun
aleskiontherun merged commit 87c8305 into main Sep 25, 2026
12 checks passed
@aleskiontherun
aleskiontherun deleted the claude/web-1-before-the-tag branch September 25, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Changes an existing contract - listed first in the release notes feat New user-visible behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant