Zakk 4c38cfdc5b feat(groups): edit a group's exit node and explain rejected refreshes (#703)
## Problem / 问题

After #702, doona can add and edit proxy chains, but two parts of honk's
chain support are still missing. A group's experimental `exit` node can
only be set in the configuration text, and the group document from the
API does not expose it. When a subscription refresh removes or
duplicates a node that a chain hop or group exit names, honk rejects the
update and keeps the old nodes, but doona shows only a generic failure.

## How I fixed it / 解决方法

Group exit:
- `readGroupEntries` reads `exit`, and `writeGroupEntry` writes it with
`quoteName` right after `final`, the same way as `default` and `final`.
It is part of the no-change comparison and the save-conflict retry
merge.
- The group editor has an "Exit node (Experimental)" select, offered
only when the engine is honk. It lists None plus nodes that can be a
later hop, reusing the `tunnelDialable` check from #702. Chains, groups,
direct, block, Hysteria2, TUIC, Juicity and AnyTLS are excluded.
- The running-configuration section of the group dialog shows the exit
when one is set.
- honk's four group exit diagnostic codes have localized messages.

Rejected refresh:
- When a provider's `last_error.code` is `publication_rejected` and
`details.diagnostic_code` is one of the seven chain or exit codes, the
subscription status explains that a proxy chain or group exit refers to
a node the update removed or duplicated, and that the previous nodes
stay in use.

The mock `office` group gains `exit: hk-02`, which moves the mock rule
lines down by one; the rule tests follow.

## Screenshots

| | |
|---|---|
|
![](https://gist.githubusercontent.com/Zakkaus/31a26b9979ea409ca70b5dab27e07757/raw/exit-select-en-light-1280.png)
|
![](https://gist.githubusercontent.com/Zakkaus/31a26b9979ea409ca70b5dab27e07757/raw/exit-select-zh-TW-dark-390.png)
|
|
![](https://gist.githubusercontent.com/Zakkaus/31a26b9979ea409ca70b5dab27e07757/raw/exit-options-en-light-1280.png)
|
![](https://gist.githubusercontent.com/Zakkaus/31a26b9979ea409ca70b5dab27e07757/raw/exit-options-zh-TW-dark-390.png)
|
|
![](https://gist.githubusercontent.com/Zakkaus/31a26b9979ea409ca70b5dab27e07757/raw/sub-notice-en-light-1280.png)
|
![](https://gist.githubusercontent.com/Zakkaus/31a26b9979ea409ca70b5dab27e07757/raw/sub-notice-zh-TW-dark-390.png)
|
|
![](https://gist.githubusercontent.com/Zakkaus/31a26b9979ea409ca70b5dab27e07757/raw/sub-detail-en-light-1280.png)
|
![](https://gist.githubusercontent.com/Zakkaus/31a26b9979ea409ca70b5dab27e07757/raw/sub-detail-zh-TW-dark-390.png)
|

The rejected refresh shots use an intercepted providers response,
because the mock has no such provider. All 40 variants are kept locally.

## Verified / 验证

- `pnpm typecheck`, `lint`, `check:i18n`, `format:check`, `check:gen`
and `build` all exit 0.
- `pnpm test` exits 0: 251 files, 4417 tests.
- Playwright on Chromium: 12 specs covering groups, policies, rules,
nodes and the builder, 273 tests, all pass.
- `check:size`: the Policies chunk is 21055 B gzip, up 213 B. The Nodes
route is 73134 B against a 76000 B budget.
- Not yet checked against a running honk: the exit write and the real
shape of `publication_rejected`, which honk documents in api.md but
which has not been observed live.
2026-11-25 19:06:44 +11:00

doona

doona

Static web UI for the daeuniverse engines: manage nodes, groups, rules and configuration in a browser.

Live demo / Lite demo (preview) / Documentation

繁體中文 / 简体中文 / English

Features / Two editions / Try the demo / Install / Backend protocols / Documentation

doona is a static web UI for monitoring proxy traffic and managing nodes, groups, rules and configuration. It requires a running honk or dae (v2.1.2 or later) backend with the native API enabled. For dae, see its native API guide.

Activity dashboard with traffic charts and status cards

Features

Monitor

  • Edit the Activity dashboard’s cards and their sizes.
  • Inspect connections, flow records and DNS queries.
  • Read backend logs and events.

Activity card width and height controls

Adjust card sizes on the Activity dashboard.

The Flows map showing the traffic path through a selected rule or node

The Flows map; selecting a rule or node shows the traffic path through it.

Nodes and subscriptions

  • Paste several node links at once.
  • Test filtered nodes and sort by latency.
  • Refresh subscriptions and inspect probe results.

Node actions menu and probe results

Inspect a node’s probe results and add it to a group.

Groups and routing

  • Edit groups, membership filters and selection policies.
  • Edit the rule list and apply routing templates.
  • Trace routing decisions with a process name and firewall mark.

Policy group editor

Edit a group’s filters and policy.

Rule list in advanced view

Inspect the rule list in advanced view.

Configuration

  • Edit source files with validation diagnostics.
  • Change global settings through a form.
  • Inspect revisions and export configuration.

Configuration editor with validation errors

Locate validation errors in the source editor.

Appearance and phones

  • Choose palettes and light or dark themes.
  • Use English, Simplified Chinese or Traditional Chinese.
  • Use page tabs, lists and menus on phones.

Palette comparison sheet

Compare the available palettes.

Phone layouts with connections and appearance menus

Browse connections and change appearance on a phone.

Available features depend on the backend’s capabilities and configuration; see the feature requirements.

Two editions

doona lite is a preview in testing in 0.1.0-rc.7; its pages and behaviour may change. Both editions connect to the same honk with the same administrator credentials.

Area Standard edition doona lite (preview)
Traffic monitoring Activity, connections, flows, DNS, logs and events no monitoring pages
Configuration source editor, diagnostics, global settings and revisions forms for nodes, subscriptions and global settings
Groups and rules editors, templates and route trace group, routing and DNS editors
Intended use full interface for everyday management smaller configuration editor
Status release candidate preview in testing

See the edition comparison for features, backend requirements and switching editions.

The doona lite Nodes page

Try the demo

Try the UI with sample data; no backend is needed.

Standard edition

doona lite (preview)

To see error states, use ?scenario=faults; ?scenario= returns to the healthy demo.

Install

honk's full releases already embed doona. Follow the quick start to use it; the documentation also covers installing doona separately. On Debian, Ubuntu, Fedora and openSUSE, install it from the daeuniverse package repository: doona-web on Debian and Ubuntu, doona on Fedora and openSUSE, with the repository set up as described for Debian, Fedora and openSUSE. The release archives and packages stay available from the GitHub releases.

Backend protocols

honk handles proxying; see the honk node reference for supported protocols, transports and limits.

Latest release

0.1.0-rc.7 has 21 entries: 3 additions, 17 fixes and 1 internal update.

This release adds a Manual tab to the Add node dialog, and new nodes can join groups in the same step. Manual policy groups fold, group members name their subscription, and help links open the manual on daeuniverse.org. Dark Reader no longer recolours doona, links into a setting or card scroll to their target, and page skeletons match the loaded pages.

Documentation

Development

The build, test and packaging commands, the source layout and the contract pin are on the development page. See CONTRIBUTING.md before opening a pull request.

For lite’s separate dependency install and build commands, see Development.

Support

Report interface problems and ask questions in doona issues. Report proxy, routing, DNS and other engine problems in honk issues. See SECURITY.md for reporting a vulnerability.

License and credits

doona is licensed under AGPL-3.0-only. If you provide a modified version to users, including over a network, you must offer them its corresponding source code.

Noto Sans TC and SC, bundled from Fontsource npm packages, are copyright Adobe and licensed under the Open Font License; NOTICE credits the Adobe Spectrum icons (Apache-2.0).

Languages
TypeScript 88.4%
JavaScript 6.6%
CSS 4.5%
Shell 0.3%