yetone
8410258364
sidebar: a page's row under the pointer is lit as by a torch, as a sub-list's is
...
The owner asked why the sidebar's page rows (Providers, Routing, Gateway…)
had no torch light when the sub-lists under them do (876d477d7 ). They now
light the same way: brightest where the pointer is, falling off along the
word, the rest of the row a step up, one row at a time; Settings at the
foot too. The open page's row is never lit, a touch lights nothing.
- navlamp.js: the row is a sub-list's row or, in the sidebar, a page's row
(#nav > button[data-view], #prefs); the word is the row's own span; the
open page (.on) is skipped as the sub-list's .cur is.
- app.css: the lit word's ground ink is the row's own (--lo): the page rows
rest at --fg-2, the sub-rows at --ctl-fg as before; the page rows' plain
hover ink stands down while the lamp is on, as the sub-rows' does. Their
hover ground is unchanged.
- app.js: the lamp is loaded when the pointer first comes over the sidebar,
not when a sub-list is drawn. Loaded when the sidebar was laid out, its
fetch held up the open page's arrival past navTopGo's two frames, and
the selection shape glided from Agents (sidebar-glide red 2 of 5 on
Windows chromium, 0 of 6 at the base 5d955a4d4 ). A comment's
cross-reference was cut so app.js is 39 bytes under main, no raise.
Rebased on a511b11d8; at that head (8fcefff51 before this message):
- nav-lamp, old-webkit, sidebar-glide, sidebar on Windows, both engines:
56 pass, 0 fail; the Budget test on mote: ok.
Tests: nav-lamp.test.cjs gets a page-row test (both engines, dark/light,
en/zh): brightest at the pointer's end of 供应商/Providers by pixels, one
row lit, Gateway then Settings taking it, all out off the sidebar, the open
page's row never lit.
Run before the last rebase (on 5d955a4d4 , then 47173f593 ):
- nav-lamp + old-webkit + sidebar + side-toggle + rail-tip on xiaomi-gpu
(Windows), both engines: 74 pass, 0 fail. sidebar-glide chromium 6 of 6.
mote ran chromium only (webkit timed out at launch, load 37).
- go test -tags nogui -run Budget ./internal/gui on mote: ok.
- The sidebar's look files (18 files) on Windows at the first version:
header-centre webkit, mobile-web, omarchy and i18n-keys' "a plugin's
words are its own" red, the same at the base 5d955a4d4 run beside it
(plugins/routing "Unmarked" shared with a Go test; not mine, not filed
here).
- A screenshot (zh dark) shows 供 lit, 应商 falling off.
Broken by hand: the page rows taken out of navlamp.js's selector, the new
test red in every case, the sub-list's still green; put back.
Not tried: the real app on Linux (WebKitGTK) and Windows (WebView2), the
whole GUI suite.
2026-10-31 18:07:01 +08:00
..
2026-10-31 18:07:01 +08:00
2026-10-30 15:00:16 +08:00
2026-10-18 07:13:09 +08:00
2026-10-31 18:07:01 +08:00
2026-10-13 09:55:23 +08:00
2026-10-30 18:03:55 +08:00
2026-10-30 15:38:06 +08:00
2026-10-16 19:14:52 +08:00
2026-10-14 20:01:06 +08:00
2026-10-31 01:22:28 +08:00
2026-10-14 17:00:34 +08:00
2026-10-31 10:33:50 +08:00
2026-10-31 14:45:22 +08:00
2026-10-31 16:53:00 +08:00
2026-10-13 09:55:23 +08:00
2026-10-27 18:58:16 +08:00
2026-10-27 18:58:16 +08:00
2026-10-24 21:01:18 +08:00
2026-10-24 21:01:18 +08:00
2026-10-15 01:32:12 +08:00
2026-10-29 17:13:05 +08:00
2026-10-31 18:01:04 +08:00
2026-10-13 16:55:27 +08:00
2026-10-28 22:26:02 +08:00
2026-10-17 22:54:38 +08:00
2026-10-25 05:54:07 +08:00
2026-10-16 00:16:43 +08:00
2026-10-25 01:23:42 +08:00
2026-10-23 01:58:01 +08:00
2026-10-13 14:40:11 +08:00
2026-10-31 04:12:17 +08:00
2026-10-14 09:15:21 +08:00
2026-10-14 09:15:21 +08:00
2026-10-14 09:15:21 +08:00
2026-10-13 11:13:24 +08:00
2026-10-13 11:13:24 +08:00
2026-10-13 11:13:24 +08:00
2026-10-13 12:11:23 +08:00
2026-10-26 15:35:12 +08:00
2026-10-27 15:30:31 +08:00
2026-10-31 09:17:24 +08:00
2026-10-29 22:10:21 +08:00
2026-10-29 22:10:21 +08:00
2026-10-30 13:23:19 +08:00
2026-10-30 16:05:58 +08:00
2026-10-22 19:03:32 +08:00
2026-10-30 16:05:58 +08:00
2026-10-31 18:01:04 +08:00
2026-10-31 04:21:21 +08:00
2026-10-13 07:14:22 +08:00
2026-10-15 03:34:59 +08:00
2026-10-17 05:33:18 +08:00
2026-10-14 08:36:07 +08:00
2026-10-13 05:34:13 +08:00
2026-10-29 20:53:36 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-10-14 13:31:10 +08:00
2026-10-25 19:28:05 +08:00
2026-10-28 12:25:39 +08:00
2026-10-28 12:25:39 +08:00
2026-10-17 17:45:57 +08:00
2026-10-31 09:41:13 +08:00
2026-10-30 19:12:35 +08:00
2026-10-15 03:34:58 +08:00
2026-10-15 23:08:05 +08:00
2026-10-13 20:39:39 +08:00
2026-10-28 03:50:46 +08:00
2026-10-15 00:34:14 +08:00
2026-10-15 00:34:14 +08:00
2026-10-17 20:38:06 +08:00
2026-10-15 01:32:12 +08:00
2026-10-28 17:34:16 +08:00
2026-10-29 23:36:58 +08:00
2026-10-31 00:57:21 +08:00
2026-10-31 00:57:21 +08:00
2026-10-31 15:56:40 +08:00
2026-10-31 15:56:40 +08:00
2026-10-31 15:56:40 +08:00
2026-10-31 12:44:16 +08:00
2026-10-17 05:33:18 +08:00
2026-10-13 04:27:40 +08:00
2026-10-29 15:50:37 +08:00
2026-10-29 15:50:37 +08:00
2026-10-15 19:20:09 +08:00
2026-10-15 19:20:09 +08:00
2026-10-15 23:08:05 +08:00
2026-10-24 02:20:38 +08:00
2026-10-24 02:20:38 +08:00
2026-10-13 07:30:06 +08:00
2026-10-13 07:30:06 +08:00
2026-10-30 15:26:03 +08:00
2026-10-20 20:23:56 +08:00
2026-10-29 03:17:58 +08:00
2026-10-29 19:58:40 +08:00
2026-10-31 15:56:40 +08:00
2026-10-25 14:00:59 +08:00
2026-10-17 05:33:18 +08:00
2026-10-20 01:25:47 +08:00
2026-10-31 00:44:59 +08:00
2026-10-29 09:24:31 +08:00
2026-10-20 02:29:39 +08:00
2026-10-29 20:38:00 +08:00
2026-10-28 05:50:26 +08:00
2026-10-16 08:43:02 +08:00
2026-10-29 06:38:04 +08:00
2026-10-29 06:38:04 +08:00
2026-10-26 22:50:37 +08:00
2026-10-26 22:50:37 +08:00
2026-10-31 10:57:56 +08:00
2026-10-31 10:57:56 +08:00
2026-10-15 23:08:03 +08:00
2026-10-24 05:31:59 +08:00
2026-10-28 15:25:53 +08:00
2026-10-30 11:54:46 +08:00
2026-10-27 08:29:11 +08:00
2026-10-29 07:58:26 +08:00
2026-10-29 14:28:24 +08:00
2026-10-29 14:28:24 +08:00
2026-10-29 14:28:24 +08:00
2026-10-15 23:08:00 +08:00
2026-10-16 15:40:38 +08:00
2026-10-30 12:06:33 +08:00
2026-10-30 12:06:33 +08:00
2026-10-30 12:06:33 +08:00
2026-10-22 20:50:59 +08:00
2026-10-14 08:50:41 +08:00
2026-10-19 12:42:48 +08:00
2026-10-29 14:28:24 +08:00
2026-10-18 07:13:09 +08:00
2026-10-16 20:05:11 +08:00
2026-10-29 14:28:24 +08:00
2026-10-29 14:28:24 +08:00
2026-10-28 22:34:52 +08:00
2026-10-13 14:29:52 +08:00
2026-10-16 20:48:51 +08:00
2026-10-24 22:31:59 +08:00
2026-10-13 14:29:52 +08:00
2026-10-14 04:22:19 +08:00
2026-10-30 15:42:29 +08:00
2026-10-27 23:37:46 +08:00
2026-10-31 04:24:59 +08:00
2026-10-21 09:13:30 +08:00
2026-10-30 18:55:51 +08:00
2026-10-28 16:55:24 +08:00
2026-10-28 16:55:24 +08:00
2026-10-14 16:40:23 +08:00
2026-10-15 05:20:17 +08:00
2026-10-27 02:26:27 +08:00
2026-10-30 04:48:17 +08:00
2026-10-17 13:11:43 +08:00
2026-10-25 04:12:06 +08:00
2026-10-16 22:58:40 +08:00
2026-10-23 03:35:27 +08:00
2026-10-15 23:08:02 +08:00
2026-10-14 23:06:35 +08:00
2026-10-31 15:04:44 +08:00
2026-10-23 02:39:33 +08:00
2026-10-15 23:08:05 +08:00
2026-10-15 23:08:05 +08:00
2026-10-31 15:56:40 +08:00
2026-10-31 15:56:40 +08:00
2026-10-29 06:38:04 +08:00
2026-10-29 06:38:04 +08:00
2026-10-31 01:01:49 +08:00
2026-10-15 23:08:00 +08:00
2026-10-14 05:22:40 +08:00
2026-10-30 00:46:45 +08:00
2026-10-29 17:02:24 +08:00
2026-10-16 07:23:55 +08:00
2026-10-17 05:33:18 +08:00
2026-10-17 05:33:18 +08:00
2026-10-17 05:33:18 +08:00
2026-10-17 05:33:18 +08:00
2026-10-15 23:08:00 +08:00
2026-10-28 22:48:07 +08:00
2026-10-14 22:45:40 +08:00
2026-10-15 05:10:28 +08:00
2026-10-29 06:30:58 +08:00
2026-10-14 22:45:40 +08:00
2026-10-16 05:10:43 +08:00
2026-10-19 03:57:52 +08:00
2026-10-29 23:56:05 +08:00
2026-10-15 09:40:51 +08:00
2026-10-29 23:56:05 +08:00
2026-10-29 23:56:05 +08:00
2026-10-13 13:02:09 +08:00
2026-10-27 06:18:24 +08:00
2026-10-30 08:32:57 +08:00
2026-10-15 08:23:54 +08:00
2026-10-22 00:04:28 +08:00
2026-10-31 15:11:58 +08:00
2026-10-31 15:04:44 +08:00
2026-10-30 15:53:22 +08:00
2026-10-31 01:02:24 +08:00
2026-10-14 08:36:07 +08:00
2026-10-16 15:40:38 +08:00
2026-10-29 17:09:13 +08:00
2026-10-29 17:09:13 +08:00
2026-10-30 19:05:17 +08:00
2026-10-15 23:08:04 +08:00
2026-10-14 08:32:40 +08:00
2026-10-31 00:08:29 +08:00
2026-10-13 09:55:23 +08:00
2026-10-13 09:55:23 +08:00
2026-10-13 09:55:23 +08:00
2026-10-13 09:55:23 +08:00
2026-10-19 23:19:24 +08:00
2026-10-30 13:23:19 +08:00
2026-10-31 11:29:38 +08:00
2026-10-30 15:53:22 +08:00
2026-10-31 11:29:38 +08:00
2026-10-15 05:30:58 +08:00
2026-10-15 05:30:58 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-31 16:53:00 +08:00
2026-10-24 15:20:37 +08:00
2026-10-31 16:53:00 +08:00
2026-10-31 16:53:00 +08:00
2026-10-15 23:08:01 +08:00
2026-10-15 05:30:58 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 13:02:48 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-30 23:14:08 +08:00
2026-10-14 13:02:48 +08:00
2026-10-31 11:24:04 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 17:29:43 +08:00
2026-10-30 23:14:08 +08:00
2026-10-31 11:24:04 +08:00
2026-10-30 23:14:08 +08:00
2026-10-31 17:12:16 +08:00
2026-10-29 16:31:37 +08:00
2026-10-15 23:08:00 +08:00
2026-10-31 17:12:16 +08:00
2026-10-29 17:47:30 +08:00
2026-10-29 17:47:30 +08:00
2026-10-31 00:44:59 +08:00
2026-10-14 15:19:14 +08:00
2026-10-31 11:39:04 +08:00
2026-10-31 11:39:04 +08:00
2026-10-29 18:55:42 +08:00
2026-10-15 23:08:03 +08:00
2026-10-28 23:22:14 +08:00
2026-10-27 01:37:04 +08:00
2026-10-28 23:22:14 +08:00
2026-10-31 17:28:37 +08:00
2026-10-13 09:47:08 +08:00
2026-10-25 18:22:13 +08:00
2026-10-28 23:22:14 +08:00
2026-10-28 23:22:14 +08:00
2026-10-28 23:22:14 +08:00
2026-10-31 17:28:37 +08:00
2026-10-29 18:52:05 +08:00
2026-10-28 21:13:09 +08:00
2026-10-15 04:21:31 +08:00
2026-10-28 11:15:57 +08:00
2026-10-14 15:26:28 +08:00
2026-10-23 10:54:27 +08:00
2026-10-31 06:22:53 +08:00
2026-10-23 03:08:08 +08:00
2026-10-31 13:03:34 +08:00
2026-10-28 13:51:37 +08:00
2026-10-29 15:39:31 +08:00
2026-10-31 06:22:53 +08:00
2026-10-27 14:27:12 +08:00
2026-10-15 01:32:12 +08:00
2026-10-28 19:54:53 +08:00
2026-10-27 15:15:29 +08:00
2026-10-14 05:29:30 +08:00
2026-10-29 14:28:24 +08:00
2026-10-28 07:31:02 +08:00
2026-10-28 07:31:02 +08:00
2026-10-28 15:25:53 +08:00
2026-10-19 07:23:04 +08:00
2026-10-13 09:50:04 +08:00
2026-10-19 07:23:04 +08:00
2026-10-25 01:46:55 +08:00
2026-10-24 22:54:36 +08:00
2026-10-26 21:09:44 +08:00
2026-10-16 20:05:11 +08:00
2026-10-30 21:56:29 +08:00
2026-10-30 21:56:29 +08:00
2026-10-27 13:11:16 +08:00
2026-10-15 00:34:14 +08:00
2026-10-31 10:57:56 +08:00