Skip to content

Show historical lo locations only up to the current lo's timestamp#13

Merged
phulin merged 1 commit into
phulin:mainfrom
jhurwitz:lo-history-tweaks
May 15, 2026
Merged

Show historical lo locations only up to the current lo's timestamp#13
phulin merged 1 commit into
phulin:mainfrom
jhurwitz:lo-history-tweaks

Conversation

@jhurwitz
Copy link
Copy Markdown
Contributor

Summary

  • Adds a before query param to /api/lo/history so each map only shows locations at or before the timestamp of that lo row
  • Intensity is renormalized after filtering so the current lo is always intensity=1 (orange/most recent)
  • Fixes duplicate history markers being stacked on re-render (_historyAdded flag)
  • Uses a cubic curve (t^3) for color/size interpolation so the few most recent locations are visually distinct among up to 50 points

🤖 Generated with Claude Code

- Adds `before` param to /api/lo/history to filter by timestamp
- Intensity is renormalized so the current lo is always intensity=1 (orange)
- Fixes duplicate history markers being added on re-render
- Uses cubic curve (t^3) for color interpolation to distinguish recent locations

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@phulin phulin merged commit fffc5e0 into phulin:main May 15, 2026
1 check passed
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.

2 participants