Commit Graph
93 Commits
Author SHA1 Message Date
Zakk cd7d513eac fix(rules): show routing mode validation errors in the dialog
A routing mode the backend refused only raised a toast with the error
count, so the reason and the line were lost; a refusal from the write
itself, which alone checks a file other than the main one, closed the
dialog. Both now keep the confirm dialog open and list each error in a
focused inline alert with the backend's words, by line in the file
being written and by file name and line in another file. Changing the
DNS choice or closing the dialog clears it.

Every routing mode with every option combination, with and without
the DNS split, is checked against the demo validator from a bare file
and from the demo configuration, and the DNS split may route only to
upstreams it declares.
2026-10-05 14:37:40 +11:00
Zakk 1aa76e3ece fix(ui): show toasts above an open dialog instead of over it
A group editor reopened within five seconds of a save had its Apply
button under the save's confirmation toast: toasts sit above modals at
the bottom centre, and a tall dialog's footer reaches that band. Each
Apply click in policies-filters waited about 5 s for the toast to time
out, three times per test, so under load the test ran past its 30 s
budget.

While a modal dialog is open, the toast region now stacks from the top
centre for every position setting. The toast stack publishes its height
as --rp-toast-band while toasts show, and a modal starts below it, so a
tall error toast never covers the dialog. Without toasts the dialog
stays at 12dvh. Toasts are neither closed nor re-timed, and one raised
while the dialog is open shows at the top too. Drawers and non-modal
popovers leave the toasts where they are.

The spec also clicked a card's placeholder button, which the card
replaces with its details as it nears the viewport, while the landing
page kept scrolling back to the linked card. A reader cannot click that
button, so the spec now scrolls to the card the way a reader does.
2026-10-05 14:30:36 +11:00
Zakk acaa1fa810 fix(ui): keep the trace button level with its fields while disabled
A disabled kit Button sits in a tooltip wrapper, so the button was no longer a direct child of the toolbar and the
rp-field-row offset that lines it up with the input boxes did not apply. The wrapper now takes the offset, and a
passive wrapper's button keeps it. The trace test checks that the button's top and bottom match the domain box.
2026-10-05 14:29:39 +11:00
Zakk 6bde18e229 fix(api): cancel reads in flight when the page is left
A reload that cuts a fetch off before its response makes WebKit log an
access-control pageerror for it, which made routes.spec.ts:116 flaky on
webkit. send() now keeps every GET that is still waiting for its headers
in a registry, and beforeunload cancels them, so the browser sees a
cancellation instead. Writes, including read-only POSTs, are never
cancelled.

A draft's leave prompt can keep the page, so a cancelled read does not
reject: it waits, along with any GET started meanwhile, and is sent
again once the page has stayed. That is at once when a listener asked
for a prompt, and after a three-second grace otherwise, which a page
that does unload never reaches. The choice is made once the event has
reached every listener, so a prompt asked for after doona's own listener
counts. The header deadline keeps running across the wait and every
resend, so leaves cannot hold a read past it. Callers see no error, no
toast and no failed attempt; real network failures and caller cancels
are unchanged.

either() now joins any number of signals so the leave signal joins the
caller's and the deadline.
2026-10-05 05:22:43 +11:00
Zakk 67303f54f3 fix(ui): keep number typing and the latest skeleton height hold
NumberField passed every typed number to its controlled value, which
React Aria snaps at once, so typing 128 in a field from 64 showed 64
after the first digit. A number outside the range or off the step now
waits for blur, which still snaps it; a whole-number step takes no
decimal separator.

Each PageSkeleton unmount cleared the column's min-height, so an earlier
swap's release could drop the height a later one was holding. Holds now
keep an owner per column and only the latest lets go.
2026-10-05 04:26:39 +11:00
Zakk 57fbd9b5db perf(config): load the code editor with the source tab
SourceCard imported CodeEditor statically, so every Config open, the
hover warm-up of Config and the non-source tabs parsed and ran
CodeMirror (about 122 KB gzip). The editor now loads through
preloadable when the source tab is selected or SourceCard mounts, and
the editor's block Skeleton (shared with Config's page shape) holds its
box until it arrives.

The diagnostics focus request now waits for the editor's effects when
the editor mounts later, so it still wins over the editor's line focus
as before.

check:size counts the lazy editor towards routeConfig, which stays the
config editor's budget.
2026-10-05 04:19:11 +11:00
Zakk 86bc91faef perf(policies): redraw a card only when its own nodes change
Each poll is a new probe round, so every node came back as a new object
with new probe times, and every policy card re-rendered: the page passed
the whole node list to each card and each card subscribed to the list
itself to find its members' protocols with a linear search.

The page now holds a steady node list in which a node whose readings did
not move keeps its object (the times count only by their order, which is
all that picks each kind's latest reading), and hands it to the cards,
which no longer subscribe on their own. Member lookups go through one id
index per list, shared by every card. Idle renders on the demo's
Policies page drop from 8084 to 404 in 32 s at 4x CPU.
2026-10-05 04:00:06 +11:00
Zakk f8633e1fc3 feat(app): draw every known-shape first load as a skeleton
Each route declares its skeleton shape in the registry, Activity draws its saved card layout, Config draws the active tab, and settings forms, lists, charts, rankings, widget readings, Latency and Flows draw their own shape at the real size. The spinner stays only for sign-in, search and pending buttons; CONTRIBUTING states the rule and a test fails on any other Loading.
2026-10-05 02:58:34 +11:00
Zakk 74aa7a965e feat(ui): add skeletons for known shapes
Kit skeletons in one place: table placeholder rows at the real row height, block, rows, bars, fields and cards bodies, a fact strip loading state and a route-shaped PageSkeleton, all sharing the 150ms delay, one hidden status and still bars under reduced motion. The demo mock can hold calls with ?slow to show them.
2026-10-05 02:58:34 +11:00
Zakk eb5a1ad2e5 perf(logs): hold the activity chart's space while the stream opens
The chart above the list mounted with the first records, pushing the
list down by its full height. While the stream opens, the strip and the
card are laid out hidden under the kit's skeleton blocks, so the list
keeps its place. The e2e checks the header does not move.
2026-10-05 02:01:54 +11:00
Zakk e4955c5263 feat(login): centre the sign-in card and drop the showcase
The sign-in page is one kit Card centred both ways on the content
background, the same at every width, with the language, palette and
theme controls left in the corner. On Glass the wallpaper shows behind.

The mini game beside the form goes with its canvas button, duck paths,
styles, messages, unit keys only it used, chunk tests and size-budget
entry. startupLogin drops from 259115 to 252580 bytes gzip.
2026-10-05 01:34:31 +11:00
Zakk 78575b9d63 test(ui): guard the Form and NumberField rules 2026-10-05 01:08:17 +11:00
Zakk a11e3b5b93 feat(ui): add kit Form and NumberField
Form hands isDisabled, isRequired, necessityIndicator and validationBehavior down to the kit fields; DialogForm is Form laid out in dialog sections. NumberField is React Aria's number field in TextField's box with S2's steppers, grouping off, empty meaning unset, and stepper names from doona's own strings because React Aria's zh-TW names are the zoom words.
2026-10-05 01:08:17 +11:00
Zakk 887af7d609 feat(ui): add a Copy record button to Logs and Events rows
Each row copies the text its page exports: a log line as the Logs export
writes it, an event as the Events export's JSON object. The Events summary
column minimum narrows so the new column fits at 1024px without dropping
the time or kind columns.
2026-10-05 00:20:33 +11:00
Zakk 9163866516 docs(changes): note pending buttons and the editor rows 2026-10-05 00:04:53 +11:00
Zakk b7086d7733 fix(ui): keep ActionButton geometry for everyday buttons
S2 draws everyday actions as ActionButtons and keeps the Button pill
for a flow's primary actions. Kit buttons now default to ActionButton
geometry: 8px corner (9px at L), medium weight and a 3/8 inset, with the
same fills, outline and states as before. Accent and negative fills, and
labelled buttons inside the new PrimaryActions context, which a modal
dialog's footer provides, keep the bold pill.
2026-10-05 00:04:53 +11:00
Zakk 6d1a1b2713 fix(ui): match the kit Button to Spectrum 2's Button
Buttons are pills with bold labels, a 2px gray-300 outline on secondary
buttons and no border when filled; negative buttons are filled. Leading
icons follow S2's line size (18px at M, 20px at L), the M inset is half
the height, and keyboard focus takes the hover colour. Quiet buttons
keep S2's ActionButton corner and medium weight. Heights do not change.

The Activity geometry baseline moves the quick-control row's split by up
to 4.5px, since its cards are sized by their buttons.
2026-10-05 00:04:53 +11:00
Zakk 2ffcf525b2 fix(ui): cut Glass chrome sheet with a mask instead of a clip
The Glass chrome is one fixed, blurred layer over the whole viewport, with
a concave clip-path polygon cutting the content box out of it. When an
ancestor clips with rounded corners, Chrome (154, and Edge with it) stops
applying that concave clip to the backdrop blur. luci-app-honk embeds doona
in an iframe with border-radius: 4px, so the sheet covered the whole content
area there: only the blurred wallpaper showed, while hit testing still found
the page under the pointer-events: none layer. A rectangular or rounded-inset
clip, or no radius on the iframe, renders correctly.

The sheet is now cut with mask layers built from the shell's own sizes: the
top bar, the sidebar width, the content's end margin, the centred maximum
width and the content's corner radius. Narrow screens and right-to-left
reuse the same mask with different side widths. The top-level rendering is
unchanged outside the live data, at 800, 1440 and 1920px and in RTL.

The new e2e test loads doona in a rounded iframe and checks the page title's
pixels are dark ink; it fails on the old clip-path (darkest 149) and passes now.
2026-10-04 23:05:36 +11:00
Zakk 6ad05a83d4 fix(ui): draw page tabs at M again
Page tabs keep the segmented control's track, sliding selection and Tabs
semantics, but at M (32px, the M text size) like every other segmented
control. The Policies kind switch and its New group button go back to M,
so Segmented loses its size prop and the L segmented rules. The specs
assert M heights and 14px labels; the 360px DNS case leaves the tab-fade
cases because its tabs now fit.
2026-10-04 23:03:51 +11:00
Zakk d29068b93c chore(packaging): slim the licence files in the program archive
NOTICE links the CC BY 3.0, CC BY 4.0 and CC BY-SA 4.0 licences by URI,
which the licences allow, so the archive drops their texts and the CC0
one; the repository keeps them for REUSE. THIRD-PARTY-NOTICES.txt groups
packages whose licence texts match apart from copyright lines, wrapping
and indentation, and prints each text once under every package and
copyright line it covers. CHANGELOG.md leaves the archive; the nfpm
packages copy it from the checkout, and the ebuild stops installing it.
The archive shrinks from 3.47 MB to 3.21 MB unpacked.
2026-10-04 22:20:58 +11:00
Zakk 595737e962 docs(install): explain every release file
A release now has 38 files. Group them by purpose (program, add-ons, apk keys, honk, checksums and source) and say what each is and when to install it, in all three languages. Correct the sign-in description in the pages and themes docs, and show the two configuration screenshots.
2026-10-04 21:36:16 +11:00
Zakk 9368bc203b chore(release): prepare 0.1.0-beta.14 2026-10-04 21:02:10 +11:00
Zakk 4b8cfd30ee fix(widgets): give the edge handle room around its summary
The light sits in a control-wide square as in the panel header, so the
gap to the rates matches the header, and the handle adds the control's
inline padding after the rates, keeping them clear of the screen edge.
2026-10-04 20:43:39 +11:00
Zakk d514b4958a fix(widgets): keep the collapsed panel wide enough for its summary
The collapsed floating header reserves the widest rate, and a collapsed
panel is at least as wide as its header, so a panel resized to its
least width no longer cuts off the rates. The expanded width and the
resize limits are unchanged.
2026-10-04 20:43:39 +11:00
Zakk e881752c02 fix(i18n): write a shared byte unit once in a fraction
formatBytesFraction writes a unit both sides share once, so 70 MB of
268 MB reads 70/268 MB, while differing units stay on each side. The
memory widget, the overview's cgroup bar and the node quota usage use
it. The memory widget's meter takes the shorter cgroup used label, so
the meter fits on one row in the docked panel.
2026-10-04 20:43:39 +11:00
Zakk b995d0cc58 feat(widgets): put an Undock button in the docked panel header
The docked header no longer repeats the section's title. An Undock icon
button, styled like the buttons beside it, takes the pin's place, and
the menu drops its Undock item so the action has one entry.
2026-10-04 20:43:39 +11:00
Zakk 09da41dbfa fix(widgets): keep a pinned panel in place
A pinned floating panel no longer renders its move and resize handles,
so it cannot be dragged, moved by arrow keys, dropped onto the sidebar
or resized. Unpinning brings the handles back at the stored size and
offset; the viewport clamp still applies while pinned.

The panel now starts unpinned, migrated panels included; a stored
layout keeps the pin it was saved with.
2026-10-04 20:43:39 +11:00
Zakk b38e974d79 refactor(i18n): merge strings that name the same thing
Merged 48 groups of keys that carry identical text in all three locales and
name the same concept in the same role, such as Download, Upload, Engine,
Name and Protocol. 68 keys are removed and one, ui.undo, is added, so the
catalogues shrink by 67 keys. Callers, tests and e2e specs follow the kept
key.

52 groups stay apart because the text only coincides: Automatic as a DNS
upstream, a probe family and a group follow state; adjective states such as
Failed and Degraded; button verbs such as Apply and Create; CodeMirror
phrases; dynamically built config keys. The overview keys that the pinned
panel change still edits are left in place.
2026-10-04 20:31:58 +11:00
Zakk de59bcc413 docs(readme): move install, pages and themes into docs/
The READMEs drop from 175 to 49 lines. Installation and package choices (including what the optional precompressed package does), the page tour and the theme gallery move to docs/install, docs/pages and docs/themes in English, Simplified and Traditional Chinese, and the READMEs link them along with fonts, country flags and the changelog.
2026-10-04 20:18:19 +11:00
Zakk 8ef8de6db4 fix(ui): draw nav chevrons at S2's icon size and colour
The section chevrons drew the 20-unit workflow chevron in a 10px box,
leaving a 0.75px stroke. S2's side navigation uses its 10px UI chevron
(about 10px long, 1.75px stroke) in neutral-subdued. Draw the chevron at
16px with a 0.7-unit stroke on its outline to reach that weight, keeping
its centre, and size the docked widgets header's menu and collapse
icons to match. Colours stay the section's secondary text.
2026-10-04 20:15:21 +11:00
Zakk e2710db3b5 ci(release): build Alpine and OpenWrt apk packages
nfpm's apk output is rejected by apk-tools, so Alpine and OpenWrt 25.12
users had no package. Two new jobs build them from the existing recipes
against the archives of the same run: tools/package-alpine.sh runs abuild
in a pinned Alpine 3.24 container and tools/package-openwrt.sh runs the
pinned OpenWrt 25.12 SDK. Each run generates its own signing key and the
release attaches the public half; OpenWrt signs only its index, which is
attached as doona-openwrt.adb.

The nfpm packaging moves out of the build job and runs next to the two
apk jobs; it also builds doona-precompressed. A sums job collects every
package and writes SHA256SUMS, so the release job still only uploads.

workflow_dispatch packages package.json's version from a branch and keeps
the files as run artifacts, skipping the Check wait and the release.
2026-10-04 20:01:04 +11:00
Zakk 73008bbe8a build(package): ship precompressed assets as an optional package
A server hosting doona's directory, including honk's UI hosting, can only
send compressed responses when the text assets carry .br and .gz siblings.
Shipping them inside the program archive would grow every install,
including routers, so tools/package.sh now writes them to a separate
reproducible archive, doona-precompressed-<version>.tar.gz, and leaves
the program archive byte-identical to before.

Each sibling is brotli -q 11 or gzip -9 -n of a text asset of at least
1 KiB, kept only when smaller. The new nfpm config, the APKBUILD
subpackage and the OpenWrt package install the siblings into doona's
directory and depend on doona; nfpm pins the same doona version per
format.
2026-10-04 20:01:04 +11:00
Zakk 2553dea7f7 fix(charts): centre a stacked waffle grid in its card
Below 480px the grid sits above its legend at up to 267px wide and started at the card's inline start, leaving a wide empty strip beside it in a card a little under the breakpoint. It is now centred there; beside the legend it still starts the row.
2026-10-04 19:58:02 +11:00
Zakk 1245781ec3 feat(ui): draw page tabs as the segmented control at L
Page navigation keeps React Aria's tab and tabpanel roles and is drawn as S2's SegmentedControl at L: 40px, 16px labels, the L inset and 9px corner, in the same filled track with the sliding slider, glass groove and press motion. The track, slider, item and state rules in segmented.css and buttons-menus.css now name both, so tabs and segments share one look; tabs-panels.css only sizes the bar and lets it scroll. In-page segmented controls stay M. Geometry specs expect L tab rows, and page-tabs.spec.ts checks the size, the slider and that switching tabs moves nothing.
2026-10-04 19:57:15 +11:00
Zakk 237151c357 fix(nodes): share the toolbar row with the page's lead line
The source actions sat alone at the right of their own toolbar row, which read as an empty gap between the lead line and the cards. The lead line now starts that row, and on phones takes a row of its own above the actions.
2026-10-04 19:42:31 +11:00
Zakk 3596e5ad7b fix(ui): space dialog paragraphs with the column gap only
Paragraphs kept the browser's 1em margins inside the dialog's flex column, so each sentence in the routing template dialog sat about 44px from the next instead of the 16px gap.
2026-10-04 19:42:31 +11:00
Zakk 783a23bed7 feat(ui): add Skeleton for loading placeholders
Overview drew invisible copies of the Kv grid in the feature (BodyWait)
with a spinner over them. The kit now has S2's Skeleton for a card body
of facts: the facts' grid with each label and value as a shimmering
block, then the caption, body line or table height below, so each card
keeps the height it reserved before. A label with a help button takes
the button's height, which makes the traffic counters card exactly as
tall loading as loaded. The shimmer follows S2: a 300% gradient swept
every 2s, still under reduced motion. A visually hidden status names
the wait.

Loading notices turn S2's ProgressCircle (indeterminate, S 16px with a
2px stroke, M 32px with 3px) labelled by their text, instead of the CSS
spinner. The button's pending spinner stays as it is.
2026-10-04 19:31:29 +11:00
Zakk b1451accc5 feat(ui): show real usage as a meter
The Overview memory card and the DNS cache card drew their usage with the
chart Bar, which has no meter semantics. The memory usage is now a
metered Kv fact, as the node cards have: its label over its value like
the facts around it, the S track under the value, the tone thresholds
kept. The DNS cache usage stands above its fact tiles rather than among
Kv facts, so it takes the kit Meter (S2 Meter, size M). Both read their
value text to assistive technology. A zero limit or capacity gets no
meter; the memory facts then keep the current and limit, and the cache
card keeps its entry facts.

Ranking and share bars stay Bar, as charts.
2026-10-04 19:31:29 +11:00
Zakk 326cca0197 feat(widgets): give Auto-sized wide charts their statistics column
The default traffic card spans two thirds of its row from 1024px but has
Auto width, so both renderers and the stylesheet, which only looked at a
chosen width, never gave it the peak and average column. Packing now
marks a cell data-wide when its measured box is over seven twelfths of
the row from tablet width, a WideCell context passes the mark to the
card, and the renderer gates and dashboard.css treat that mark like a
chosen two thirds or full width. Saved Auto layouts follow it too.

The statistics are now one compact line each, label at the start and
value at the end, and the column is as wide as its lines need, so four
figures stay within a short chart's height instead of stacking into a
column taller than the chart. Key-value metric cards that wide list the
same figures beside their readings.

The memory widget's readings change with it: the panel's medium size
keeps to resident memory and the cgroup's use against its limit and
charts from large, chart forms keep the limit as text, a zero or absent
limit draws no meter and reads as not reported, and a null limit the
backend lists reads as no limit, as on the overview.
2026-10-04 19:20:38 +11:00
Zakk 08a2ebf3c7 feat(i18n): let the time follow a 24-hour, 12-hour or regional clock
Times were fixed to a 24-hour clock in every language and date order.

A Time format setting beside the date format picks the clock. 24-hour stays
the default; 12-hour writes the interface language's own day-period words;
Automatic takes the hour cycle Intl reports for the browser's first language
tag, falling back to the interface locale. The clock composes with every date
order, and Year-Month-Day writes its day period in the interface language.

format.ts resolves the clock in one place for localTime, localMinute,
localTimeFormat and the new localClockFormat, which the chart axes and the log
heatmap now use in place of their own h23 formatters. The choice is stored in
doona-time-format and shows up in the search dialog.

A 12-hour time is longer, so a source card's expiry takes the width it needs
(a row of its own when wider than half the card), the log and event time
columns are wider, and the heatmap axis hides its middle mark where a longer
time would leave less than 16px between marks.
2026-10-04 18:48:09 +11:00
Zakk b340e6ab09 fix(e2e): wait for the state three flaky tests depend on
Node group submenu keyboard test: the existing groups and New group... come
from two separate completeness checks (useNodesPage and useMainSourceEdit),
so End could run before New group... was in the submenu. The test now waits
for the item before pressing End.

Subscription options test: the test left the page right after the toast and
read only the lines CodeMirror had rendered, with the default timeout, while
the editor is a lazy chunk. It now waits for the dialog to close and the
editor to mount, then reads the whole document with a longer timeout.

Segmented focus test (WebKit): focus returned to the picker but not back to the
radio. On expanding, the track was still hidden in WebKit's last computed
style, which refuses focus() to an element it takes for hidden, while Chromium
updates style first. Segmented now reads the track's computed style before it
moves focus back.
2026-10-04 18:23:01 +11:00
Zakk f59db7a9d4 fix(theme): write notice fills in white in light themes 2026-10-04 18:08:11 +11:00
Zakk 60d1bdca9c feat(i18n): let the date format follow the browser region or a chosen order
Dates followed the interface language's fixed Intl locale, so an English
interface wrote month/day/year even for a reader in Australia.

A Date format setting next to the language picks the order. Automatic, the
default, formats with the browser's first language tag; Day/Month/Year
and Month/Day/Year stand for en-AU and en-US, so Intl keeps the separators and
the date-time glue; Year-Month-Day is built from formatToParts, because no
locale is guaranteed to write ISO order. Every order keeps the 24-hour clock,
the Gregorian calendar and Latin digits.

format.ts resolves the order in one place for localTime, localMinute,
localTimeFormat and the new localMonthDayFormat, which the day-scale chart
axis now uses; call sites are unchanged. The choice is stored in
doona-date-format and shows up in the search dialog.
2026-10-04 18:07:00 +11:00
Zakk 871abe6e37 feat(nodes): show node sources as cards with a quota meter
The source table could not hold a usage meter without breaking its row
rhythm. Sources now render as an S2 CardView (size M, regular density):
each card lists the source's facts in two columns and its usage as a
full-width fact, with a meter track under the value when the source has
an allowance. Selection and arrow keys pick the source whose nodes are
listed below.

Date-times across the app use a 24-hour clock.
2026-10-04 17:47:24 +11:00
Zakk cdd9263607 chore(comments): drop comments that restate code or narrate history
Remove comments that repeat the adjacent code, tell branch or lab history, or duplicate another comment, and fix a few that no longer match the code.
2026-10-04 15:55:44 +11:00
Zakk 3e2edc9219 feat(widgets): show subscription quota and the memory limit
providerRowView gains the share of a provider's traffic allowance used,
absent when the allowance is null or zero. Source health draws it as a
meter under each source, and a new Subscription quota widget, sharing
the same row view, lists the subscriptions with their meter, or their
usage without an allowance, and their expiry. The widget is offered in
both galleries, with the panel's key-value form, and is not in the
default layouts.

The memory widget's key-value form meters cgroup usage against
cgroup.limit_bytes when a limit is set, and every form past the
narrowest shows a badge with the OOM kill count when it is above zero.
2026-10-04 15:38:55 +11:00
Zakk 1d0f8124c1 chore(css): read existing tokens and drop overridden declarations 2026-10-04 15:30:42 +11:00
Zakk 6e3e6a69b9 feat(widgets): move the rates split into the widget's own settings
The choice between one chart and two for download and upload belonged to
the speed widget alone but sat in the panel's menu as a panel-wide flag.
It is now a field on each speed widget, set by a switch in its inspector
on the panel and the dashboard, so two speed widgets can differ. A panel
saved with the former flag reads it as split on each of its speed
widgets and drops it from the panel layout, without a version bump; the
dashboard's speed cards, which followed the same flag, are migrated once
from it.
2026-10-04 15:28:02 +11:00
Zakk 3d9445b35a feat(widgets): add outbound errors, node availability and DNS latency
Three widgets join the gallery of the dashboard and the panel, not the
default layout. Outbound failures ranks the outbounds whose failure
counter is above zero since counter_since, in their usage colours, and
says when none failed. Node availability counts each node once by its
preferred health: available of all, then unavailable and unmeasured
with a status light. DNS latency gives the median and p95 of lookups
that reached an upstream, a swarm of them, and one strip per upstream
when tall or large; under five such lookups it shows the count alone.

Each offers only the sizes it fills: no small outbound failures, no
large node availability, and no upstream strips in the key-value form.
A dot chart without rows takes the chart heights. The gallery falls
back to samples when live data has no failure or too few lookups, and
the demo now counts failures on two outbounds. Hidden-dot counts in a
swarm closer than a label's width share one label instead of
overprinting.
2026-10-04 15:27:06 +11:00
Zakk 6ec538e706 feat(activity): explain that kernel-forwarded direct traffic is not counted
With an eBPF datapath the kernel forwards some direct connections on its own,
and a backend that observes traffic only in userspace leaves their bytes out of
the rates, the traffic history and the connection figures. When the runtime
reports traffic.observed_by userspace on an eBPF datapath, the Activity traffic
chart and the Connections traffic view now carry a help popover beside their
titles that says so. Mixed or eBPF observation shows no hint. The demo runtime
reports userspace observation, as honk does.
2026-10-04 15:08:33 +11:00