Commit Graph
1476 Commits
Author SHA1 Message Date
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 6b6466214a docs(ui): restore the chart tip component description
Put the hover-tip description above ChartTip rather than the bounds helper, preserving the bounded tip accessibility distinction.
2026-10-28 06:58:10 +00:00
Zakk 07877041ae test(shared): restore cache and consistency regressions
Restore rule-write count and localization coverage, independent rule/file plurals, memoized flag and region lookups, and Settings registry-to-control consistency without restoring unrelated wording pins.
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 5b4d9aadd8 refactor(lite): reuse the locale name registry
Build language choices from the existing localeNames registry instead of duplicating the same native names in every catalog. Preserve the menu's labels and ordering.
2026-10-28 06:58:10 +00:00
Zakk 536f50738a chore(lite): remove obsolete UI and helper code
Delete unused components, icons, styles, theme helpers and motion markers after checking their consumers. Remove stale helper references and dead description exports, and have description tests import the existing helper owner directly.

Drop unused command fields and simplify the syntax scan script's identical branches without changing the rendered 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 e69519974d fix(settings): release bitmaps after canvas failures
Close decoded wallpaper bitmaps even when canvas creation or drawing throws. Preserve the original error and successful encoding behavior, with a regression for the failure-path resource release.
2026-10-28 06:58:10 +00:00
Zakk 5cfe3df836 perf(features): avoid repeated traffic projection work
Choose the heaviest connection while building chart points, parse fallback queries once, and append DNS samples without copying accumulated buckets. Preserve projection output and correct the comments describing chart inputs.
2026-10-28 06:58:10 +00:00
Zakk a1c194c4e8 refactor(activity): remove obsolete projection forwards
Import mode projections and notice filtering from their owning modules. Remove the feature-level forwarding exports so the shared-module cutover has one canonical import path.
2026-10-28 06:58:10 +00:00
Zakk 459c9d753e test(features): remove redundant implementation assertions
Keep coverage at the owning modules and retain behavioral cases. Remove duplicate row-cache tests, global regex call-count spies and catalogue-only assertions that pin internals or wording instead of feature behavior.
2026-10-28 06:58:10 +00:00
Zakk 616b671d87 chore(features): remove unused exports and dialog state
Keep implementation types private, remove unused template option snapshots and the node-link re-export, and align comments with existing behavior. No consumer needs the removed surface.
2026-10-28 06:58:10 +00:00
Zakk 57898f9424 perf(features): avoid redundant projection work
Avoid quadratic bucket copies, repeated parsing and unused rule projections in node, policy and rule views. Preserve ordering, hit attribution, probe availability and generated rule text.
2026-10-28 06:58:10 +00:00
Zakk 5e68aa7a4e chore(core): remove unused shell and store paths
Remove an unreachable operation-event predicate, unused view data and type exports, and a redundant preload callback. Consolidate duplicate startup imports and drop source-text inspection while retaining projection and browser coverage of search behavior.
2026-10-28 06:58:10 +00:00
Zakk 4e0f7d987b perf(shell): avoid repeated gallery preview setup
Panel previews already supply their own sample provider. Remove the duplicate layer and construct dashboard defaults once per dashboard gallery render instead of once per item, without changing gallery content or choices.
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 9fb28098f1 docs(model): correct configuration and history comments
Describe the generated group-config typing workaround and approximate history bucket limit accurately. Remove the obsolete claim that groups cannot include the direct built-in.
2026-10-28 06:58:10 +00:00
Zakk d3e65aa1ee refactor(dae): share subscription name quoting
Subscription tags and download routes used identical name-quoting rules. Keep one private writer so quoted spelling and bare-name handling cannot drift between the two paths.
2026-10-28 06:58:10 +00:00
Zakk cac579b118 perf(config): avoid redundant source scans
Short-circuit listener credential checks without filtered and flattened block arrays. Reuse the parsed node entries for rename collision checks instead of scanning the same source again. Preserve all existing matching and edit rules.
2026-10-28 06:58:10 +00:00
Zakk 1a44198424 fix(api): release unread authentication responses
Status-only probes and accepted logout responses must release their bodies instead of retaining connections and transport deadlines. Cancel without awaiting cleanup so status decisions and error outcomes stay unchanged; cover unfinished bodies in regressions.
2026-10-28 06:58:10 +00:00
Zakk 4773fd8581 fix(ui): release dashboard refs and drag listeners
Use React Aria ref composition to honor React 19 cleanup for object and callback refs. Keep one pending WebKit press repair across repeated keyboard drags so document listeners do not accumulate. Cover both resource lifecycles with regressions.
2026-10-28 06:58:10 +00:00
Zakk 93ae4422c9 perf(ui): avoid repeated tag and chart work
Build tag prefix sums without quadratic copying and format overflow names only when needed. Stop diagnostic byte-column scans at the requested position, and keep tooltip Escape listeners installed while reading current coordinates.
2026-10-28 06:58:10 +00:00
Zakk b990107f88 refactor(ui): reuse shared icon wrappers
Finish adopting IconSvg so sizing, accessibility defaults, and class composition have one implementation. Preserve icon artwork and painted pixels, and merge adjacent duplicate select-box declarations.
2026-10-28 06:58:10 +00:00
Zakk 70072522f4 chore(ui): remove unused exports and style residue
Keep implementation-only types and helpers private after checking their consumers. Remove an unused spacing token, a redundant gallery margin rule, and a table assertion that only compared a result with itself.
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 14dca36aef test(lite): wait for subscription nodes before refresh snapshots 2026-10-28 01:11:36 +00:00
Zakk d88ee821d9 test(lite): ignore the same-origin probe 404 in console checks 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 3024bc9b04 fix(lite): use the md segmented control in page headers
The lg override dropped the frame padding so the selected segment
filled the frame edge to edge; in dark the 1.7:1 step between the
selected and unselected fill was too weak to read. Size md already
gives the 36 px frame with an inset segment, the same as the
in-panel control.
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 b3cf1ce3d0 test(e2e): start the tab marker check from a page without tabs
With no backend saved, /#/ opens Settings, which has tabs. The check that
no tab bar is shown passed only while the app was still starting; when it
rendered first, the check failed, and otherwise the observer could catch
the Settings tab bar instead of the DNS one. Start from Activity and wait
for the shell to show it.
2026-10-27 11:56:27 +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 b7acf6f3f0 test(e2e): wait for the first pending announcement
React Aria inserts the first announcement 100 ms after it creates its live region; under CI load the single read ran before it and found nothing.
2026-10-27 08:15:24 +00:00
Zakk 0cf4522091 docs: rewrite the repository docs and link the site for user guides
Install steps, page guides and appearance settings now summarise and
link the documentation site. The pages keep what belongs to the
repository: package layout, how themes, fonts and flags are built and
added, sources and licences. Wrong statements about the region cache
size, the fonts README request and tab names are corrected.
2026-10-27 07:26:53 +00:00