252 Commits
Author SHA1 Message Date
MrAlders0n 19f604e91e Merge pull request #168 from MeshCore-Beacon/dev
Release v2.0.5
v2.0.5
2026-10-14 17:19:57 -04:00
MrAlders0n c7125cad70 Merge pull request #166 from MeshCore-Beacon/feat/packet-hash-prefix-search 2026-10-14 17:04:55 -04:00
MrAlders0n 0367ee5257 Search packet hashes server-side with hashPrefix 2026-10-14 09:13:50 -04:00
MrAlders0n ac5e9e62aa Merge pull request #160 from MeshCore-Beacon/dev
Release v2.0.5
2026-10-12 13:32:44 -04:00
MrAlders0n 4de2dd0034 Bump version to 2.0.5 (#159) 2026-10-12 13:30:22 -04:00
MrAlders0n 617478625d feat(nodes): show MeshMapper repeater details (#158) 2026-10-11 14:44:27 -04:00
MrAlders0n 9d3890f915 Merge pull request #157 from MeshCore-Beacon/dev
Release v2.0.4
v2.0.4
2026-10-10 10:12:23 -04:00
Jesper B b453b8da8e Fix theme-aware chart colour selection (#147) 2026-10-10 10:10:26 -04:00
dependabot[bot] 330015ea68 Bump source-map-js from 1.2.1 to 1.2.2 (#153) 2026-10-10 10:03:16 -04:00
MrAlders0n 08fa3f1f0e Merge pull request #156 from MeshCore-Beacon/dev
Release v2.0.4
2026-10-10 09:57:55 -04:00
MrAlders0n e4760173c0 Sort top advertisers by flood or direct on the server, bump to 2.0.4 (#155) 2026-10-10 09:39:15 -04:00
MrAlders0n 9c270be64a Merge pull request #154 from MeshCore-Beacon/dev
Release v2.0.3
v2.0.3
2026-10-09 22:52:59 -04:00
MrAlders0n 6bdd532e81 Merge main release history into dev
# Conflicts:
#	package-lock.json
#	package.json
2026-10-09 22:50:11 -04:00
MrAlders0n 8ac3e1bd4a Batch route search into two requests and gate old web versions (#152) 2026-10-09 22:20:23 -04:00
30bfb0bf02 Release v2.0.2 (#149)
* stats: node-types donut, multi-IATA filtering, preset split

 - node-types: new /stats/node-types endpoint + useNodeTypes; donutOption
   replaces the "Coming soon" card with a live donut
 - stats endpoints take iatas[] instead of a single iata, so multi-IATA
   regions filter instead of falling back to all (drops useStatsIata)
 - radio presets keep the node/observer split via stacked presetBarsOption
 - drop client-side telemetry ms-normalization (backend now emits epoch ms
   on both paths); charts pick delta-vs-raw counters off the response interval
 - MeshTab: range-driven charts lead, all-time charts follow; KPI window
   from overview.windowHours instead of a hardcoded 24h
 - ci: docker-publish builds a :dev image on dev-branch pushes

* feat: traces vs pings
feat: SNR for trace path in list
feat: known niehgbour count

* fix: github workflow, post images publically

* build(deps): bump undici from 7.27.2 to 7.28.0 (#9)

Bumps [undici](https://github.com/nodejs/undici) from 7.27.2 to 7.28.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v7.27.2...v7.28.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 7.28.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: discover renderers, neighbor map lines, live packet flow

- Discover packets decoded: DISCOVER_REQ/DISCOVER_RESP render real fields
  (type-filter roles, tag, node-to-node request SNR) instead of a raw dump.
- Neighbor lines on the map: On/Selected/Off control draws links between nodes
  and their known neighbors.
- Live packet flow: a play button animates packets hop-to-hop between repeaters
  in real time (off by default).

* map: live mode dims nodes, flashes each packet's route

* map: shoot a comet along each packet's route in live mode

* map: rework live mode — packet dot, dashed trail, per-hop flash

* map: fade live-mode clusters more so dense ones stay see-through

* map: persist clustering + node-type, default neighbor lines to selected

* map: fade live-mode node markers more so overlaps stay see-through

* map: fade the live-mode node flash in sync with its packet trail

* nodes: let the mobile detail panel minimize without deselecting

* map: dim other nodes to spotlight a selected node and its neighbours

* map: colour a selected node's neighbour lines by obs count and freshness

* Add a neighbour graph under the renamed Analytics tab

* Focus the neighbour graph into an ego view on click

* Wrap the analytics sub-header so the range stays on-screen on mobile

* Use a dropdown for the analytics sections on mobile

* Gate the neighbour graph to a region and size labels by busyness

* Add a name search that spotlights matches and dims the rest of the mesh

* Add a copy button beside node and observer public keys

* Add a copy link to node and observer detail panels

Deep-linked ?node/?observer selections now survive load: the region
reset watches the raw selection instead of the async-resolved regionKey,
so slug expansion no longer wipes a restored panel.

* Add .env options for hiding tabs, MeshMapper themes, app name and a GitHub link

* Make VITE_ENABLED_THEMES an exclusive theme allowlist

* Add a .env option to skip the load splash

* Keep the packets list static while scrolled down instead of jumping on new packets

* Add Map deep-links for camera and settings with a copy-link button

* Filter packet history on the server when a single type, route or scope is selected

* Show loading feedback while packet history loads

* build(deps): bump echarts from 5.5.1 to 6.1.0 (#14)

* Fix: github workflow + stats tab + add traces vs pings (#10)

* stats: node-types donut, multi-IATA filtering, preset split

 - node-types: new /stats/node-types endpoint + useNodeTypes; donutOption
   replaces the "Coming soon" card with a live donut
 - stats endpoints take iatas[] instead of a single iata, so multi-IATA
   regions filter instead of falling back to all (drops useStatsIata)
 - radio presets keep the node/observer split via stacked presetBarsOption
 - drop client-side telemetry ms-normalization (backend now emits epoch ms
   on both paths); charts pick delta-vs-raw counters off the response interval
 - MeshTab: range-driven charts lead, all-time charts follow; KPI window
   from overview.windowHours instead of a hardcoded 24h
 - ci: docker-publish builds a :dev image on dev-branch pushes

* feat: traces vs pings
feat: SNR for trace path in list
feat: known niehgbour count

* fix: github workflow, post images publically

* build(deps): bump echarts from 5.5.1 to 6.1.0

Bumps [echarts](https://github.com/apache/echarts) from 5.5.1 to 6.1.0.
- [Release notes](https://github.com/apache/echarts/releases)
- [Commits](https://github.com/apache/echarts/compare/5.5.1...6.1.0)

---
updated-dependencies:
- dependency-name: echarts
  dependency-version: 6.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: MrAlders0n <55921894+MrAlders0n@users.noreply.github.com>
Co-authored-by: MrAlders0n <55921894+MrAlders0n@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump version to 1.2.0

* Restore files clobbered by the main merge

* Bump version to 1.2.1

* Drop empty observer telemetry frames and show airtime as duration

* Back out frontend zero-frame filter; fixing at the source instead

* Add 'view path on map' popup to the packet analyzer

* Collapse the path map attribution to a bare (i) by default

* Add path-map deep links, per-observer propagation, and tappable nodes

* Keep path map at a fixed height on narrow screens

* Show packet source and destination on the path map and analyzer

* Add top advertisers to Mesh stats and a Talkers leaderboard tab

* Add public key prefix search to the nodes table

* Show device clock drift on the node detail panel

* Only plot unambiguously-resolved path endpoints on the map

* Fix public-key node search field switching and non-hex input

* Add tests for path endpoint, trace, and clock-drift edge cases

* Refresh stale radio-freq and telemetry comments for current backend

* Send multi-select packet filters to the server

* Group top advertisers and talkers on the Talkers tab

* Lay out Talkers side by side and label advertiser node types

* Mark each top advertiser with its IATA

* Pin overview sparklines to a fixed 24h window

The Observations and Active observers KPI cards show a fixed 24h snapshot
(from /stats/overview), but their sparklines were fed by the range-driven
observations series. Switching to 7d/30d reshaped the sparklines even
though the numbers beside them stayed at 24h, since aggregateByHour drops
empty hours and slice(-24) then spans a different set of hours.

Give the sparklines their own dedicated 24h observations series so the
whole top row is a consistent 24h snapshot; the range selector now only
drives the charts below. React Query dedupes the extra call when the
selector is already on 24h.

* Split top advertisers into flood and direct adverts

Surface each advertiser's flood vs direct advert counts with a per-day
rate for the selected window, as a sortable table on the Talkers tab.

* Add a Clock Drift analytics tab

List repeaters and room servers whose advert-derived clock has drifted
past the server threshold, worst first, in a sortable table. It's each
node's latest reading, so there's no time range to pick.

* Add a toggleable IATA border layer to the map

Draw each active IATA's GeoJSON region border as an outline over a faint
fill beneath the node markers, behind a Map Settings toggle that's off by
default and shareable via a URL param. IATAs with no border answer 204
and are skipped.

* Carry path and endpoint fields from WS observations into packet summaries

* Extract usePacketDetail and share it across the analyzer and overlay

* Split ?hash into row expansion and ?analyze for the analyzer drawer

* Fix ?path deep link when ?analyze is absent

* Add a pure path-summary model for the packet table's path line

* Cover pathBytes-absent and unresolved-endpoint cases in path summary tests

* Render the packet path line with truncation and confidence tints

* Cover endpoint pairs, high tint, and unresolved-run chips in PacketPathLine

* Add the two-line packet table row

* Restore n/a fallback in observer and IATA cells, scope the covering test

* Add the sticky packet table header

* Add the nested observation table for expanded packet rows

* Fix PathData sizing and add null-SNR test to ObservationTable

* Add the expanded packet region with skeleton, error and empty states

* Reorder PacketExpansion to show errors before empty state

* Wire the packet table and expandable rows into the virtual list

* Carry the picked observation into the analyzer and finish two other spec gaps

- Stop resetting selectedObservationId when opening the analyzer, so picking an
  observation inside an expanded row lands the drawer on it instead of observations[0]
- Disable View path on map in the expanded row when the detail has no resolvable path,
  matching the drawer's existing button
- Strip a ?hash deep link once the first page has loaded and it matches no packet

* Stop stripping ?hash on mount, it breaks deep links to older packets

The analyzer drawer and path-map restore both read the live ?hash and
fetch by hash directly, independent of whether the packet is in the
loaded list. Deleting the param once the first page settles without a
match unmounts the drawer and can drop path-map restores, for any
shared link more than a couple of minutes old.

* Keep the packet card layout below md

* Keep the widest heard window when a live packet is re-observed

* Close the analyzer on a mobile tab change and add an expanded-row copy link

* Drop a stale doc pointer from two map comments

* Collapse the packet row to a single line with hops and endpoints

The header and the rows are separate grids, so the shared track list can't use ch or auto — each resolved them differently and the columns drifted apart. Observer moves into the expansion to free the column.

* Open the analyzer from an observation and add a hash size column

Drops the Open analyzer and Copy link buttons from the expansion; the analyzer popup keeps its own copy link. Table rows butt up against each other now, so the whole strip is a click target.

* Filter the region picker by IATA or airport name

Typing narrows both groups: airports match on code or display name,
regions match on their name or on any member code — a code-only match
tags the row with the code that hit, so it doesn't look like a stray
result. Empty groups drop their headers so the divider never dangles.

The panel body moves into its own component so the query dies with the
dropdown, and focus returns to the trigger on close.

* Animate the live map path from source through to destination

Share the endpoint-gating chain builder with the path map so both plot
source and destination when the backend resolved them unambiguously.

* Preserve linebreaks in message bodies

* Rename map live toggle to Live Map and raise its contrast

* Bump version to 1.3.1

* Show observation cards in the expanded row below md

* Handle API rate limiting in the client and back off WS reconnects

* Color observation card edges by SNR, align card stats, join the expanded row

* Add packet deep link investigation notes

* Observer tab: airtime as percent, add heard-activity charts

Airtime telemetry is on-air seconds, so chart it as a percent of elapsed time.
Add channel busy, packets heard, SNR heard and payload type charts from the
new per-observer activity endpoint; hidden until the server has it.

* stats: read renamed telemetry airtime fields (airtimeTxSecs/RxSecs)

* stats tests: follow the airtime field rename

* Apply dependabot bumps; migrate to maplibre-gl 6

Named imports, Vite worker URL via setWorkerUrl, and the single
missing-image resolver replacing the styleimagemissing listeners.

* fix(packets): keep filtered history pageable without scrolling (#34)

* fix(channels): load older directory pages without losing selection (#37)

* fix(channels): page the directory without losing the open channel

* fix(channels): prefer precise server page cursors

* feat(packets): search latest paths by complete hop hashes (#39)

* feat(packets): surface selections outside loaded results (#41)

A ?hash selection outside the loaded or filtered results now shows an Open analyzer notice with loading, error/retry and dismiss states, using the existing detail query.

* fix(region): avoid focus zoom on small filter text (#45)

* feat(packets): display payload summaries in packet rows (#46)

* fix(layout): keep header controls inside narrow viewports (#44)

* fix(layout): keep region picker right-anchored on desktop (#47)

* feat(stats): compare flood packets heard by two observers (#48)

* feat(nodes): display the foreign-repeater indication (#49)

* feat(nodes): display the server foreign-repeater indication

* style(ws): align node update event declaration

* feat(stats): add hourly traffic and region-aware scope analytics (#53)

Adds the Traffic and Scopes analytics tabs. Includes the hourly traffic work from #52, which this PR contains in full.

Closes #50. Closes #51.

* fix(stats): distinguish analytics navigation icons (#59)

* feat(stats): add RF and signal analytics (#55)

* feat(stats): add Paths and Hashes analytics (#57)

* fix(map): omit reset and invalid node locations (#61)

* feat(i18n): add English and French navigation foundation (#62)

* feat(i18n): translate stats analytics, clock drift and timestamps (#70)

* fix(stats): hide unavailable Talkers results (#68)

* fix(stats): hide unavailable Mesh overview data (#72)

* fix(packets): fold summaries into the endpoints cell (#73)

* chore(types): mirror ws opt-in fields from the server (#91)

* feat: observer monitoring, retained evidence and channel scopes (#75-#99)

Lands the stacked web PRs #75, #79, #80, #81, #83, #85, #87, #89, #92, #95 and #99 in one squash. Server counterparts #166-#176 are merged. Remaining review items follow in a fix PR.

* build(deps-dev): bump brace-expansion from 5.0.9 to 5.0.12 (#100)

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.9 to 5.0.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.9...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: follow up on the #75-#99 stack review (#101)

* fix: follow up on last week's merges (#55-#101) (#102)

Bugs: clear compare params on tab change, recover channel live messages after a 429,
observer copy link keeps only region params, route table no longer navigates on region
change with nothing selected, map borders memo on data identity, live overview can't
resurrect a failed query, French relative times, no language write on first visit,
0/0 node locations hidden outside the map, path/signal stats use the shared retry rule.

i18n: node/packet/mesh/observer strings that were still hardcoded after #62.

Cleanup: formatUtc, ACTION_BUTTON_CLASS, observer-stats, useWindowedStats, observer-id;
observer pages use StatCard/Card/Field/Segmented/SearchBar/SelectDropdown; one details
chrome on the stats tabs; comment and translations-guide trims; localStorage stub for
Node 26 in the test setup.

* fix(nodes): clear a node's position when nodeUpdate sends null (#103)

The server now nulls a location on an explicit 0/0 advert and the WS nodeUpdate
event mirrors that: omitted lat/lng keeps the current position, null clears it.
patchNodeSummary used ?? so a clear was ignored.

* Bring back the Analytics observer tab and tidy analytics (#104)

* Polish observer cards and clock drift on phones (#106)

* Observer header details, channel row cleanup, tab order (#107)

* Shared observer sidebar and header actions (#108)

* Labelled observer details and stacked header actions (#109)

* One observations list in the packet analyzer (#110)

* Drop the Observer section from Analytics (#111)

* Analyzer: one observations list, transport scope breakdown (#112)

* Prepare Beacon 2.0.0 (#105)

* Region-filtered scope lists (#113)

* Move channel scope filter into the header (#114)

* Clear map borders when the toggle is turned off (#115)

* Collapse the analyzer's observations list by default (#116)

* Show the observer list beside the dashboard (#117)

* Match the observation card to the theme (#118)

* Shrink the region filter text on desktop (#119)

* Keep the packet drawer and windows open across tabs (#120)

* Open the observer dashboard as a mobile overlay (#121)

* Show observers as a full-width list on mobile (#122)

* Tidy the routes search and range toggle on mobile (#123)

* Add an optional instance banner above the header (#124)

* List keyed channels up front and load the rest on demand (#125)

* Fold route evidence into Route Detail with a recent packets list (#126)

* Plain wording across panels and fix retention-bound views (#127)

* Open the observer dashboard from Inspect observer (#128)

* Translate the remaining hardcoded UI text (#129)

* Close an inspected observer back to its packet on mobile (#130)

* Drop analytics refresh buttons and repeated titles (#131)

* Serve analytics from hourly rollups and handle empty regions (#132)

* Wait for the selected region before loading lists (#133)

* Add hourly sparklines to analytics stat cards (#134)

* Sparklines for most path entries and scope activity (#135)

* Hourly observer and node sparklines on scope cards (#136)

* Fix issues from the 2.0.0 release review (#137)

* Show activity before the first rollup as a gap (#138)

* docs: move deployment docs to beacon-docs (#139)

* docs: move deployment to beacon-docs and add SHOULDERS

* docs: keep only web-specific contributor notes

* docs: show the dev proxy settings needed for live updates

* Add Swedish translation (#142)

* Bump version to 2.0.1 (#143)

* Fix channels page shifting and dropped bottom-nav taps on mobile (#146)

* chore: add .github/CODEOWNERS for main branch policy

Signed-off-by: MrAlders0n <MrAlders0n@smal.ca>

* chore: add .github/workflows/main-source-guard.yml for main branch policy

Signed-off-by: MrAlders0n <MrAlders0n@smal.ca>

* Add server-sorted observer directory pagination

* fix(observers): rank available traffic over rolling seven days

* Bump version to 2.0.2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: MrAlders0n <55921894+MrAlders0n@users.noreply.github.com>
Signed-off-by: MrAlders0n <MrAlders0n@smal.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: n30nex <blushellneon@outlook.com>
Co-authored-by: Jesper B <git.lunacy614@passmail.com>
v2.0.2
2026-10-05 09:02:55 -04:00
MrAlders0n ec1efebbc5 Merge main release history into dev 2026-10-05 09:00:14 -04:00
MrAlders0n 1ed83ac132 Bump version to 2.0.2 2026-10-05 08:59:34 -04:00
MrAlders0n a01ddcf4fb fix(observers): rank available traffic over rolling seven days 2026-10-05 08:40:59 -04:00
MrAlders0n 97fff7aa71 Add server-sorted observer directory pagination 2026-10-05 06:31:31 -04:00
MrAlders0n b4d498e697 chore: add .github/workflows/main-source-guard.yml for main branch policy
Signed-off-by: MrAlders0n <MrAlders0n@smal.ca>
2026-10-03 20:06:06 -04:00
MrAlders0n 0e2fac731c chore: add .github/CODEOWNERS for main branch policy
Signed-off-by: MrAlders0n <MrAlders0n@smal.ca>
2026-10-03 20:06:05 -04:00
MrAlders0n 82fb683506 chore: add .github/workflows/main-source-guard.yml for main branch policy
Signed-off-by: MrAlders0n <MrAlders0n@smal.ca>
2026-10-03 20:06:04 -04:00
MrAlders0n 2538ff7588 chore: add .github/CODEOWNERS for main branch policy
Signed-off-by: MrAlders0n <MrAlders0n@smal.ca>
2026-10-03 20:06:03 -04:00
MrAlders0n dc757cfb51 Fix channels page shifting and dropped bottom-nav taps on mobile (#146) 2026-10-03 14:21:06 -04:00
MrAlders0n 7fb24789d1 v2.0.1 (#144) v2.0.1 2026-10-03 07:43:03 -04:00
MrAlders0n 52d633d173 Bump version to 2.0.1 (#143) 2026-10-03 07:40:48 -04:00
Jesper B 341ba6fd39 Add Swedish translation (#142) 2026-10-03 07:37:07 -04:00
MrAlders0n 7a9770e713 v2.0.0 (#141) v2.0.0 2026-10-02 22:38:54 -04:00
MrAlders0n 6570c95f5b docs: move deployment docs to beacon-docs (#139)
* docs: move deployment to beacon-docs and add SHOULDERS

* docs: keep only web-specific contributor notes

* docs: show the dev proxy settings needed for live updates
2026-10-02 21:42:28 -04:00
MrAlders0n 0924260dc5 Show activity before the first rollup as a gap (#138) 2026-10-02 19:22:20 -04:00
MrAlders0n acf46342a1 Fix issues from the 2.0.0 release review (#137) 2026-10-02 19:04:46 -04:00
MrAlders0n 4b9e48a35a Hourly observer and node sparklines on scope cards (#136) 2026-10-02 15:46:03 -04:00
MrAlders0n d951a7e362 Sparklines for most path entries and scope activity (#135) 2026-10-02 14:00:39 -04:00
MrAlders0n f6caab663c Add hourly sparklines to analytics stat cards (#134) 2026-10-02 13:37:26 -04:00
MrAlders0n 30a8f94dbd Wait for the selected region before loading lists (#133) 2026-10-02 12:13:41 -04:00
MrAlders0n 39e921c277 Serve analytics from hourly rollups and handle empty regions (#132) 2026-10-02 08:03:00 -04:00
MrAlders0n f9ffb564c7 Drop analytics refresh buttons and repeated titles (#131) 2026-10-01 18:58:26 -04:00
MrAlders0n bdf253cbe6 Close an inspected observer back to its packet on mobile (#130) 2026-10-01 18:46:00 -04:00
MrAlders0n 609dbc384f Translate the remaining hardcoded UI text (#129) 2026-10-01 17:55:54 -04:00
MrAlders0n e3f98efea9 Open the observer dashboard from Inspect observer (#128) 2026-10-01 16:57:04 -04:00
MrAlders0n e491a822c9 Plain wording across panels and fix retention-bound views (#127) 2026-10-01 16:36:11 -04:00
MrAlders0n bd32c0019f Fold route evidence into Route Detail with a recent packets list (#126) 2026-10-01 15:41:59 -04:00
MrAlders0n a252b953fe List keyed channels up front and load the rest on demand (#125) 2026-10-01 09:18:42 -04:00
MrAlders0n 2b150f9244 Add an optional instance banner above the header (#124) 2026-10-01 08:57:41 -04:00
MrAlders0n 57be943f17 Tidy the routes search and range toggle on mobile (#123) 2026-10-01 08:32:49 -04:00
MrAlders0n 441dcdee6c Show observers as a full-width list on mobile (#122) 2026-10-01 07:55:47 -04:00
MrAlders0n e6e680192a Open the observer dashboard as a mobile overlay (#121) 2026-10-01 07:50:46 -04:00
MrAlders0n a8a248fd9d Keep the packet drawer and windows open across tabs (#120) 2026-10-01 04:09:00 -04:00
MrAlders0n 66419a768e Shrink the region filter text on desktop (#119) 2026-10-01 04:08:48 -04:00
MrAlders0n a2ed9f70aa Match the observation card to the theme (#118) 2026-09-30 23:17:20 -04:00