Commit graph

17 commits

Author SHA1 Message Date
53ce452cdf
Fix Docker build CSS import errors
Moved CSS imports from Tailwind config to JavaScript to let ESBuild handle them.
This fixes the Docker build error where Tailwind couldn't resolve node_modules paths.

- Removed CSS @import statements from app.css
- Added CSS imports to map.ts where Leaflet is used
- Configured ESBuild to handle CSS and image files
- Added missing topbar package to package.json
- Updated both dev and prod ESBuild configs

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 11:59:04 -05:00
9b034cd211
vendor all js 2025-07-21 11:09:14 -05:00
7dc6c616a2
Bundle all vendor JavaScript files locally instead of loading from CDNs
This change eliminates all external CDN dependencies by bundling JavaScript
libraries locally using esbuild. All vendor files are now served from the
application's own assets, improving reliability and privacy.

Changes:
- Created assets/js/vendor.js to bundle all external libraries
- Added vendor bundle configuration to esbuild in config files
- Updated all templates to use local vendor.js instead of CDN scripts
- Created download-vendor-files.sh script to fetch vendor libraries
- Added vendor files to .gitignore (they're downloaded during setup)
- Updated CSS imports to include vendor stylesheets
- Added vendor build step to assets.deploy mix task

Bundled libraries:
- Leaflet 1.9.4 (mapping library)
- Leaflet.heat 0.2.0 (heatmap plugin)
- Leaflet.markercluster 1.5.3 (marker clustering)
- OverlappingMarkerSpiderfier 0.2.6 (overlapping marker handling)
- Chart.js 4.5.0 (charting library)
- chartjs-adapter-date-fns 3.0.0 (date adapter for Chart.js)

All functionality tested and working correctly with local bundles.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 09:52:39 -05:00
a31d38ec6a
different trail colors 2025-07-16 09:36:49 -05:00
41eaec5c8e
add user auth 2025-07-09 08:53:50 -05:00
abdbe399f0
navbar text fix 2025-07-05 13:43:36 -05:00
53b82c70d4
deploy fix 2025-07-05 09:29:11 -05:00
f575863e7f
DRY and list scrolling 2025-06-21 22:01:59 -05:00
03c20ebfd8
mobile 2025-06-21 20:26:08 -05:00
8fdafcf01e
historical packets 2025-06-21 13:28:20 -05:00
08965143fb
tracks 2025-06-19 16:49:48 -05:00
13a3f2e24f
updates 2025-06-17 10:34:57 -05:00
c5d7a32b60
map debugging 2025-06-16 14:35:04 -05:00
761eb66d1f add spot clustering 2025-06-13 16:28:20 -05:00
c5b5d0762a map improvements 2025-06-13 16:17:35 -05:00
5bec256a62 wip map 2023-01-30 13:25:14 -06:00
d40567dfeb initial 2023-01-26 13:20:23 -06:00