Commit Graph
233 Commits
Author SHA1 Message Date
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
Zakk 0389484a37 fix(ui): keep popovers above the phone navigation bar 2026-10-27 21:43:54 +00:00
Zakk 6cb6d58d5b fix(ui): say why a feature is unavailable without wrong claims
Four hints said something honk does not do.

- holdsCredentials now matches honk's contains_api_secret: a source is
  refused only when a native_api or clash_api block under a top-level
  experimental section holds a secret or a nested block. Rule templates
  and the config page keep asking the adapter.
- Flow recording set to Off was described as recorded on demand. The
  adapter now reports auto as on demand, the Off mode as mode-off, and
  a configuration without record_flows as a recorder it turns off.
- Engine settings carry their full dotted name, so the geodata hint
  names assets.geodata.geosite and assets.geodata.geoip and the snippet
  is an assets { geodata { } } block; the text says honk refuses them
  beside the legacy experimental.native_api keys. settingName is gone.
- A source whose text does not match its hash is called incomplete,
  and redacted only when the backend reports secrets_redacted.
2026-10-27 21:43:13 +00:00
Zakk c91bf35df4 docs(readme): default to Traditional Chinese
README.md is now the Traditional Chinese text and the English text moves to README.en.md. The archives, Makefile install, rpm list and Gentoo ebuild ship both files.
2026-10-27 08:36:24 +00:00
Zakk f13e5cdf65 docs: link the documentation at doona.daeuniverse.org 2026-10-27 06:08:09 +00:00
Zakk 8e1ecbfcf8 refactor(shell): mark the scrolled root from one listener 2026-10-27 04:51:21 +00:00
Zakk 426597a5c9 chore(release): prepare 0.1.0-rc.2
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-27 03:39:54 +00:00
Zakk 42620820ad feat(lite): publish the lite demo at /lite/ beside doona
tools/deploy-demo.sh builds doona and lite into one tree for the demo
site: doona at the root with the demo snippet from tools/demo-snippet.html,
lite at /lite/ built with VITE_LITE_DEMO=1, plus .nojekyll and CNAME.
With --push it force-pushes that tree to gh-pages as one commit. The demo
build opens lite straight into the mock backend, hides the connect
entries and shows its own dismissable demo badge. doona's service worker
leaves /lite/ to the network so it never answers with doona's page.
2026-10-27 03:03:50 +00:00
Zakk e849205267 fix(ui): keep a page left with its detail panel open
The inline detail panel is not a dialog: a hidden page runs no effects, so
the panel neither costs anything nor comes back uninvited. Counting it as
an open overlay rebuilt Connections, Flows and DNS on every revisit while
a row was selected. The teardown check that hidden pages hold no panel
encoded that rule and goes with it.
2026-10-27 02:10:20 +00:00
Zakk 122d2d191d build(notices): list the packages each edition bundles
THIRD-PARTY-NOTICES.txt was derived from the root package's dependency closure, so the lite archive got the standard edition's list and missed lite's own packages. Each Vite build now records the node_modules packages of the modules it bundled (tools/bundled-packages.mjs), and tools/notices.mjs reads that list for the archive it stages. The standard edition's notices drop eight packages that its build does not contain (type-only or unused).
2026-10-27 01:48:59 +00:00
Zakk 0add7a08be refactor(ui): drop the Feedback forwarder, touch.css chunk and the table-cards state copy
Import the split feedback files directly and move each test beside its file. Fold the touch hit areas into the coarse-pointer block of foundations.css (+89 B gzip on startupCss, budget 30520 to 30620). Widen the CardView state selectors to table cards instead of repeating them. Feedback.tsx keeps two re-exports until Dialog.tsx and NodeGrid.tsx stop importing it.
2026-10-27 01:41:42 +00:00
Zakk 191b6a6fbd feat(rules): trace by firewall mark
The routing trace contract takes a mark, but the trace form had no field for it, so
mark() rules always stayed undecided. An advanced field next to DSCP takes the mark
in decimal or in the 0x hexadecimal form dae rules use, checks the unsigned 32-bit
range inline, and sends it only when filled.
2026-10-27 01:40:18 +00:00
Zakk fbe1779c79 feat(lite): add doona lite, a simple config editor
apps/lite is a separate Vite app (Astryx, React 19, StyleX) on the same
honk API, for people who want to switch nodes and edit groups,
subscriptions, nodes, routing and DNS without the observability pages.
Every change goes into a draft and one review dialog shows it in plain
words before it is written; dae syntax stays in the text editor. It has
light and dark themes and a demo mode backed by an in-browser mock.
Browser, motion and performance checks in apps/lite/scripts run under
Playwright, CI runs `pnpm -C apps/lite check`, and the UI rules are in
apps/lite/UI-RULES.md. It is linted with the repository config.
2026-10-27 01:37:20 +00:00
Zakk 815b322f9b fix(flows): show step errors and the DNS status and query type
The DNS, outbound, connection and datapath step fields dropped the contract's error, and the DNS step also dropped status and qtype. Because a step with fields shows no raw JSON, an error the backend reported was never visible. Each branch now adds an Error row when the step reports one, and the DNS step shows its query type and answer status with the labels already used elsewhere.
2026-10-27 00:28:50 +00:00