Commit Graph
774 Commits
Author SHA1 Message Date
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 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
Zakk fe701b5e9d fix(ui): align Activity card captions and controls
Allow setup notes to wrap and name cards through captions without adding headings. Move narrow metric controls onto a second row and size adjacent help targets from the control token while preserving the approved wide latency geometry.
2026-10-01 23:04:38 +10:00
Zakk 7a2534c76c fix(policies): use kit surfaces and clarify group edit help
Compose node and drag surfaces through the kit while preserving the merged group dialog. Put write details beside the title and retain a short purpose sentence.
2026-10-01 22:35:13 +10:00
Zakk c369ed62e9 fix(nodes): preserve latency names and clarify source help
Show complete latency names and keep source details in ContextualHelp beside a short list note.
2026-10-01 22:35:13 +10:00
Zakk dc9eb67286 fix(dns): preserve cache domains and verify kit controls
Keep full cache domain values visible and verify shared picker and switch behavior.
2026-10-01 22:35:13 +10:00
Zakk 537f6a1b23 fix(rules): preserve expressions and move template details into help
Wrap complete rule expressions and show short template summaries with contextual details. Verify multiline rows, picker insets and touch reveal.
2026-10-01 22:35:13 +10:00
Zakk 2c93469ee7 fix(overview): wrap degradation details and use line tokens
Keep degradation explanations complete and use the shared chart line tokens.
2026-10-01 22:35:13 +10:00
Zakk 57349b6873 fix(settings): use kit pickers and simplify the backend heading
Use the shared palette picker and a named backend region. Verify picker labels, content bounds and sign-out behavior.
2026-10-01 22:35:13 +10:00
Zakk 79af30f5e7 fix(shell): keep navigation and search content complete
Wrap page links within the navigation and preserve search descriptions. Open search after its trigger is ready.
2026-10-01 22:35:13 +10:00
Zakk 41f6d8996a fix(ui): align kit controls and preserve complete content
Unify control sizing, spacing and focus rings across the kit. Preserve wrapped text and measured rows, and expose shared node, drag and dialog help surfaces.
2026-10-01 22:35:13 +10:00
Zakk cfd887fe02 feat(rules): unify visual routing and dns rule editing 2026-10-01 22:08:14 +10:00
Zakk 3e0a5ffab6 feat(rules): model compound conditions and preserve rule source 2026-10-01 22:08:14 +10:00
Zakk 435264d02a feat(appearance): show flags on node names in policies
Render policy summaries, default members, final node outbounds and membership explanations with the shared node name decoration. Keep group names and configuration text unchanged, including names with template placeholders.
2026-10-01 21:48:41 +10:00
Zakk e900d6ac7b feat(appearance): allow node flag overrides
Expose a searchable Flag field in node details and the row action menu. Persist display overrides by node name and update shared views immediately.
2026-10-01 21:48:41 +10:00
Zakk 3003b70013 feat(appearance): show country flags by default
Share the Policies region detector with bounded flag lookups, and render added flags as unselectable, hidden decoration. Keep real names in clipboard content, accessible names, overflow tooltips, searches and configuration writes.

Declare node names explicitly across tables, policy members, pickers and chart labels. Enable decoration unless the browser stores an explicit off preference. Use one spacing token, give light flags a subtle edge, and explain the preference in all three languages.
2026-10-01 21:48:41 +10:00
Zakk 6486acb5b8 feat(ui): render country flags with a self-hosted font
Put a flags-only colour font first in the shared text and monospace stacks so Windows displays the same artwork as other platforms. Preserve existing emoji text, retain the asset licences, and let Vite and the service worker handle local URLs and offline caching.
2026-10-01 21:48:41 +10:00
Zakk 0be5583f63 fix(policies): describe the every-node filter in plain words 2026-10-01 17:09:32 +10:00
Zakk 31597018aa fix(mock): keep demo selections and scenario assertions consistent 2026-10-01 17:09:32 +10:00
Zakk 8c044b0bde chore(mock): seed the demo from the regions routing template
Derive groups, policies and routing from writeTemplate. Keep gaming, office for a fixed work exit and backup for every node in the harbor subscription beside the template.

Resolve nested defaults consistently when the mock starts and reloads.
2026-10-01 17:09:32 +10:00
Zakk 972e1facda fix(nodes): fit the phone toolbar and tables
On phones the subscription toolbar wrapped, and Kind pills, protocol,
count and latency values were cut at the card edge. Keep refresh and its
overflow menu in one kit ActionGroup and use the regular button size for
page actions, as Dns and Logs do. Order row headers and primary values
first, then actions and optional columns, through one memoized helper so
probe updates keep DataTable's cached rows.

Tables wider than the phone scroll inside the card with an edge fade on
the side that hides columns. The Actions header keeps its accessible name
but shows no text on phones. Tests assert text bounds before and after
scrolling at 320/360/390px, the fade sides, and that removal dialogs
leave the background tables intact.
2026-10-01 16:37:23 +10:00
Zakk 57d7b3f746 fix(config): fit the file picker and editor toolbar on phones
Keep the config file basename visible when the picker has little space,
with the full path available through the kit tooltip.
Give the picker and its button the same intrinsic minimum, and wrap file
metadata onto the next line to preserve the kit gap when space runs out.

Put the editor note above one action row. Keep validation visible and
collapse secondary actions into MoreMenu when their measured width does
not fit. Move the disk-change write refusal into ContextualHelp beside
the editor title, with short notes in all three languages. Preserve the
editor commands, shortcuts and disabled states.

Cover phone and tablet geometry, dirty drafts, keyboard menu actions and
ContextualHelp alongside the existing filename tests.
2026-10-01 16:37:23 +10:00
Zakk c813e7164c fix(i18n): distinguish subscriptions, node sources and config files
Use subscription for URL entries and node source for the combined node
list, and name configuration files consistently across all three
locales so navigation, actions and search tell them apart. Removal copy
changes only with the terminology. Update the assertions that match the
renamed strings, including the write-success/reload-failure wording.
2026-10-01 16:37:23 +10:00
Zakk 6207ed26b1 fix(groups): align dialog fields and actions with the kit
Keep filter help with the list and use numbered labels only for multiple filters. Add the missing secondary outline treatment for Cancel and Add filter while preserving group validation and writes.

Keep long forms in the kit's scrollable body so the title and actions remain visible. Place edit help inside the same content insets and preserve its accessible description.
2026-10-01 15:12:16 +10:00
Zakk 6affb3e4a7 fix(groups): clarify fields and space dialog sections
Give the declaration and running configuration a shared section layout
with the same gap in both themes. Move creation guidance to the dialog
description and associate it with the dialog for assistive technology.

Mark the group name required through TextField, explain the first-member
default for manual selection, and show filter syntax and optionality in
all three locales. Keep switch help and section markup in the kit.

Wait for picker dismissal before testing dialog Escape, and move the
pointer away before capturing each dialog state.
2026-10-01 15:12:16 +10:00
Zakk 12209a9be4 refactor(policies): import group text from its shared home
The group text helpers now belong to shared/groupText. Point their
consumers there and remove the forwarding exports from policies/view,
leaving one import path for declarations and outbound choices.
2026-10-01 15:12:16 +10:00
Zakk 56fcf64997 fix(groups): complete manual group creation
Manual creation had no default picker even after the filters defined its
members. Derive choices from the draft and write the selected default in
the same group entry so Nodes and Policies can finish creation in one flow.

Keep None in the final picker before a name is entered and restore the
create help. Translate an unquotable node name error instead of letting
the New group action throw before it opens the dialog.
2026-10-01 15:12:16 +10:00
Zakk ddbfffc100 fix(policies): read a focused group outside the viewport
The post-create View group action can focus a card below the fold. A
paused resource has no initial group data, leaving that card on Loading
without an Edit group action. Keep the focused group active so creation
can lead directly to editing.

Removing this change makes the Policies create-and-Apply test time out
when it opens the new group's More actions menu. Keep it separate from
the shared dialog because it changes the card's polling behaviour.
2026-10-01 15:12:16 +10:00
Zakk 430de8d49c feat(groups): share the create and edit dialog
New groups required a second dialog to set filters and a final outbound.
Use the declaration editor for creation from Policies and Nodes, retaining
Policies' pending changes until Apply. Keep runtime-only settings in edit
mode.
2026-10-01 15:12:16 +10:00
Zakk 5c27551b41 fix(ui): keep keyboard focus visible in flow tables
Prevent native page scrolling from competing with row navigation. Measure the sticky detail top for row reveal and scroll margins, and wait for a selected virtual row to mount before restoring focus when closing its detail. Return focus to the grid when the selected record is gone.
2026-10-01 14:33:47 +10:00
Zakk c3a41d84de fix(ui): let event and log tables scroll with the page
Keep streamed tables virtualised against the page viewport, pin their headings below the app header, and preserve the visible record when new rows arrive. Keep row details within reach on long lists and retain horizontal scrolling on phones.
2026-10-01 14:33:47 +10:00
Zakk 78048d85f5 feat(nodes): open subscriptions from setup links
Open the existing subscription dialog from the getting-started action and
consume its route parameter once capabilities are known, including when
subscriptions cannot be managed. Keep other query parameters and history
intact while retaining the existing empty-state layout.
2026-10-01 13:19:33 +10:00
Zakk 52197023d8 feat(activity): guide first-run setup
Guide new installations through adding subscriptions or proxy nodes, choosing
routing and checking the selected connection. Evaluate written configuration
as a whole so DNS rules stay separate and presets survive split includes.

Remember completion or dismissal, then release the setup resource leases.
Use the kit close control with the existing localized accessible name.
2026-10-01 13:19:33 +10:00
Zakk b28325bfd2 fix(activity): restore the latency card's quiet node picker
The filled group trigger obscured the node and disagreed with the
Automatic selection. Restore the original card geometry, display the
resolved node, and keep the menu to group choices with contextual help.

Include the visible node in the trigger's accessible name while keeping
the menu named Groups. Pair the picker and help with HelpRow, remove
unused group metadata and button intent handlers, and reset a missing
stored group after its snapshot commits.
2026-10-01 12:58:12 +10:00
Zakk 9f707abd23 fix(ui): explain locked groups with a contextual help popover
Use ContextualHelp and PopoverDialog so mouse, touch, pen and keyboard
presses share dismissal and focus restoration. Name the trigger for the
group it explains and constrain the popover to the content column,
including after a viewport resize.

Rely on main's Tabs and Picker focus correction instead of adding another
global outline exclusion.
2026-10-01 12:35:39 +10:00
Zakk db7dccbf6c fix(policies): stage interruption in the edit draft
Keep interruption and the other draft fields in one source write against
the original digest, so a live PATCH cannot advance the draft past an
external edit. Preserve immediate PATCHes in view mode.
2026-10-01 12:35:39 +10:00
Zakk 7aaa8ff21c fix(policies): refresh edit drafts and release both networks
Keep unsaved group fields when an interruption PATCH advances their source
digest, and retain the conflict check for external edits. Clear both
network overrides when releasing a collapsed automatic group.

Reopen revisited deep links, align the kind filter with the URL, explain
resource-level read-only configuration, and label interrupt-only sections.
Remove unused override presentation branches and cover filter URL writes.
2026-10-01 12:35:39 +10:00