Commit Graph
963 Commits
Author SHA1 Message Date
Zakk e144aebb00 fix(config): keep unsupported source sections editable
Ignore empty form projections when checking raw edits, so include directives remain writable without enabling edits to represented settings. Exercise unsupported source content in editor tests and wait for router initialization before history traversal.
2026-10-02 08:49:36 +10:00
Zakk 69078c7df0 feat(config): unify source editing and diagnostics
Make module cards summaries that link to their feature editors. Protect form-owned source values, link located settings to their forms, and show accepted or draft diagnostics beside the source editor with legacy validation links preserved.
2026-10-02 08:49:36 +10:00
Zakk f3a5377673 feat(settings): add persistent global configuration form
Edit typed global fields in Settings with source-preserving writes and reload validation. Keep runtime overrides explicitly temporary.
2026-10-02 08:49:36 +10:00
Zakk 622e169d18 test(e2e): wait for settled rule rows and a closed dialog
The phone tap test scrolled a rule cell that a later configuration read could replace, and the bulk close test pressed Close all while the confirmation was still closing. Both now wait for the state they act on.
2026-10-02 04:02:21 +10:00
Zakk 57e8372afc fix(nodes): keep focus and contrast in windowed latency rows
The focused row stays mounted outside the window and gets the focus back
when new data moves it; a focus places the window at once. An off-screen
group keeps one row mounted so its height is measured again after a resize.
Ring and range read --rp-subtle (at least 3:1 on every palette, now checked
in the contrast spec), the slower dot reads --rp-notice through a class, and
the mock keeps node averages on inherited group samples as honk does.
2026-10-02 04:02:21 +10:00
Zakk fef339646b perf(nodes): render only visible latency rows
With every group expanded on a 3,000-node mock the Latency tab built about
626k DOM nodes and an 871 MiB heap. An expanded group longer than 40 rows
now mounts only the rows near the viewport, with spacers for the rest, and
row details are built only for mounted rows. Printing mounts every row.
2026-10-02 04:02:21 +10:00
Zakk a616fb26d8 refactor(nodes): draw latency as current, average and range
Each row is a solid dot for the latest latency over a hollow ring at the
10-sample average (the moving one when that is missing), joined by a thin
line across every value the row has. The axis covers the averages again.
2026-10-02 04:02:21 +10:00
Zakk e5b9ef1b3c refactor(nodes): mark slower than usual latency by colour only
The band still read as a stray grey dot in the dark theme. Each row now draws
only the latest latency, in the warning colour when it is well past the
higher average; the tooltip keeps both averages and the note.
2026-10-02 04:02:21 +10:00
Zakk eeb78e4323 refactor(nodes): show the usual latency range as one band
Dot, diamond, tick and span were unreadable at row size. Each row now draws
its latest latency as a dot over one band between the two averages (a line
with one average, nothing with none); the dot turns to the warning colour
when it is well past the higher average. The tooltip keeps every number.
2026-10-02 04:02:21 +10:00
Zakk 43638f7d9e feat(nodes): show honk's latency averages
honk now reports moving_avg_ms and avg10_ms on healthy node rows. The mock
returns per-node averages (null on unavailable rows, on group samples and on
two never-probed nodes), the latency axis also covers the 10-sample average,
and the marker span is computed by a tested helper.
2026-10-02 04:02:21 +10:00
Zakk b2d1b3e802 fix(nodes): match honk intervals and wait for editability
Use the shared duration parser, map typed zero to manual updates, and distinguish unsafe integers. Preserve pending deep links until source validation completes and avoid guarding unchanged intervals.
2026-10-02 04:02:21 +10:00
Zakk 101d4b3e75 refactor(nodes): edit a subscription from its row menu
Keep auto-update values as text and use the existing row menu for edits. Remove the obsolete interval link fields and labels.
2026-10-02 04:02:21 +10:00
Zakk 406aaee7c9 fix(i18n): call subscription fetching update
Fetching a subscription again and its interval read as update in every
language; refresh stays for reloading the page and its data.
2026-10-02 04:02:21 +10:00
Zakk fc61d7ddb4 feat(nodes): accept a typed subscription update interval
The interval picker gains a custom choice that shows a count and a
minutes or hours unit. A value outside the presets is shown as typed
and worded like them in the table; the writer keeps the shortest exact
form (90m, 2h).
2026-10-02 04:02:21 +10:00
Zakk fc384955b6 fix(nodes): preserve group filters across node selections
Keep the URL-selected group when a latency node selection changes so group links retain their scope. Remove the obsolete confirmation strings from the replaced inline interval editor.
2026-10-02 04:02:21 +10:00
Zakk 382dbc52b5 test(e2e): retain node editing and jump flows
Move the new node flows into the existing nodes spec and remove state matrices and duplicate presentation checks to reduce browser-test cost.
2026-10-02 04:02:21 +10:00
Zakk af9cdee3c1 test(nodes): cover editor state in unit tests
Project source eligibility, rename validation and removal blockers into the existing view model so state matrices run without a browser. Cover interval lookup and action consumption at the hook and controller boundaries.
2026-10-02 04:02:21 +10:00
Zakk 4e3535eb15 fix(ui): constrain node links and label interval actions
Share constrained and inline link layouts in the kit so long Config names keep
card padding and latency notes retain their text line height. Give interval
links a visible edit label and match the row's control size.
2026-10-02 04:02:21 +10:00
Zakk 7e94821f24 fix(nodes): preserve references and state when editing sources
Carry default and final references through node renames and reject references
in other sources. Clear the active draft before following a successful save,
consume read-only subscription jumps, and retain verified subscription
intervals. Show name conflicts on their field.
2026-10-02 04:02:21 +10:00
Zakk 18d1e05f25 test(e2e): align node scenarios with template groups
Use office for direct node selections now that proxy contains nested groups.
Exercise regional filters against subscription nodes and use travel for the
cross-source subscription reference fixture.
2026-10-02 04:02:21 +10:00
Zakk f5bf4c6fec feat(nodes): link latency gaps to probeable node rows 2026-10-02 04:02:21 +10:00
Zakk 1d4bc632ae feat(nodes): centralize authored node and subscription editing 2026-10-02 04:02:21 +10:00
Zakk f44a18bc1b fix(config): serialize subscription options as url-field blocks 2026-10-02 04:02:21 +10:00
Zakk 70d27588bf chore(deps): bump github actions to their current majors
Apply the adjacent Dependabot updates together to avoid workflow conflicts:
- actions/upload-artifact v4 -> v7.0.1
- actions/setup-node v4 -> v7.0.0
- actions/checkout v4 -> v7.0.1
- pnpm/action-setup v4 -> v6.1.0
- softprops/action-gh-release v2.5.0 -> v3.0.3
- actions/download-artifact v4 -> v8.0.1 for upload-artifact v7 compatibility
- actions/github-script v7 -> v9.0.0 for the Node 24 runtime

Pin every action to its release SHA and retain exact version comments.
Keep pnpm sourced from packageManager, explicit pnpm caching, unique shard
artifact names, zipped uploads and merge-multiple report extraction.
Keep gh-release's draft, prerelease, files and unmatched-file inputs.
Group release environment writes and separate SOURCE_DATE_EPOCH assignment
from export so shellcheck passes without masking git failures.
2026-10-02 04:02:11 +10:00
Zakk 46dee97520 fix(api): count every sse line toward the frame cap
Complete comment lines skipped the cap while the same comment split across reads counted, so chunking alone could close the stream; complete id and event lines skipped it altogether. Check every line, finished or not, against the data, id and event the frame already holds.
2026-10-02 03:47:04 +10:00
Zakk f77f765e20 perf(logs): batch live log updates
A busy log stream published a new list every 100 ms and kept React Aria rebuilding the table collection. Let a feed choose its record cadence and publish logs at most every 250 ms; status, clearing and resuming still publish within 100 ms, and every record is still taken into the bounded ring as it arrives.
2026-10-02 03:47:04 +10:00
Zakk d9649d2f43 fix(api): cap unfinished sse frames
readSse kept an unterminated line and every data line of an unfinished frame without a limit, and rescanned the whole partial line on each read. Scan each read once and end the stream with a terminal frame_too_large error once a frame's UTF-8 data passes 1 MiB, so it does not reconnect into the same frame.
2026-10-02 03:47:04 +10:00
Zakk 7b1061a11b test(e2e): check the fixed cards fill their width and height
A table-driven check at 1440 and 390px asserts the outcomes waffle, the cache card, a two-node group and a group filtered to one node span most of their card and leave little below. The cache assertions read the new entry and capacity tiles, and the node grid alignment check expects a short group to share its row instead of matching a large group's columns.
2026-10-02 03:12:24 +10:00
Zakk fe11d3d68a fix(nodes): let node grids fill their rows
A short group kept every column auto-fill could fit, so two nodes took half a wide card. The grid now uses auto-fit. The virtual grid for a large group sized its columns and 376px panel by the container only; a filter that left one node showed a quarter-width tile over 312px of nothing. Columns are now capped by the result count, and rows that fit take their own height without the scroll fade.
2026-10-02 03:12:24 +10:00
Zakk ea3a07383e fix(dns): show cache entries and capacity as fact tiles
The cache card shares a row with the ranking card and kept 138px empty under a single "Entries: 97 / 256" line. Entries and capacity now stand as two FactStrip tiles, from the raw UInt64 values, so the card uses the height the row gives it; the no-capacity note is unchanged.
2026-10-02 03:12:24 +10:00
Zakk c509d2a9f5 fix(charts): let the waffle use its card's width
The waffle drew fixed 14px cells and a legend at its natural width, so a card wider than 167px left its right half empty. The grid now takes fractional columns with square cells, capped where a card beside a taller chart would otherwise outgrow it, and a container query puts the legend beside the grid from 480px and under it below that, with counts aligned at the far edge.
2026-10-02 03:12:24 +10:00
Zakk 270c94c192 fix(i18n): name the qiangguo palette 強國
Use 強國 / 强国 / Qiangguo for the palette's name and section header, matching its id.
2026-10-02 03:07:30 +10:00
Zakk 393a81ebdd fix(ui): name every palette variant officially
Ant Design shows its Default and Dark algorithm names, and Arco, Semi
and Kary Pro Colors share Light / Dark, untranslated like the other
palettes. Kary reuses palette.lightDark, so palette.karyVariants goes.
2026-10-02 03:07:30 +10:00
Zakk a16ef504c9 fix(ui): set menu section headers apart from descriptions
Section headers were as small and muted as item descriptions. Follow
S2: headers are bold in the text colour with more room above each
later section, and descriptions stay regular under a selected item.
Kary Pro Colors now names its official Light and Dark variants.
2026-10-02 03:07:30 +10:00
Zakk 1c35f2bb1d fix(shell): keep the wordmark choice in settings only
Drop the wordmark options from the top bar palette menu and the phone overflow menu; Settings > Appearance remains the one editor.
2026-10-02 02:41:08 +10:00
Zakk 3970fc1eb6 fix(shell): keep main's top-bar shortcuts
Restore main's appearance menus and shared settings state. Remove the duplicate top-bar settings link.
2026-10-02 02:41:08 +10:00
Zakk ec36357c9b fix(shell): restore the top bar theme shortcut 2026-10-02 02:41:08 +10:00
Zakk fa8ddde5a7 test(shell): align regression coverage with settings entry points 2026-10-02 02:41:08 +10:00
Zakk 7af95213d5 refactor(activity): consolidate outbound mode and managed rule editing 2026-10-02 02:41:08 +10:00
Zakk dce69c22a8 refactor(settings): route backend actions to their owning pages 2026-10-02 02:41:08 +10:00
Zakk 741a537e0a refactor(shell): centralize appearance and token editors in settings 2026-10-02 02:41:08 +10:00
Zakk 8362cb8677 ci(check): pin actions by sha and write shard summaries
Pin the existing action major versions to resolved commits and let Dependabot update them weekly. Write Playwright duration and passed, failed and flaky counts for each shard.
2026-10-02 00:59:03 +10:00
Zakk 1f6c99e240 ci(check): run matrices and firefox nightly with a failure issue
Run the full matrix on nightly and dispatch events, plus Firefox connections and router coverage. Keep one failure tracking issue with write access isolated to its notification job.
2026-10-02 00:59:03 +10:00
Zakk 978715e0de ci(check): route docs-only prs to a light check behind a ci-ok gate
Use the event merge base and an explicit docs allowlist, checking both rename ends. Require the chosen lane to succeed and skip browser report merging only when e2e did not run.
2026-10-02 00:59:03 +10:00
Zakk 245fc36128 ci(check): cancel superseded pr runs and set job timeouts
Cancel older runs of the same pull request and bound each existing lane to its measured runtime budget.
2026-10-02 00:59:03 +10:00
Zakk 398771cc22 test(policies): resolve new groups by their stable ids
Use the group catalogue for newly created group queries and deep links so the visual editor coverage follows the honk v2.2 identity contract.
2026-10-02 00:07:03 +10:00
Zakk b4d167ff57 test(policies): select manual policy with the keyboard
The focus assertion must exercise keyboard selection rather than depend on pointer focus restoration while the select popover closes. Wait for the listbox to close before checking that the newly mounted default-member picker leaves focus on the policy trigger.
2026-10-02 00:07:03 +10:00
Zakk a5ae0689b0 fix(api): align honk v2.2 behavior and demo contracts
Report source read-only reasons and remove the obsolete destination policy error. Keep port zero invalid and describe independent recorder demand and grace.

Align demo recording, group identity, URL display and error precedence with honk df4801cc8. Vendor its native API fixture and regenerate types; retain the release binary pin because contract checks do not use it.
2026-10-02 00:07:03 +10:00
Zakk 2dcc372ecd feat(policies): consolidate visual group editing
Use one shared editor for group policies and membership, with region, subscription, node and subgroup selections, removable tags and draft undo. Keep subgroup selection in one place. Edit compound filters with the routing editor's condition rows: kind, values, negation, AND rows and OR lines. Represent mixed matching modes as OR terms within the same condition, preserving negation and untouched source bytes. Keep raw fields only for expressions the model cannot represent.

Route Nodes shortcuts to that editor with a staged selection. Replace Arrange with the Policies header and card pencils, preserving old links. Show an All nodes tag for unfiltered groups, a short node count and collapsible matching names. Preserve empty selections and compact group syntax, and let other cards appear when a group read stalls.

Make group tags whole kit links from Nodes, Connections, Flows and nested groups. Scroll the linked card below the fixed header, focus its heading after loading, and briefly highlight it. Preserve keyboard grid navigation and stop following the card when the user navigates away.
2026-10-01 23:41:13 +10:00
Zakk 12cf69c864 feat(policies): edit group membership visually
Open the shared group editor from Arrange cards and make regions, subscriptions and searchable node selection the primary membership controls. Preserve source spelling and unchanged lines so visual edits do not discard custom configuration.

Use case-insensitive region tokens for new selections while recognising unchanged legacy templates. Count region choices and selected nodes from the actual retained filters. Parse and build compound filter conditions, retaining the original bytes until a line changes.
2026-10-01 23:41:13 +10:00