Commit Graph
52 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 5db54fa8b3 fix(fonts): load catalogue glyphs before each stage renders 2026-10-28 06:58:10 +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 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
Zakk f13e5cdf65 docs: link the documentation at doona.daeuniverse.org 2026-10-27 06:08:09 +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 424853107c docs(install): list the doona lite archive among the release files 2026-10-27 03:21:21 +00:00
Zakk e8464c7dc6 chore(release): prepare 0.1.0-rc.1
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-24 17:49:57 +11:00
Zakk cd8e380e85 fix(tools): fetch honk's -full builds and skip its lean ones
honk now names its full builds with a -full suffix and also publishes clash-api and native-api builds without the UI. fetch-honk expected the old unsuffixed names and rejected the lean builds as unrecognised variants, so the next honk Debug release would fail phase 2. The install docs name the new spelling.
2026-10-24 17:11:37 +11:00
Zakk 6acdabdc7c chore(release): prepare 0.1.0-beta.20
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-12 05:02:21 +11:00
eries c59a9aec81 fix(nodes): simplify XHTTP drafts and shared saves
Keep pending headers in the node draft and run link preflight inside the shared source-save transaction. Apply only changed XHTTP fields, preserve empty headers, encode apostrophes, and explain missing edit fields.

Quote generated node declaration keys uniformly and lazy-load dialog-only subscription fields without increasing size budgets. Update regressions and user documentation.
2026-10-12 04:46:12 +11:00
eries 811db1cf30 feat(nodes): edit XHTTP link options as fields
Show a vless or trojan XHTTP link's mode, path, host, headers, padding,
POST pacing and download peer as fields that rewrite only their own part
of the link. Check an edited link with honk's syntax validation before the
source write, so a link honk would skip is refused with its reason, and
refuse links over the 8192 characters node creation accepts.
2026-10-12 04:46:12 +11:00
Zakk 2391fb7b62 chore(release): prepare 0.1.0-beta.19
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-09 07:06:31 +11:00
Zakk bf8b40d8b9 chore(release): prepare 0.1.0-beta.18
Collect XHTTP transport display and matching embedded UI release changes. Update package versions and installation guidance while leaving archive hashes for the verified publication follow-up.
2026-10-08 03:44:22 +11:00
Zakk f9b687f291 chore(release): prepare v0.1.0-beta.17
Collect the merged policy and Glass fixes, advance package recipes and installation examples, and update release summaries.
2026-10-07 20:59:53 +11:00
Zakk f2371e7381 chore(packaging): record beta.16 archive checksums
Use the published archives to refresh Alpine, OpenWrt, Gentoo and Nix verification data. Correct the documented asset count to match the 36 release files.
2026-10-07 06:29:31 +11:00
Zakk f520adc2a9 chore(release): prepare 0.1.0-beta.16
Collect the scrolling, widget editor and Liquid Glass fixes, update the release version and document the current package names. Archive checksums are populated from the release build.
2026-10-07 05:47:57 +11:00
Zakk 18df090f0c fix(dns): apply cache matching to displayed entries
Use the existing bounded matcher for both the cache table and deletion candidates. Expose filtering for read-only caches and make linked domain criteria visible and clearable.
2026-10-07 05:37:20 +11:00
Zakk ea069068c6 docs(screenshots): refresh for 0.1.0-beta.15 (#509)
## Problem

The theme guide still describes three Glass palettes, and the screenshot
generator does not capture the General tab or the sign-in wallpaper.
doona-docs still publishes screenshots from a beta.14 checkout.

## How I fixed it

Document both Settings tabs and all four Glass palettes in three
languages. Capture General settings and the Glass sign-in page, and
capture the full Appearance page so all four Glass choices are visible.
Scroll the phone palette menu to show its Appearance settings row. Keep
the existing workflow: screenshots are generated and published by
doona-docs, and neither repository stores image binaries on main. The
documentation follow-up will update its build pin after this merges. No
application code or control dimensions change. Net lines: src 0, unit 0,
e2e 0, CSS 0, docs +21, screenshot tooling +15.

## Verified

Built beta.15 and ran tools/screenshots.mjs: 145 images, compared with
all 130 images in the published gh-pages commit 536a00d6; 15 images are
new. Reviewed the three-language comparisons, including phone captures
at 390px and page captures at 1280px. pnpm check passed, including 3,601
unit tests; pnpm build passed. After adjusting the Appearance crop and
phone menu scroll, the six affected captures, ESLint and Prettier
passed. The docs site build, link checks and 52 tests passed with the
generated images. The live demo passed its beta.15 About, Activity mock
data, Events, CNAME and console-error checks.
2026-10-06 09:03:08 +11:00
Zakk 6e45f3ee64 chore(release): prepare 0.1.0-beta.15 2026-10-06 05:20:49 +11:00
Zakk 64965adf86 fix(ui): let Glass cards refract like the floating panel
In Chrome and Edge, Glass cards, the sign-in card and the phone's bottom bar now take the floating panel's material: a 4px blur, the lens that bends the wallpaper at the bezel, and the rim's specular, which multiplies the bent backdrop by a gain lit from the top left, so the edge takes the colour of what lies behind it. The fill stays at the panel's 0.4 in light, so the wallpaper shows through and bends at every card edge. The filter is shared by every card through the 20px class, and its nine slices stretch to any card size. Menus and dialogs, which sit over the page's text, keep a thicker fill.

No palette draws a line round a card any more: the backdrop rim layer and its tokens are gone. The edge comes from the shadow and the material, and in Chromium's Glass from the lens. The card still draws no border, which would leave its material a pixel inside its overflow clip; its padding takes that pixel, so the layout is unchanged. Reduce Transparency, Increase Contrast and forced colours give the card back a solid 1px border.

The phone's bottom bar thickens towards the solid chrome over its lower half, where Chromium's blur fades out at the viewport's edge and let the page's text show sharp under the labels.

The Glass spec also runs in the Safari project.

Frosted takes Float's recipe; Float is removed.

Glass puts no sheet behind the content, so cards float on the wallpaper, and floats its chrome over the content as the cards' glass, as macOS 26 does. The top bar draws no material: the brand sits on the wallpaper, and the search field and the icon buttons are two capsules of the cards' fill with a plain blur, drawn just outside the controls so their sizes and places are unchanged. Once the page scrolls, a progressive blur under the bar, masked to fade downwards, keeps the content passing beneath from colliding with the capsules; a root attribute set by a passive scroll listener shows it, since Safari 17 and Firefox lack scroll-driven animations. The sidebar is a floating card with the cards' fill, lens, corners and shadow, inset by the card grid's gap, and the whiter sidebar fill is gone. Frosted and Tinted keep the shared chrome sheet. Tiles and tables inside a card or the floating panel drop their own fill, controls are tints of the label colour, and controls on the wallpaper outside any card take the cards' fill with a plain blur, since the lens on a 32px control shows only as a bright rim. The unused grain token is gone.
2026-10-05 15:11:19 +11:00
Zakk e9cca5bd1e test(ui): cover the Glass palettes and document them
e2e/glass.spec.ts checks the four palettes in the menu and the Settings switch gone, the migration of the stored material, each material's chrome, card and menu filters, Float's inset top bar, the lens filters on Chromium for the floating panel and menus, solid surfaces under Reduce Transparency and Increase Contrast for all four, and the rounded iframe case. tools/stamp.test.mjs covers the migration at first paint, and the contrast spec lists the new palettes. The themes pages describe the four materials in each language.
2026-10-05 15:11:19 +11:00
Zakk e4955c5263 feat(login): centre the sign-in card and drop the showcase
The sign-in page is one kit Card centred both ways on the content
background, the same at every width, with the language, palette and
theme controls left in the corner. On Glass the wallpaper shows behind.

The mini game beside the form goes with its canvas button, duck paths,
styles, messages, unit keys only it used, chunk tests and size-budget
entry. startupLogin drops from 259115 to 252580 bytes gzip.
2026-10-05 01:34:31 +11:00
Zakk d29068b93c chore(packaging): slim the licence files in the program archive
NOTICE links the CC BY 3.0, CC BY 4.0 and CC BY-SA 4.0 licences by URI,
which the licences allow, so the archive drops their texts and the CC0
one; the repository keeps them for REUSE. THIRD-PARTY-NOTICES.txt groups
packages whose licence texts match apart from copyright lines, wrapping
and indentation, and prints each text once under every package and
copyright line it covers. CHANGELOG.md leaves the archive; the nfpm
packages copy it from the checkout, and the ebuild stops installing it.
The archive shrinks from 3.47 MB to 3.21 MB unpacked.
2026-10-04 22:20:58 +11:00
Zakk 595737e962 docs(install): explain every release file
A release now has 38 files. Group them by purpose (program, add-ons, apk keys, honk, checksums and source) and say what each is and when to install it, in all three languages. Correct the sign-in description in the pages and themes docs, and show the two configuration screenshots.
2026-10-04 21:36:16 +11:00
Zakk de59bcc413 docs(readme): move install, pages and themes into docs/
The READMEs drop from 175 to 49 lines. Installation and package choices (including what the optional precompressed package does), the page tour and the theme gallery move to docs/install, docs/pages and docs/themes in English, Simplified and Traditional Chinese, and the READMEs link them along with fonts, country flags and the changelog.
2026-10-04 20:18:19 +11:00
Zakk dcb6d92b4a fix(fonts): declare the Noto faces only when the font archive is installed
The @font-face rules point at fonts/, which only the optional doona-fonts
archive provides, so a UI installed without it requested every Noto slice
its text needed and logged a 404 for each.

src/fonts.ts now fetches fonts/README once per page load and attaches
fonts.css and the language's fonts-tc.css or fonts-sc.css only when it
answers. main.tsx starts the check at module load so it overlaps the
catalogue fetch, and the catalogue still resolves after its faces are
declared and the Latin slice loaded, as it was from the first paint when
the faces sat in the page's stylesheet; with font-display: optional, text
laid out before the slice arrives keeps the system font. With the archive
the faces, unicode ranges and per-glyph loading are unchanged. The probe is a GET so the service worker caches it
for offline starts, and its body is read so a worker-relayed response does
not hold the request open. The worker no longer caches an HTML response for
a build file, so a host that answers missing paths with the page cannot pin
the probe to "absent" after the archive is installed.
2026-10-04 06:18:13 +11:00
Zakk 06c7370a86 fix(widgets): preview the panel at its real width and align the docked panel 2026-10-03 15:35:51 +10:00
Zakk aafdd56d8e docs: sync repository text with the code
Bring the READMEs, CONTRIBUTING, PR templates, install notes and recipe usage text, flag notes and page metadata in line with the current code: CI lanes, repository layout with mock/ at the root, engine selection, the native API ui setting, the removed Backend actions card and the per-row DNS actions. Fix make install-fonts, which looked for the licence file in public/fonts instead of dist/fonts.
2026-10-03 06:53:04 +10:00
Zakk c0494b7170 chore(fonts): take the noto fonts from fontsource instead of committing them
public/fonts held 208 woff2 slices (8.8 MB). The Noto Sans TC and SC slices now come from @fontsource-variable 5.3.0 and Vite still self-hosts them with unicode-range slicing; built font bytes, families, weights and rendering are unchanged (zero pixel difference on six zh pages). Licence and notice records point at the packages.
2026-10-03 02:21:43 +10:00
Zakk 74698aec0d docs(readme): describe features merged since the last release 2026-10-03 01:28:41 +10:00
Zakk a553a3f074 docs(guides): correct behavior and verification instructions
Align all three READMEs with the DNS rule default and the settings
locations, describe Activity preloading in CONTRIBUTING, use the
build-first screenshot command, and restore the changelog compare links.
2026-10-02 18:36:58 +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 845a967100 docs(readme): serve screenshots from the docs site
The screenshots are now built and published by Zakkaus/doona-docs, so the
READMEs load them from https://zakkaus.github.io/doona-docs/screenshots/
at the same relative paths and the copies under docs/screenshots go.
REUSE.toml keeps docs/** for docs/duck-night.png. tools/screenshots.mjs
still creates its default output directory when run here.
2026-09-28 09:21:22 +10:00
Zakk 3978c88743 docs(readme): use the app's logo in both themes
The dark variant swapped the duck's black outline for grey. The READMEs
now show public/logo.svg in both schemes, and the docs copies of the
logo are gone.
2026-09-28 02:35:27 +10:00
Zakk b45e0a9cc6 docs(readme): point the READMEs at the docs site and remove docs/guide*.md
The setup guide now lives in Zakkaus/doona-docs and is published at
https://zakkaus.github.io/doona-docs/. The READMEs keep the overview and
the page tour and link the site for the rest.
2026-09-28 02:35:27 +10:00
Zakk 7128e952fe chore(release): prepare 0.1.0-beta.7
Refresh the three README tours for the current interface and document the changes since beta.6. Keep package recipes and download examples aligned with the release asset versions.
2026-09-27 04:27:46 +10:00
Zakk ae02ff42aa docs(guide): say what the screenshot tool captures and needs
It also captures the phone strip and two animations, and needs img2webp for them.
2026-09-26 05:25:30 +10:00
Zakk d4fafe80e5 docs(screenshots): add the page tour, phone strip and animations
tools/screenshots.mjs now also captures, per language, five page tour
stills cropped to the content panel, a strip of three phones at 390x844,
and two animated WebP files (arranging a node into a group, selecting a
path on the routing map) built with img2webp. A fixed clock keeps the
mock timestamps stable. The activity pages waited for recharts sectors,
which no longer exist; they now wait for the donut's paths.
2026-09-26 05:25:30 +10:00
Zakk cfa813cb5f docs: point the demo links at demo.daeuniverse.org
The demo moved to its own domain. The old github.io address still
redirects, but the READMEs and guides should name the new one.
2026-09-25 23:54:16 +10:00
Zakk 3d1e9a9b92 fix: address feedback on 0.1.0-beta.2
Stop shipping a node_modules archive with releases; package recipes now
install the prebuilt program and font tarballs. State in the READMEs and
guides that the native API exists only on the feat/native-api branch of
Glassyiris/honk, and show a clear message when an engine answers 404 for
both discovery and capabilities instead of asking for a token.

Report the page language to the service worker only after it activates,
so an updated build keeps the language for offline start. Keep secondary
facts on a caption line under card values, keep cards in a row equal in
height, lay the capabilities list out in columns, frost sticky headers and
overlays in the glass palette, and fit Overview, DNS and the routing map on
tablets and phones. Localize backend datapath errors and the rule editor's
must switch.

List events received before the Events page opened. Fill the mock
backend with realistic connections, DNS records, logs, events, notices
and history for the public demo, with traffic shaped by destination.
Link the demo from the READMEs and refresh the screenshots.
2026-09-24 14:27:28 +10:00
Zakk f3aa95f360 docs(readme): lead with password sign-in
Show administrator setup as the first-run path and keep token pairing for automation. Clarify where password sessions and backend tokens are stored.
2026-09-24 10:25:14 +10:00
Zakk 2377de3218 docs(readme): show activity in four themes
Capture light and dark activity views in four palettes and refresh the existing mock screenshots.
2026-09-24 09:58:16 +10:00
Zakk c7ec045bb2 refactor(ui): unify confirmations, retries and labels
Share confirmation dialogs, formatters, cards and menus across features. Make failed reads retryable, correct cancellation behavior and standardize terminology and status text.
2026-09-23 17:49:06 +10:00
Zakk 6ec531e9c4 perf(features): reduce polling and centralize page ownership
Limit event refetches, load search and font assets on demand and keep active views stable. Move tabs, capability gates and data reads into their feature controllers.
2026-09-23 15:19:41 +10:00
Zakk cc6bfe99f7 fix(ui): stabilize loading states, edits and responsive pages
Hold card and table geometry while data or fonts load. Keep configuration edits inside their source lines and address regressions across the feature pages.
2026-09-23 04:03:45 +10:00
Zakk 6333b757d6 feat(settings): expose recorder modes and source details
Add recorder settings and an unmasked configuration surface, and link module cards to source sections. Update the guide, control motion and list rendering thresholds.
2026-09-23 01:22:42 +10:00
Zakk e660e3a100 perf(shell): warm pages and improve navigation feedback
Warm page chunks during idle time and add keyboard shortcuts. Correct shell and settings details, update screenshots and remove the reference archive and workstation helper.
2026-09-22 03:19:56 +10:00
Zakk 78a889de2e build(release): prepare the first beta packages
Add the About dialog and update the engine-facing documentation. Build distribution archives and package recipes, set the beta version and correct release checksum filenames.
2026-09-21 05:28:26 +10:00