Commit Graph

188 Commits

Author SHA1 Message Date
Davide Scaini fa08988471 updated changelog 2026-03-30 11:43:13 +02:00
Davide Scaini 77e7b1dbec data ingestion plan 2026-03-30 11:43:01 +02:00
Davide Scaini a6a81f9421 personal records tab into athlete page 2026-03-30 10:53:51 +02:00
Davide Scaini 2cc53dece4 edit athlete data 2026-03-30 10:39:40 +02:00
Davide Scaini 52e4ca8f3a fix athlete page (power curve calculation) 2026-03-30 10:18:07 +02:00
Davide Scaini b78f921a3d fix heatmap in stats for bright theme 2026-03-30 09:22:23 +02:00
Davide Scaini ec6175b143 athlete page first draft 2026-03-30 09:05:18 +02:00
Davide Scaini 2a1493a3e5 bright/dark themes 2026-03-30 09:04:57 +02:00
Davide Scaini 1c49d3a769 zone alignment 2026-03-29 22:31:03 +02:00
Davide Scaini 9bd065f354 fixed some warnings 2026-03-29 22:17:01 +02:00
Davide Scaini 4537273de9 get default hr and power zones from config file 2026-03-29 22:06:22 +02:00
Davide Scaini 3fcc8bc089 added power 2026-03-29 21:55:35 +02:00
Davide Scaini 018958f0e9 histograms with ranges 2026-03-29 21:53:00 +02:00
Davide Scaini 631eaf2db0 improve example config 2026-03-29 21:32:21 +02:00
Davide Scaini b76791e197 improving stats page tooltips (click day keeps tooltip open) 2026-03-29 21:23:06 +02:00
Davide Scaini 7c281a48d7 fix: edit extras install command and render symlink parent dir 2026-03-29 16:52:58 +02:00
Davide Scaini d2149bf77a docs: fix install instructions to use git clone + uv sync
bincio is not published to PyPI. All CLI invocations use `uv run bincio`.
2026-03-29 16:26:13 +02:00
Davide Scaini f73b4c84e5 fix publish.sh: collect file list before orphan branch switch 2026-03-29 16:12:09 +02:00
Davide Scaini dfaa8fdf6e fix publish.sh: add only manifest files, not all untracked 2026-03-29 16:09:43 +02:00
Davide Scaini 89d44beb92 fix publish.sh: ignore untracked files in dirty-check 2026-03-29 16:08:20 +02:00
Davide Scaini 6fa7e2bea3 add publish infrastructure and update docs for public release
- publish/manifest: explicit file allowlist for public repo
- publish/CLAUDE.md: sanitized version (no personal data paths)
- publish/extract_config.example.yaml: generic paths and owner
- publish.sh: orphan-branch publish script (single squashed commit)
- site/.env.example: documents BINCIO_DATA_DIR and PUBLIC_EDIT_URL
- README.md: updated pipeline diagram, quick start, project layout
- CHEATSHEET.md: added bincio render and bincio edit sections,
  sidecar format reference, updated daily workflow
2026-03-29 16:07:06 +02:00
Davide Scaini 547105550b Merge branch 'dev/edit' 2026-03-29 15:57:02 +02:00
Davide Scaini a9839e8242 gallery of photos in the activity page 2026-03-29 15:51:39 +02:00
Davide Scaini b0ab7fbe3f integrate edit button into astro site 2026-03-29 15:39:11 +02:00
Davide Scaini 1d3848f85e feat: activity sidecar edits via bincio edit --serve
- bincio/render/merge.py: parse sidecar .md files (YAML frontmatter +
     markdown body), produce data/_merged/ with symlinks for unmodified
     activities and real merged files for overridden ones; filters private
     activities from index.json; sorts highlighted activities first.
     Keeps extracted data pristine — re-running extract never clobbers edits.

   - bincio/edit/: FastAPI edit server (port 4041) with embedded HTML/JS
     edit UI; GET/POST /api/activity/{id} reads/writes sidecars; multipart
     image upload to edits/images/{id}/; DELETE for image cleanup.

   - bincio render now calls merge_all() before build/serve and symlinks
     public/data → data/_merged/ instead of data/ directly.

   - ActivityDetail.svelte: edit button (links to edit server) when
     PUBLIC_EDIT_URL env var is set; respects custom.hide_stats to suppress
     stat panels; description supports whitespace-preserving rendering.

   - 15 unit tests covering parse_sidecar, apply_sidecar, and merge_all.
2026-03-29 15:06:55 +02:00
Davide Scaini 2857b56862 adding a cheatsheet 2026-03-29 15:03:16 +02:00
Davide Scaini 4899e51ed1 update readme 2026-03-29 13:52:23 +02:00
Davide Scaini d9ddae57ba use percentile instead of linear scale from max 2026-03-29 11:26:58 +02:00
Davide Scaini 5647e52865 add overing in stats page 2026-03-29 11:20:48 +02:00
Davide Scaini 7327861c4a thinking about edits... 2026-03-29 11:12:02 +02:00
Davide Scaini eadfb1a0fa fix heatmap months legend 2026-03-29 11:11:54 +02:00
Davide Scaini ee98704562 added filtering to the stats page 2026-03-29 11:01:08 +02:00
Davide Scaini e71e8783ab added skiing 2026-03-29 10:51:26 +02:00
Davide Scaini fa4e91b645 fix distance calculation 2026-03-29 10:50:31 +02:00
Davide Scaini 643d092acd fix activities' types 2026-03-29 10:37:08 +02:00
Davide Scaini 3441079913 map now working 2026-03-28 19:34:22 +01:00
Davide Scaini 5d58126d2f parallelizing extraction, fix tcx files 2026-03-28 14:30:53 +01:00
Davide Scaini 38c5423aeb backend: initial commit 2026-03-28 13:59:36 +01:00