When both lists load with no subscription and no node beyond the
built-in outbounds, the Nodes list gives way to the kit empty state: one
sentence, Add subscription as the primary action and Paste node link
beside it, so the two ways in stay reachable without the tables.
When no loaded file has a dns block, the apply dialog shows a checked
Also add DNS split checkbox; while checked the write appends the dns
block quick setup used to write (cloudflare over DoT, alidns for
geosite:cn) and the diff shows it. With a dns block present there is no
checkbox and DNS stays as it is.
The kit gains an S2 Checkbox on the radio's row layout. The rules view
e2e reloads after writing the file behind the page's back.
Subscriptions live on the Nodes page and routing templates in the Rules
simple view, so the quick setup tab goes. Its form, hook, view helpers,
i18n keys, styles and specs are deleted, along with the lan_interface
auto write and the path that wrote a global block into an empty file.
The template writer in dae/setup keeps only what the Rules view uses;
isSubscriptionUrl moves to dae/subscriptions and isPort to the routing
trace. An old #/config?tab=setup link opens the default tab, and search
lists the three remaining tabs.
The routing list now opens on the simple view whenever it is available,
for template and custom routing alike; view=advanced still opens the
table. A link that points at one rule (rule, edit, add or held) lands on
the table, and closing the editor such a link opened keeps the table
instead of falling back to the simple view.
A wrapped continuation now starts past the text column, so it no longer reads as a new line. The dialog body's scroll divider used hl-low, which matches the dialog surface in the dark palettes; it now uses hl-med like the kit's other dividers.
At phone width the apply dialog's diff cut long lines at the panel edge,
and its opaque highlight matched the dialog behind the panel, so added
lines looked like they sat outside it. Lines now wrap under their text,
the mark hanging in the row's start padding (a grid cell would split
mark and text onto separate lines in a copy), and added and removed rows
take a see-through positive or negative tint over the one panel.
Code faces turn ligatures off, so -> and != show as typed.
- The dialog body is the only vertical scroller: the diff no longer
caps its own height inside it, and dividers set the content off from
the title and the footer while it overflows, as S2 does.
- Disclosure gains flush, so More templates and Changes to <file> line
up with the radios and the dialog's text instead of sitting indented.
- Groups to create runs in two columns where the dialog is wide enough.
- The Simple/Advanced switch ends the rule count toolbar row in both
views instead of taking a row of its own.
- Text uses the kit's roles: rp-note for help and labels, rp-code for
names and the diff, rp-label for the diff's gap line, and a warning
Light for pinned and shadowed groups; the diff styles move to the kit
sheet and the ad hoc type declarations go.
- zh titles space the name and use a full-width question mark, and the
Global proxy help reads as one formal sentence.
The dialog repeated its text, set each group in a card row with a
duplicate badge, and scrolled its buttons away with the diff. It now
has a one-sentence summary, plain lists of the groups to create and the
existing groups used with one warning line under a pinned group or a
name a node shares, and the diff under a Changes disclosure that starts
closed. ModalDialog and ConfirmDialog gain scrollBody: only the content
scrolls, between a title and a footer that stay in view.
The simple view was two cards that only displayed the routing, with an
Apply button on every template. It is now one Routing mode section: the
modes as radios with More templates holding the ACL4SSR presets, the
detected one selected, a note when the rules are custom, the shared
direct and UDP/443 line once, and one Apply that is enabled only when
another mode is chosen and the file can be written, with the refusal as
help text under it.
A vertical single choice after S2's RadioGroup: a group label or heading,
radios with an optional line of help each, and help text for the group.
Built on react-aria-components with the existing tokens; the focus ring
hugs the mark. The Rules page's routing modes need it.
honk keeps the quotes in a group's name, so 'proxy' and proxy are two
groups. Applying a template reused a quoted group for a bare one and left
its rules naming a group that does not exist; the impact list said the
same. Groups are now matched by their name as written, in the template
writer, quick setup and the impact list, and detection keeps outbound and
fallback names as written, unquoting only match arguments.
A routing target or fallback named include was read as an include
statement and refused every template; only a statement's first word
counts now.
The line diff built a table the size of both files. It now drops the
lines both texts share at the start and end, and shows a stretch too
large to compare line by line as its old lines replaced by its new ones.
The apply dialog lists the groups the template creates, the existing
groups its rules will name, flagging one pinned to a single node, and new
groups that share a node's name. It ends with a line diff of the target
file, showing only the changed stretches with a count of the unchanged
lines between them. The diff is a new kit component.
Each template in the simple view can be applied. It rewrites one file:
the one whose top level holds the routing, or the main file. It goes
through the config editor's write path, so it validates, sends If-Match
for the text the dialog opened on, waits for the reload and reports a
change on disk. Routing spread over several files or pulling one in with
include is refused with the reason, as are files that are read-only,
redacted or hold API listener secrets, and backends with writes off. A
403 from the backend keeps the page read-only with the reason.
The routing list gains a Simple/Advanced switch. Simple names the
template the routing holds with a one-line description of what goes
direct and what goes through the proxy, or says the rules are custom and
offers Advanced, which is the existing rule table. Bypass, GFW and Global
come first; the ACL4SSR presets sit under More templates and say which
groups they create. The page opens on Simple only when a template is
recognised, so custom routing still lands on the table.
Add detectTemplate, which reads the top-level routing of a file and names
the preset whose rules and fallback it holds, ignoring spacing and
comments, so the Rules page can show routing in plain words. Add
writeTemplate, which applies a preset to one file only: it replaces the
top-level routing, reuses groups any loaded file already declares, and
leaves DNS routing and everything else alone. writeState shares its group
and routing edits.
React Aria marks the Select root focus-visible along with its trigger, so
the generic [data-focus-visible] outline boxed the label and the control
together and clipped the trigger's own rounded ring. Select roots now
carry rp-picker, which turns that outline off; the trigger keeps its ring.
A read refused past its retries with a short Retry-After waits the longer
recovery delay. A reconnect cut that whole wait to zero, so the next read
could go out before the backend's Retry-After had passed. It now cuts
only the recovery delay.
After a 412 the editor reads the configuration again, and the dialog
takes its entry from each render's declaration, so the retry checks and
writes against the fresh entry. The test pins that with a concurrent
edit that only changes how the default member is spelled.
Chromium, Firefox and WebKit already return a page to its offset on a
history traversal: React renders the popstate update synchronously and
the browser restores the offset after it, so the scroll to the top on a
page change does not reach Back or Forward. The test keeps it that way.
The fixtures store a light scheme, which overrode the emulated colour
scheme, so the dark pass never ran. The test leaves the scheme to the system
and asserts the resolved scheme before measuring.
vite.config.ts and the stamp test now build the first-paint script through
one stampScript(), so the test exercises the build's injection instead of a
copy of it. perf.mjs keeps its pages and ready selectors in one table and
measures the Rules page, which PERF_ONLY=rules used to skip.
The area chart outlined the selected point in a fixed white, a visible ring
on the dark palette; Sparkline already used the base colour. The tick
measuring span now takes the text size from the same class as the labels
instead of a literal 11px.
Config uses the kit HelpRow, ModeSwitch drops its stale lint exemption, and
the traffic and memory projections no longer import the useRings hook: the
two controllers call it with the exported sample and fold functions.
ShareBar, its export and its CSS have no user. useRoutingTrace no longer
returns available and useArrange no longer returns byGroup, which nothing
reads. recorderPatchValue was an identity function, so the settings form
assigns the choice directly.
A never-fetched subscription already has the refresh icon in its row, so the
State column shows only the state and keeps its old width. A removal blocked by
group filters now offers only Close, as an alert dialog does. The edit
subscription help no longer lists fields the dialog has outgrown.
The contract's stale status covers both a subscription that has never
loaded and one that keeps older data, and the table showed both as
Stale. A subscription with no update time and no error now reads Not
fetched with a neutral light, and offers Fetch now beside it where the
engine can refresh. Failed and degraded states are unchanged.
honk reads a route on each subscription entry (routing, direct or a
group), and the providers list reports it, but the edit dialog had no
control for it. Edit subscription now offers the route when the engine
reports one, writes it into the entry, and removes it when set back to
the routing rules. In the old block form a new route replaces
download_detour, since honk refuses an entry with both. The add dialog
has no route because create_options does not list one.
The demo backend reports each subscription's route.
Removing a subscription that a group's subtag filter names, exactly or
inside an expression, in any source, left that group matching nothing,
or everything once its last filter went. The remove dialog now lists
those groups, links to the Policies page and stays disabled. A rename
the write cannot carry to every filter shows the same message; the
single-source rename that updates exact filters is unchanged.
Move the subscription name, URL, interval, User-Agent and cache fields
out of the Nodes dialog into features/shared, so the first-run guide can
stage the same fields later. The component only holds the draft; Nodes
still creates and edits through its own controller. The User-Agent
check moves to src/dae and the interval labels to features/shared.
The settings recorder and numeric fields, the traffic ranges and the
quick setup templates each listed ids a second time beside the table
that holds them, so an entry missing from the list silently lost its
control. They are now read from the table keys. The policy hooks read
the group config labels from view.ts instead of keeping their own
copies.
isBuiltinOutbound becomes a type guard so the routing tree can use it
instead of repeating the direct/block test, and pinnedLabel reads the pin
with readTag. A pin that names no known stage now gets the unknown label
instead of echoing its raw text.
The log level order was written out in five places, one of them reversed,
and the event kinds and policy kinds were re-listed beside the label maps
that already hold them. selectors.ts now exports logLevels in contract
order and derives eventKinds from eventKindLabels; the logs page, the
heatmap, the settings form, the flow demand check and the demo backend
read those instead of their own copies.
Sign-out only appeared for a password session, so a profile that
connects with a saved token had no way out short of clearing the field
or deleting the profile. Settings now offers the same button there: it
removes the token from the profile, keeps the address, and reloads to
the sign-in page. Nothing is sent to the backend, because a token is a
configured secret rather than a session; a help line says so.
Password sign-out also drops a saved token after closing the session,
since the client falls back to that token and would sign the tab
straight back in.
Quick setup could delete or rename a subscription that a group names with subtag(...), leaving a filter that matches nothing. The remove button is now disabled and a rename holds the save back, naming the groups and pointing to the policies page. The reference check moves from the Nodes view to src/dae/groups so both pages share it.
Removing the last subscription left an empty subscription {} behind. The section and the blank line that set it apart are now removed; a section still holding comments is kept.
Comment-only lines inside subscription {} were listed as rows and could be deleted. They are now written back where they stand and not listed; a bare URL entry is still a row.
Arco and Semi light pointed success toast text at the body text, which
turns the S2-style filled toast into dark text on green. Light mode
follows S2: filled toasts keep the on-accent white. Both palettes are
back to their official look; the contrast spec lists them with their
floors (2.78 and 2.72) instead. The dark-mode overrides stay.
Appearance change. Success and error toasts wrote their text in the
on-accent colour, which was never checked against the success and error
fills: 1.7:1 on Rose Pine Main dark, 2.8:1 on Arco light.
New role tokens --rp-on-positive and --rp-on-negative default to
--rp-on-accent. Where that is under 4.5:1, the palette points them at
one of its own colours: the base on Rose Pine Main dark and Ant Design
dark, the body text for success on Arco and Semi light. No colour value
is added. The contrast spec now checks both fills; the looks where no
colour of the palette reaches 4.5:1 keep on-accent and are listed there
with their floors. Glass is left out, as in the rest of that spec.
A wrong token typed on the sign-in page was reported as "the saved
token". The message now covers both cases, a typed token and one stored
earlier, in all three catalogs.
The expanded stack's underlay covers the whole window and dims it. It
stayed after moving to another page, so the next page looked stuck and
its first click only closed the stack. The expanded state now belongs to
the page it was opened on.
The Overview Reload button sent the reload at once while the top bar's
Reload honk asked first. Both now open the same confirmation, moved to
features/shared so the wording stays in one place.
The Logs page repeated the failed capabilities read the shell already
reports, so an outage showed the same banner twice. It now reports only
its own stream.
A capabilities read that failed waited out its retry delay (up to 30 s)
even after the event stream had reconnected, so the shell banner stayed
long after honk was back. A reconnect now reads it again at once; a
Retry-After the backend asked for still holds.
While the runtime read fails, Activity keeps the last traffic, connection
and CPU figures but mutes them, so they no longer pass for live values.
The node table's Latency column was too narrow for "Unavailable" in
English and clipped it; its minimum now fits that label. A long
unbroken policy group name wrapped and pushed the More menu below the
title; the title now truncates with a tooltip like the member tiles,
and the menu stays on its row. A long node name in a latency group's
unavailable list ran past the card edge; the note now wraps.
Cards sat under the page's h1 as h3, so axe reported heading-order
on eight pages and in the row detail panel. Card titles, the panel
title and the hand-written card headings are h2 now. They keep the
rp-h3 class, and the dialog and popover h2 rules skip it, so nothing
changes on screen.
Closing a menu or dialog opened from a control in a table row gave
focus back to the grid, where React Aria moved it on to the cell's
first control or to the row. The table now puts it back on the control
that opened the overlay, unless a press chose somewhere else.
After a mode write the main source is checked again, and while that
ran the mode card swapped Apply for the read-only status and back.
React Aria's pending announcement pointed at the old button, so axe
found two unnamed role=img nodes in the live region. The card keeps
its controls during the check.