Commit Graph
246 Commits
Author SHA1 Message Date
Zakk 0bde8441f9 fix(ui): draw hub page links as S2's Tabs
The hub page links claimed to be S2's Tabs but were quiet buttons: a
hover box, 4px apart, an underline across the padding with square ends,
and selectable labels. They are now plain labels 24px apart at M
height whose hover and press only darken the text, with a rounded 2px
indicator as wide as the label on the divider. Each link reaches half
of each gap, and 44px tall on a touch screen, so touch targets stay
large while the label alone draws the focus ring.
2026-10-31 12:37:20 +00:00
Zakk 7c7e09fadd refactor(engines): reach engine facts through the adapter
The configuration export, import and revision routes, the export file
name, the store state, the restart command and the restart-only global
settings now come from src/api/engines instead of honk literals in the
app and in Lite.

- configOf(version) in engines/config.ts returns an engine's
  configuration extension, or null for an engine without one; every
  caller and the client methods take it, so an unknown engine offers
  no configuration history and reports none of it off. The module does
  not load the adapters, so the shell can use it at startup.
- Engine gains restartCommand and restartOnly. The restart notice and
  Lite show the command only when the engine names one.
- Lite reads the version when Settings opens and takes the global
  settings from engineOf; an engine doona does not know gets no forms.
- The suggested backend port is the native API's default, and the
  retired API names that block sign-in are kept in one list.

Raises the startupActivity budget from 326250 to 326482 and routeConfig
from 196050 to 196062, with the owner's approval: the shell now asks
the engine whether it manages configuration, which adds 232 B to the
Activity start and 12 B to the config route (Node 22 gzip).
2026-10-31 11:14:05 +00:00
Zakk 97eea8cd94 feat(policies): name the subscription of each member node
Same-named nodes from two subscriptions looked identical in a policy
group. A member node from a subscription now shows that subscription in
the tile's second line, named as the nodes page names its source, and
the member filter matches it. Groups, built-in outbounds and nodes from
the config file keep their line.

The naming moves out of the nodes view into shared helpers so both
pages use one copy, and a long description truncates with a tooltip
instead of clipping the current mark.
2026-10-31 08:00:58 +00:00
Zakk 831ddb2ae0 fix(rules): show where service rules go and what already covers them
The dialog said new rules go after the existing ones, which was wrong,
and showed a service that already has a rule as checked and disabled,
so it read as selected next to unchecked services.

The help now says rules go above regional rules and All games. A
service with a rule, listed or held, is unchecked and disabled and
names that rule's outbound. A game is disabled as covered while an
all-games rule sends traffic to the outbound chosen in the dialog.

Raises the zh-TW rest catalogue budget from 25050 to 25090, with the
owner's approval: the two state labels and the longer help add 44 B
(main 25040, this change 25084 with Node 22 gzip).
2026-10-31 06:48:30 +00:00
Zakk 5d8f297653 fix(rules): place service rules above regional catch-alls
dae takes the first matching rule, but new service rules went in just
above fallback, below rules such as domain(geosite:gfw) and
domain(geosite:cn) that the built-in templates list. A Netflix or
Chinese service rule added there never matched.

Place each new service rule above the first writable regional
catch-all in the fallback's source, and game services also above an
all-games rule, which replaces the separate all-games special case.
The regional categories are one list next to serviceSections.
2026-10-31 06:48:30 +00:00
Zakk 1eddb54657 feat(lite): move about into settings
About is now the last section of the Settings dialog, after Language,
and no longer opens from the backend status menu. The nav label drops
the product name, which the panel itself shows.
2026-10-30 18:35:42 +00:00
Zakk deff9a44dd chore(release): retire the honk attachment step
honk publishes its own releases with doona embedded, so doona releases stopped attaching honk builds after rc.1. Remove tools/fetch-honk.mjs and its tests, which still expected debug.* tags, the old asset names and the Glassyiris/honk repository; the release procedure now ends with linking the matching honk release, and the install guide sends readers to honk's releases.
2026-10-30 15:57:56 +00:00
Zakk d9d4200a87 chore(release): prepare 0.1.0-rc.4
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-30 13:42:21 +00:00
Zakk 4c3abc3866 feat(palettes): add a Halloween palette and logo
Add a Halloween palette under Other: pumpkin orange on warm parchment by
day and on a deep purple night after dark, with candle yellow and a
sickly green among the chart colours. Like Qiangguo it rewords running,
unavailable, degraded, light and dark, and draws faint card art: a
jack-o'-lantern, bats, a black cat and a spider web, hand-drawn SVGs at
a tenth of their opacity so corner text keeps 4.5:1. While it is on, the
duck in the top bar, startup frame, sign-in page and About wears a
witch's hat, swapped in by the palette stylesheet with CSS content.

The stylesheet, its inline art and the logo load only when the palette
is chosen, on the path Glass already used: paletteSheet.ts now links a
family's own stylesheet for both, the first-paint script links a stored
one, and useAppearance retries a failed load.

Raise startupActivity from 326050 to 326250 bytes gzip. The palette
entry, its five core catalogue keys and the shared on-demand loader put
startup at 326220 on the current main; the palette CSS stays out of
startupCss.
2026-10-30 13:13:47 +00:00
Zakk 04f6aa6a64 feat(nodes): select nodes to test or remove them together
Every node can be selected; a selection turns Test all into Test selected and offers Remove selected for the removable nodes in it. The header select-all box drops the form control height so it sits on the header line.

Raises three size budgets, with the owner's approval, by what this needs: startupCss 30700 to 30750 (+9 B for the header box rule), the zh-TW rest catalogue 25028 to 25050 (+12 B for the selection labels) and routeConfig 196000 to 196050 (+12 B for selection in the shared table).
2026-10-30 13:01:01 +00:00
Zakk a57171e200 fix(lite): restore the yellow beak and feet in the logo
The tone-down of lite's surfaces also turned the duck grey. Only the logo goes back to the standard yellow; the rest of the calmer theme stays.
2026-10-30 12:20:54 +00:00
Zakk fe2de37f09 fix(lite): keep keyboard focus on skip links and closed dialogs
Keep skip anchors on the active route and let Astryx restore dialog focus.
2026-10-30 08:41:54 +00:00
Zakk ba690323a1 feat(lite): guide the node form, settings and empty group states 2026-10-30 08:41:54 +00:00
Zakk feee8df94e feat(shell): add a bug-report button that opens the issue tracker
Show a bug icon first among the standard top-bar actions and in lite's sidebar footer. It opens the doona issue list in a new tab; the issue chooser routes backend problems to honk or dae.
2026-10-30 08:29:00 +00:00
Zakk 4f3b9fdd5a fix(lite): say what an unavailable page needs 2026-10-30 08:16:25 +00:00
Zakk 183c425268 fix(lite): link the docs from refusals and failures
Read-only notes, pages the backend does not offer, refused or rejected
changes, failed latency and route tests, failed subscription updates and a
disconnected, degraded or failed backend now link the docs section that
explains them, through the standard edition's anchor map.

Toasts and banners keep the validator's words and a failed operation's
backend reason; a rejected change that needs a missing local file links the
offline dependency section. A failed subscription update shows its last
error, and the backend menu shows why the backend is disconnected, degraded
or failed.
2026-10-30 08:16:25 +00:00
Zakk 1654c05dd8 fix(docs): link the docs from error and refusal states
A connection test that fails before any response was wrapped as HTTP 0 and
lost its network and cross-origin advice; it now keeps that advice and links
the sign-in troubleshooting section, which covers both and leads on to
access from another origin.

Offline dependency diagnostics, refused routing templates, locked group
edits, refused or failed geodata saves and updates, and lost persistence on
System status now link the section that explains the fix, through the
existing help popovers, text links and toast actions. The persistence
degradations keep the backend's reason in their help, and a geodata update
that failed at a lasting stage shows its whole reason there.

The links reuse existing sections and labels where one fits, so the lazily
loaded catalogue stays within its size budget. Adds the geodata-update anchor
to the docs map.
2026-10-30 08:16:25 +00:00
Zakk 4493e8c36f fix(rules): put game service rules above an existing all-games rule
A game service rule was written before the fallback, after a listed domain(geosite:category-games) rule, so dae never reached it.
The picker now anchors it before that rule when the rule is writable in the same source.
2026-10-29 23:36:01 +00:00
Zakk a4238166b1 fix(rules): recognise default fallbacks and quoted service rules
- routingOptions treats a lone default: fallback like fallback:, so it reports no rules.
- The service picker counts a fully quoted argument such as domain('geosite:telegram') as an existing rule.
- The optional Steam China direct rule is not queued again when a held rule already has it.
2026-10-29 23:10:07 +00:00
Zakk 3a3e643f32 fix(rules): keep template options when routing has custom rules
The Block ads, Block QUIC and NetworkManager toggles were read only from
routing that is exactly a template. Once any rule was added, detection
failed and the toggles fell back to their defaults, so applying a template
silently dropped rules such as the ads block. Read them from the rules the
custom routing already holds instead.
2026-10-29 12:12:40 +00:00
Zakk 60d7d267ab feat(rules): insert per-service routing rules
The Routing page gains "Add common services": pick services such as Steam, GitHub or Telegram and where they go, then hold or apply them with the same actions as quick rules. Each service becomes one held rule before the routing fallback; Telegram also gets a DNS request rule. Services that already have a rule, or whose category the known geodata lacks, show as disabled choices.

The service list lives in src/dae/templates.ts next to the services template, which now reads its categories from it with unchanged output.

The 16 new strings take the zh-TW locale to 25,008 bytes gzip, so sizeBudget.locale rises from 24,800 to 25,028.
2026-10-29 04:40:02 +00:00
Zakk 6a8f2e9d5a fix(lite): stop the page content flashing after load
Readiness restarted the entrance of already-visible content, while the loading header and scrollbar changed its geometry. Start the entrance once on mount and reserve the loaded header height and scrollbar space.
2026-10-29 02:09:45 +00:00
Zakk 769314aeb6 fix(lite): use the default Astryx segmented control
The custom track border and selected-item outline drew a box inside a box. Remove both component overrides and keep the default selection treatment.
2026-10-29 02:09:45 +00:00
Zakk 750ac7daa7 fix(lite): use the default Astryx focus colour
The yellow focus token overrode the neutral accent. Remove it so keyboard rings use the Astryx default.
2026-10-29 02:09:45 +00:00
Zakk 78a3b895e8 fix(lite): keep the row focus ring whole and keyboard-only 2026-10-29 02:09:45 +00:00
Zakk 00aeb4be5f chore(release): prepare 0.1.0-rc.3
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-28 08:17:41 +00:00
Zakk 839e090780 test(lite): copy from dialogs through the clipboard fallback
Check that the lite share and restart dialogs put the text on the clipboard when the Clipboard API is refused or absent, and report a failed copy.
2026-10-28 06:58:10 +00:00
Zakk fcf3f9c337 chore: remove unused code, messages and export surfaces
Remove the remaining dead lite helper and icon, 26 unused keys from each lite catalogue, and verified unconsumed exports. Keep live implementations and skip findings already addressed by round one.
2026-10-28 06:58:10 +00:00
Zakk 58fc87cacb refactor: share region matching and compose existing helpers
Keep app-specific region caches while sharing pure matching and exact-case aliases. Reuse the HTTP-compatible clipboard helper in lite and preserve existing toolbar and divider presentation.
2026-10-28 06:58:10 +00:00
Zakk 64f78155f0 fix(fonts): bound catalogue waits for optional faces
Publish catalogue stages after three seconds when optional fonts stall, and clear completed deadlines. Reuse the common startup glyph warmup instead of loading it twice; cover stalled and completed font loads.
2026-10-28 06:58:10 +00:00
Zakk 0c40175370 docs(changes): cover reviewed fixes and source maintenance
Record the UI, authentication and wallpaper resource fixes and the source performance and cleanup work. Keep the lite refresh entry focused on user-visible behavior.
2026-10-28 06:58:10 +00:00
Zakk 326f1ecedc fix(i18n): keep stage retries after a failed part
Track the stage covered by each language promise while loading stage prerequisites independently. Failed stage reads remain retryable, and earlier stages do not wait for later requests.
2026-10-28 06:58:10 +00:00
Zakk 5db54fa8b3 fix(fonts): load catalogue glyphs before each stage renders 2026-10-28 06:58:10 +00:00
Zakk fead8d29f7 fix(lite): disable stale page actions before paint 2026-10-28 06:58:10 +00:00
Zakk caf7418b1c fix(lite): preserve draft configuration semantics
Keep all-node membership intact when only changing a group's policy. Separate appended declarations and rules in inline blocks, preserving line endings, and bind subscribed nodes to their source even when provider metadata is unavailable.

Cover parser round trips, source-scoped bindings and the policy editor's membership state without changing the chosen interface.
2026-10-28 06:58:10 +00:00
Zakk 7d9a875779 fix(mock): enforce capabilities and preserve network evidence
Reject unavailable operations and invalid DNS-log source filters before state changes. Reuse endpoint parsing for bare and IPv6 addresses, and enforce DNS-log response budgets in UTF-8 bytes without serializing unlimited pages.

Cover capability refusals, address evidence and multibyte pagination. Keep contract traversal valid when a profile cannot start an operation, and clarify that generated DNS logs are samples rather than rule evaluations.
2026-10-28 06:58:10 +00:00
Zakk 435177c27e fix(core): preserve cached data and await catalogue stages
Cache merges must preserve own JSON keys, and short refresh windows must not retain a rate after its counter resets. Language switches must await every stage already requested by the shell rather than an obsolete resolved core promise. Add regressions and a changelog fragment for these cases.
2026-10-28 06:58:10 +00:00
Zakk 815d3ac38f fix(ui): keep the folded editor tools on the actions row 2026-10-28 02:13:04 +00:00
Zakk d8b6ba1816 fix(lite): offer the demo only on the demo site 2026-10-28 01:11:36 +00:00
Zakk f6f7395242 feat(lite): connect to the honk that serves it without asking for an address
When lite is opened from honk with no saved connection, it probes the
same origin the way the standard app does. Anonymous access connects
straight away; a 401 or 403 shows only the matching sign-in step with
the address hidden. Static hosts keep the address form, whose help now
says it wants the honk native API root.
2026-10-28 01:11:36 +00:00
Zakk a7bd92bc82 fix(lite): tone down selection, primary button, headings and surfaces 2026-10-28 00:25:03 +00:00
Zakk 2e90a8e28f feat(lite): clearer hierarchy, paired CJK fonts, surface depth and one control shape
Page and section titles get a clear type scale, Chinese text uses system CJK fonts at matching weights, dark surfaces step in lightness with one accent from the duck's yellow for selection, the primary button and focus, and every control but the primary button shares one radius and border; same-row controls share a height.
2026-10-28 00:25:03 +00:00
Zakk 058b571472 fix(lite): drop the edge shadow beside pinned table columns 2026-10-27 23:23:03 +00:00
Zakk 7f8c1bb8aa fix(lite): align the subscriptions toolbar and check the palette's last row 2026-10-27 23:23:03 +00:00
Zakk d680674dea fix(lite): show the paste error once and let dialog bodies scroll at short heights 2026-10-27 23:23:03 +00:00
Zakk 73d9cf746b fix(lite): fit the nodes table at mid widths and keep its menus off the pager 2026-10-27 23:23:03 +00:00
Zakk 89e4b3bbc1 fix(lite): keep group names and the sidebar inset at mid widths
The group inspector kept its 640 px width (480 px minimum) at every
width, so between the phone breakpoint and about 1280 px the group list
shrank until the label column, which is the only part of a row that
yields, reached zero: names vanished and the latency overflowed the
row. Below about 1000 px the panel also covered the list.

The panel now leaves 22rem to the list and never takes less than 45% of
the row, so names keep room and ellipsize, and the latency stays whole.
From 1280 px the chosen width is unchanged.

The layout-rhythm check covers 1180 and 1470 px in en and zh-TW: every
group name keeps at least 64 px inside its row, the latency is not cut,
and the sidebar items have equal start and end insets.
2026-10-27 22:26:12 +00:00
Zakk c877c33b7b feat(ui): explain unavailable features in place with the same text 2026-10-27 22:04:24 +00:00
Zakk 9ad4d40000 feat(ui): list unavailable features with the setting that turns them on 2026-10-27 22:04:24 +00:00
Zakk 108c851ed1 fix(i18n): name a policy group the same way in each Chinese locale 2026-10-27 21:44:34 +00:00