1
0
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
Matthew Holt
daac54cf92
Couple more style fixes 2025-09-23 11:30:48 -06:00
Matthew Holt
16a7d99fda
Actually fix map colors, kind of
The rendering seems inconsistent. If I refresh the page or load the results again, it fixes the color mismatches. I can't explain why they vary like this, other than potential mapbox bugs??
2025-09-20 10:08:42 -06:00
Matthew Holt
e3021dec26
Fix map path coloring 2025-09-20 08:52:27 -06:00
Matthew Holt
dd8c6e05cb Cocoa epoch dates are UTC
Also minor fix for map path coloring; should start from end of timespan'ed item, not beginning, otherwise gradient is skewed
2025-09-12 21:48:35 -06:00
Matthew Holt
2b5fd57259
Proper support for mixed timestamps and time zones
This will be a long-time WIP, but we now support full timestamps with local time offsets, absolute ones with UTC times only, and wall times only.

Several other fixes/enhancements. Making an effort to display time zone in time displays throughout the app.

Can now try to infer time zones during import, which is the default setting.

This will take a while to fully implement but it's a good start. Just have to be really careful about date crafting/manipulation/parsing.
2025-09-12 11:17:49 -06:00
Matthew Holt
9554343b6f
Further tune heat map based on feedback and more sample data 2025-08-22 12:16:00 -06:00
Matthew Holt
6c0abef275
Tuned heatmap to be more useful/accurate 2025-08-21 13:53:07 -06:00
Matthew Holt
0758f9a588 Some map page improvements
- Hopefully (!?) fixed map element sizing bug on page load
- Hopefully (!?) fixed bug where polyline layers wouldn't render sometimes
- Added time labels between points
- Made marker tooltips/popups more informative, though they still require lots of work
- Made lines slightly more legible

I suspect there are still some weird/sporadic bugs in the map page... but it's harder to find them now. Not sure if good or bad, haha.
2025-07-01 14:00:57 -06:00
Matthew Holt
fa9ad482b3
Place entities from GPX sources; several other improvements/fixes
Location processing is still being revised (WIP).
2025-06-09 17:18:44 -06:00
Matthew Holt
d268486f55
Several import fixes; metadata merging
- Quick unit tests for a function related to Google Takeout archives
- We now combine existing metadata with new according to the update policy, instead of either writing all or none of incoming metadata. This merging happens before the DB update query and is a bit of a special case as the policy is applied per-key.
- Special handling for corrupted timestamp in Google Photos data. This is a singular case I haven't observed more of, but seems like a reasonable heuristic. There might be thousands more out there, who knows.
- Fix job creation time (milliseconds)
- Hopefully make repeated imports faster by skipping duplicate items more intelligently based on update policies.
2025-05-19 12:47:18 -06:00
Matthew Holt
6a10d23a7c
Fix: timestamps, coordinate precision, map loading
- Timestamp year cannot be > 9999 (JSON serialization panics)
- Lat/lon now considered equivalent after a certain decimal point, since not all sources have high precision (we choose 5 decimal points for now, or about 1.1 meters)
- Map style must be loaded before source is added, apparently (got this error once)
2025-05-14 14:41:08 -06:00
Matthew Holt
bfbe2e5f8f Minor fixes for empty timelines 2025-01-09 05:36:15 -07:00
Matthew Holt
bb9151628f
WIP: new entity page; delete almost all DB indexes
Imports are now 4-5x faster and queries are still just about as fast. New indexes should only be created after proving their usefulness.
2025-01-07 13:42:05 -07:00
Matthew Holt
aea113edc4
Ability to set own Mapbox API key (closes #5)
Required some refactoring; settings are now loaded when SPA loads, and are updated when changed.
2025-01-01 17:24:07 -07:00
Matthew Holt
3d11d65b8d
WIP settings page; #map mobility; WIP interactive imports
Settings page is started; non-functional, but location picker works.

Moving maps between container elements is improved by moving to nearest to mouse pointer, rather than just most center to the viewport. It also emits an event when the map is moved, allowing us to change/reset map configurations for certain displays.

More progress on interactive imports. More thought is needed before continuing.

Upgraded Mapbox libraries.
2024-12-26 11:51:47 -07:00
Matthew Holt
1daf6f4157
Initial open source commit 2024-08-11 08:02:27 -06:00