dsh-ui-controller 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -7
- package/README.md +8 -7
- package/client.js +2380 -2441
- package/package.json +46 -46
package/CHANGELOG.md
CHANGED
|
@@ -2,17 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `dsh-ui-controller`.
|
|
4
4
|
|
|
5
|
+
## 0.2.5 — 2026-11-17
|
|
6
|
+
### Changed
|
|
7
|
+
- The 127 module-level declarations now live inside the loader factory: the
|
|
8
|
+
harness concatenates every plugin's client into one shared module, so a bare
|
|
9
|
+
top-level `const NS` can collide with another plugin and take the whole page
|
|
10
|
+
down (`Identifier 'NS' has already been declared`). Top level is comments and
|
|
11
|
+
the `load()` call only.
|
|
12
|
+
|
|
13
|
+
## 0.2.4 — 2026-11-15
|
|
14
|
+
### Changed
|
|
15
|
+
- The launcher never shows a folded count anymore (user m20715); the counter
|
|
16
|
+
is removed, and a stale 「更多 (N)」left by an older build is restored to the
|
|
17
|
+
bare label.
|
|
18
|
+
### Fixed
|
|
19
|
+
- The More menu no longer flashes a bordered row for one frame before the host
|
|
20
|
+
look arrives: the sample is taken from the first row's ref (after the menu
|
|
21
|
+
is in the DOM, before the browser paints), and the fallback row is
|
|
22
|
+
host-shaped (no border, host padding and height).
|
|
23
|
+
- A borrowed glyph keeps the ids its own drawing references, so `<use href="#symbol">`
|
|
24
|
+
icons stay intact instead of turning into empty boxes.
|
|
25
|
+
|
|
5
26
|
## 0.2.3 — 2026-11-15
|
|
6
27
|
|
|
7
28
|
### Fixed
|
|
8
29
|
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
rows still on screen", reading `display:none` on the row and on any wrapper
|
|
14
|
-
the fold pass hid. When the sidebar cannot be read (collapsed, not mounted) the
|
|
15
|
-
launcher keeps its bare label instead of guessing a zero.
|
|
30
|
+
- A launcher count existed for one release; the number, its painter and its
|
|
31
|
+
label combinator were removed in 0.2.4 after the user asked for no number
|
|
32
|
+
at all (m20715: 「直接不显示那个 数字了」). A stale count painted by this
|
|
33
|
+
release is normalised back to the bare label.
|
|
16
34
|
|
|
17
35
|
## 0.2.2 — 2026-11-15
|
|
18
36
|
|
package/README.md
CHANGED
|
@@ -186,7 +186,7 @@ Two sentences that belong in any answer about ordering:
|
|
|
186
186
|
node --check client.js
|
|
187
187
|
node --check index.js
|
|
188
188
|
node --check test/classify.test.mjs
|
|
189
|
-
node test/classify.test.mjs # expect: PASS —
|
|
189
|
+
node test/classify.test.mjs # expect: PASS — 44 groups
|
|
190
190
|
node ..\..\cangku\tmp\261114_gate_ui_controller.mjs # static gate, separate script
|
|
191
191
|
```
|
|
192
192
|
|
|
@@ -201,12 +201,13 @@ its own groups: entries group under their slot with empty seats in their own zon
|
|
|
201
201
|
the three filters count what they keep, folding starts closed and survives a
|
|
202
202
|
re-render, and the static fallback still draws slot heads when no live snapshot is
|
|
203
203
|
available. The sidebar-more behaviour has groups of its own: replay folds only
|
|
204
|
-
what the record and `foldAll` ask for; the launcher number is
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
rows and restores them on the way out,
|
|
204
|
+
what the record and `foldAll` ask for; the launcher carries no number at all — the counter is gone, and a
|
|
205
|
+
stale count painted by an older build is normalised back to the bare label on
|
|
206
|
+
every pass; the first frame of the menu already carries the host row look (the
|
|
207
|
+
sample is taken in the row ref, before the browser paints, so the fallback
|
|
208
|
+
class never reaches the screen and the old bordered fallback style is gone);
|
|
209
|
+
folding hides the live rows and restores them on the way out,
|
|
210
|
+
leaving rows it cannot identify alone; and
|
|
210
211
|
the menu borrows a live host item's class list and computed size instead of any
|
|
211
212
|
hardcoded name; each menu row copies the panel glyph from the live sidebar row
|
|
212
213
|
(runtime clone taken from the drawing inside the host's slot anchor, ids and
|