Commit Graph
250 Commits
Author SHA1 Message Date
ShadowbrokerandClaude Opus 5.5 456dce80ac fix(map): match clicked ships by MMSI regardless of id type
Clicking an AIS vessel showed neither the map popup nor the side panel.
Since f95b0ec the dynamic worker builds ship feature ids with
shipFeatureId(), which stringifies the MMSI, but the backend sends MMSIs as
numbers. The lookups compared them with ===, so 234881054 === "234881054"
matched nothing and the UI silently rendered nothing. Carriers still worked
because their id is their (string) name.

Adds sameEntityId() and uses it for the ship lookups (popup, side panel,
findSelectedEntity) and the other numeric-id lookups that compare against a
clicked feature id (satellites, UAVs, trains, UAP sightings, wastewater,
weather alerts).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 04:47:42 -06:00
Shadowbroker 37c460821f Merge pull request #610 from BigBodyCobain/dependabot/npm_and_yarn/frontend/concurrently-10.0.6
chore(deps-dev): bump concurrently from 10.0.5 to 10.0.6 in /frontend
2026-10-15 18:47:21 -06:00
dependabot[bot] 6b08f64e48 chore(deps): bump @tauri-apps/plugin-updater in /frontend
Bumps [@tauri-apps/plugin-updater](https://github.com/tauri-apps/plugins-workspace) from 2.11.0 to 2.13.3.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](https://github.com/tauri-apps/plugins-workspace/compare/updater-v2.11.0...updater-v2.13.3)

---
updated-dependencies:
- dependency-name: "@tauri-apps/plugin-updater"
  dependency-version: 2.13.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-15 07:25:03 +00:00
dependabot[bot] 123d4232e8 chore(deps-dev): bump concurrently from 10.0.5 to 10.0.6 in /frontend
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 10.0.5 to 10.0.6.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v10.0.5...v10.0.6)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-version: 10.0.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-15 07:24:31 +00:00
Shadowbroker b9aa8e1100 Merge pull request #601 from BigBodyCobain/dependabot/npm_and_yarn/frontend/eslint-config-next-16.3.8
chore(deps-dev): bump eslint-config-next from 16.2.4 to 16.3.8 in /frontend
2026-10-09 20:41:36 -06:00
dependabot[bot] e6d44ccabd chore(deps-dev): bump eslint-config-next in /frontend
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 16.2.4 to 16.3.8.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/commits/v16.3.8/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-version: 16.3.8
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-08 07:24:17 +00:00
dependabot[bot] 9c71310314 chore(deps): bump @tauri-apps/plugin-process in /frontend
Bumps [@tauri-apps/plugin-process](https://github.com/tauri-apps/plugins-workspace) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](https://github.com/tauri-apps/plugins-workspace/compare/os-v2.3.1...os-v2.4.0)

---
updated-dependencies:
- dependency-name: "@tauri-apps/plugin-process"
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-08 07:24:02 +00:00
Shadowbroker f282f8e2bb fix(basemap): correct style builder formatting 2026-10-06 15:52:18 -06:00
Shadowbroker 951c776ec0 fix(basemap): correct viewer import formatting 2026-10-06 15:52:16 -06:00
Shadowbroker b6d3c20690 fix(basemap): type provider style union 2026-10-06 15:50:21 -06:00
Shadowbroker 233e420409 test(basemap): cover keyless default and CARTO override 2026-10-06 15:49:06 -06:00
Shadowbroker a9cd03f115 fix(basemap): preserve overlays with keyless vector styles 2026-10-06 15:48:36 -06:00
Shadowbroker 4128a0ac7d fix(basemap): default to keyless OpenFreeMap 2026-10-06 15:48:00 -06:00
dependabot[bot] 77c38a9274 chore(deps-dev): bump @testing-library/jest-dom in /frontend
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.9.1 to 7.0.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.9.1...v7.0.1)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-version: 7.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-01 07:28:44 +00:00
dependabot[bot] 8ad5554499 chore(deps-dev): bump vite from 8.0.16 to 8.3.0 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.0.16 to 8.3.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@8.3.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-24 07:23:40 +00:00
Shadowbroker 347623f8a4 Merge pull request #570 from BigBodyCobain/dependabot/npm_and_yarn/frontend/tauri-apps/plugin-updater-2.11.0
chore(deps): bump @tauri-apps/plugin-updater from 2.10.1 to 2.11.0 in /frontend
2026-09-18 03:09:32 -06:00
Shadowbroker 170e29d7db Merge pull request #571 from BigBodyCobain/dependabot/npm_and_yarn/frontend/multi-de36fa8f59
chore(deps): bump react-dom and @types/react-dom in /frontend
2026-09-18 03:09:13 -06:00
dependabot[bot] 2186602375 chore(deps): bump react-dom and @types/react-dom in /frontend
Bumps [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom). These dependencies needed to be updated together.

Updates `react-dom` from 19.2.7 to 19.3.0
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react-dom)

Updates `@types/react-dom` from 19.2.3 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: react-dom
  dependency-version: 19.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/react-dom"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 07:24:20 +00:00
dependabot[bot] e159f468f1 chore(deps): bump @tauri-apps/plugin-updater in /frontend
Bumps [@tauri-apps/plugin-updater](https://github.com/tauri-apps/plugins-workspace) from 2.10.1 to 2.11.0.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](https://github.com/tauri-apps/plugins-workspace/compare/updater-v2.10.1...updater-v2.11.0)

---
updated-dependencies:
- dependency-name: "@tauri-apps/plugin-updater"
  dependency-version: 2.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 07:24:10 +00:00
dependabot[bot] cd878c3ba0 chore(deps-dev): bump @types/node from 20.19.33 to 26.5.1 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.19.33 to 26.5.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.5.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 07:24:02 +00:00
Shadowbroker 1a1b6e1dc3 Merge pull request #558 from C3B2W23/fix/carto-api-key
fix(basemap): add runtime CARTO_API_KEY for CARTO tiles
2026-09-15 01:51:43 -06:00
C3B2W23andClaude Fable 5.1 667f51cb7a fix(basemap): serve CARTO key from backend, bound the map gate, add source attribution
Review follow-up:

- Drop the Next.js route. CARTO_API_KEY is now a regular backend registry
  key (env, .env, or the API Keys panel) served by public
  GET /api/basemap-config. Every frontend mode already proxies /api/* to
  the backend (Next.js proxy in web mode, companion server in packaged
  desktop), so this covers web and desktop with one mechanism and leaves
  the static export untouched. Also removes the invalid non-handler
  export from the route module by removing the module.
- useBasemapConfig: fail open to the unkeyed style after 3 s, abort the
  request at 15 s, apply a late key when it arrives, cache successes per
  page and retry failures on the next mount.
- Declare OSM/CARTO attribution on the raster source (same markup as the
  viewer's existing AttributionControl so MapLibre de-duplicates it).
- Tests: backend endpoint (unset / set+trimmed / persisted operator key /
  registry), hook behaviour (success, non-OK, network error, soft timeout
  then late key, hard abort, shared request and retry), attribution and
  gating source checks.
- CARTO_API_KEY moves to the backend service in docker-compose.yml; docs
  updated accordingly.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 15:16:47 -07:00
C3B2W23andClaude Fable 5.1 f95b0eccc5 fix(map): keep tracked aircraft and yacht labels in step with data filters
Tracked-flight and tracked-yacht HTML labels are rendered from the raw
store arrays, while their icons come from the worker GeoJSON that already
has the operator's data filters applied. Filtering Tracked Aircraft to a
category therefore removed the icons but left every other aircraft's name
on the map.

Derive the label subjects from the ids in the filtered feature collection
so a label is only drawn where an icon is. The id rule lives in one shared
helper used by both the worker builders and the label selector; rows with
no identifier keep the worker's positional fallback and draw no label.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 14:57:09 -07:00
C3B2W23andClaude Fable 5.1 71550b4adf fix(basemap): trim header comments to match repo style
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 14:54:02 -07:00
C3B2W23andClaude Fable 5.1 8f169f1ecc Add runtime CARTO_API_KEY for basemap tiles
CARTO now requires an API key for its basemap tiles; without one every
tile in the DEFAULT dark/light map carries an "API KEY REQUIRED"
watermark. The tile URLs were hardcoded in mapStyles.ts with no way to
supply a key, and because the frontend ships as a prebuilt image a
NEXT_PUBLIC_ variable would be baked in empty for every Docker user.

- New frontend-local route GET /api/basemap-config reads CARTO_API_KEY
  from the frontend container's environment at request time (same
  pattern as BACKEND_URL), so no image rebuild is needed.
- useBasemapConfig() fetches it once per page load; MaplibreViewer
  builds the MapLibre style from it via buildBasemapStyle(theme, key)
  and defers the map's first style load until the config has settled,
  avoiding a burst of unkeyed tile requests followed by a style swap.
- Tile URLs move to CARTO's documented rastertiles/ path with ?key=
  appended when configured. Unkeyed URLs serve byte-identical tiles to
  the old path, so deployments without a key behave exactly as before.
- CARTO_API_KEY wired through docker-compose.yml and documented in
  .env.example, README (data source table + frontend env table) and
  docs/OUTBOUND_DATA.md.
- Tests cover the route (unset / set / trimmed) and the style builder.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 14:54:01 -07:00
Codex Integration aa5109a6cb Merge remote-tracking branch 'origin/pr/559' into codex/pr-561-562-559 2026-09-12 15:53:45 -06:00
Codex Integration 726d1ef8b6 Merge remote-tracking branch 'origin/pr/562' into codex/pr-561-562-559 2026-09-12 15:53:44 -06:00
C3B2W23andClaude Fable 5.1 9eee300b97 fix(filters): keep the filter dialog responsive on very long option lists
The vessel name list runs to tens of thousands of entries and every one
was mounted as a button when the dialog opened, so the Maritime dialog
took several seconds to appear. Because the dialog centres itself in an
effect after the first paint, that delay also showed it flashing at the
top-left before jumping to the middle.

Mount at most 300 rows until the search narrows the list, say how many
are hidden, and centre in a layout effect so the first paint is already
in place.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-11 16:15:30 -07:00
C3B2W23andClaude Fable 5.1 9df81bf636 fix(map): apply vessel data filters to the carrier layer
Carrier icons and labels are built on the main thread from the raw ship
array, separately from the worker that draws every other vessel, so the
Data Filters vessel name / type selection never reached them. Filtering
to yachts left the aircraft carriers on the map.

Move the ship filter predicate into a shared helper used by both the
worker and the carrier builder so all ship sources honour the same
selection.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-11 16:02:31 -07:00
C3B2W23andClaude Fable 5.1 ce77612d42 fix(filters): surface disabled layers inside the data filter dialog
Each Data Filters section acts on one or more map layers, but the panel
never knew the layer state, so a filter could target a layer that was
switched off and silently do nothing. Four of the five sections build
their option lists from live data, so with the layer off the dialog was
also empty and unsearchable, with no hint why.

Declare the layer keys per section, badge sections whose layers are all
off, and show a banner in the dialog with an ENABLE control per disabled
layer. Enabling from the dialog refetches within a few seconds and the
list fills in place. The empty list now says whether the layer is off,
data is still loading, or the search simply has no match. APPLY stays a
plain apply. Callers that do not pass layer state keep the old behaviour.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-11 15:20:18 -07:00
dependabot[bot] bdcd6aabaf chore(deps-dev): bump concurrently from 9.2.3 to 10.0.5 in /frontend
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 9.2.3 to 10.0.5.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v9.2.3...v10.0.5)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-version: 10.0.5
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-10 07:23:58 +00:00
BigBodyCobain cd6395f5ee fix: complete intelligence layer refreshes and UAP fallback 2026-08-23 20:14:07 -06:00
BigBodyCobain 2461756da4 fix: restore CCTV and Telegram map visibility 2026-08-23 19:28:40 -06:00
Shadowbroker 108e0a49e5 fix(layers): make restart repair passive and always-on 2026-08-20 21:09:50 -06:00
Shadowbroker ae237eb2b4 test(search): cover visible supplemental map assets 2026-08-20 21:00:12 -06:00
Shadowbroker 7f5b4c089e test(layers): cover backend restart reconciliation 2026-08-20 21:00:00 -06:00
Shadowbroker b130656cd1 fix(search): locate assets from visible map layers 2026-08-20 20:58:35 -06:00
Shadowbroker f9ae967580 fix(layers): reconcile saved toggles after backend restarts 2026-08-20 20:57:46 -06:00
Shadowbroker 0956b68b11 fix(security): protect LiveUAMap operator routes from cross-site requests 2026-08-18 16:12:56 -06:00
Shadowbroker ed97e9e4bc fix(liveuamap): make enrichment resilient and non-blocking 2026-08-18 15:52:46 -06:00
Shadowbroker 28bcdf61e4 test(security): preserve reverse-proxy origin semantics 2026-08-17 01:13:08 -06:00
Shadowbroker 616d358601 fix(security): preserve hardened reverse-proxy origin handling 2026-08-17 01:12:39 -06:00
Shadowbroker cfae066140 test(security): update API matcher security expectation 2026-08-17 01:11:38 -06:00
Shadowbroker 054528edab test(security): cover privileged API proxy boundary 2026-08-17 01:11:15 -06:00
Shadowbroker 21df433103 fix(security): cover privileged API root routes 2026-08-17 01:09:53 -06:00
Shadowbroker 6ab3ca3957 fix(security): reject cross-origin privileged API requests 2026-08-17 01:06:08 -06:00
Ethan Morchy 6112dab21a Merge branch 'BigBodyCobain:main' into feature/locate-auto-zoom 2026-08-11 15:03:13 -07:00
Ethan Morchy eeb4509565 Size the LOCATE camera from typed precision and place extent 2026-08-11 00:40:48 -07:00
Ethan Morchy 474cf89141 Fly the map to a bounding box when one is supplied 2026-08-11 00:40:48 -07:00
Ethan Morchy 664f218a6f Add bounds-sizing helpers for LOCATE camera moves 2026-08-11 00:40:47 -07:00