From c5477d05ada2822d37a585c84bf81041f20b92a6 Mon Sep 17 00:00:00 2001 From: ztimson Date: Sat, 27 Jun 2026 13:38:52 -0400 Subject: [PATCH] AIS fixes + daily --- README.md | 4 + client/src/assets/main.css | 2 +- client/src/components/Aircraft.vue | 4 +- client/src/components/CurrentWeather.vue | 44 ++-- client/src/components/Precipitation.vue | 28 +-- client/src/components/Seismic.vue | 6 +- client/src/components/Ship.vue | 300 +++++++++++------------ client/src/components/Sun.vue | 17 +- client/src/components/Wind.vue | 6 +- client/src/services/adsb.ts | 4 +- client/src/services/ais.ts | 4 +- client/src/services/units.ts | 16 +- server/src/server.mjs | 75 +++--- 13 files changed, 251 insertions(+), 259 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c84d532 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +## TODO +- Make sure openmeteo properties match + we backfill any missing +- Fix daily (missing future dates + timestamp on 24 hour forecast is wrong) +- Update openapi doc diff --git a/client/src/assets/main.css b/client/src/assets/main.css index 14cd3e2..8ad1097 100644 --- a/client/src/assets/main.css +++ b/client/src/assets/main.css @@ -6,7 +6,7 @@ :root { --bg: #ffffff; - --surface: #d0dae1; + --surface: #e5e9ec; --border: #e2e8f0; --text: #0f172a; --text-muted: #64748b; diff --git a/client/src/components/Aircraft.vue b/client/src/components/Aircraft.vue index f314edc..c3bc987 100644 --- a/client/src/components/Aircraft.vue +++ b/client/src/components/Aircraft.vue @@ -149,8 +149,8 @@ const navball = computed(() => { const compassLabels = [-60, -45, -30, -15, 0, 15, 30, 45, 60].map(offset => { const rad = offset * Math.PI / 180 - const x = 100 + 90 * Math.sin(rad) - const y = 100 - 90 * Math.cos(rad) + const x = 100 + 70 * Math.sin(rad) + const y = 100 - 70 * Math.cos(rad) const h = Math.round((offset + 360) % 360) const lbl = ({ 0: 'N', 90: 'E', 180: 'S', 270: 'W' } as any)[h] || '' return lbl ? `${lbl}` : '' diff --git a/client/src/components/CurrentWeather.vue b/client/src/components/CurrentWeather.vue index 00d7c3b..8dd3559 100644 --- a/client/src/components/CurrentWeather.vue +++ b/client/src/components/CurrentWeather.vue @@ -1,5 +1,6 @@