@sidequest-007/dsh-atlas 1.2.4 → 1.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 +6 -0
- package/dsh.plugin.json +1 -1
- package/lib/client.js +18 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.5] - 2026-11-21
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Menu glyphs stay missing in a window whose menu takes longer than two frames to hold still, or whose animation frames are throttled. The glyph layer now follows the layout for a bounded half second, watches the listbox for rows that land after that, and takes one delayed pass — still without polling.
|
|
8
|
+
|
|
3
9
|
## [1.2.4] - 2026-11-21
|
|
4
10
|
|
|
5
11
|
### Added
|
package/dsh.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sidequest-007/dsh-atlas",
|
|
3
3
|
"description": "AT Last, All Sources. One @ to jump anywhere — line ranges like @src/a.ts:12-40, the token cost of each reference before you send, and Esc to walk the session back.",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.5",
|
|
5
5
|
"entry": {
|
|
6
6
|
"name": "@sidequest-007/dsh-atlas",
|
|
7
7
|
"inject": []
|
package/lib/client.js
CHANGED
|
@@ -25172,12 +25172,28 @@ function MenuIcons({ useMenu }) {
|
|
|
25172
25172
|
};
|
|
25173
25173
|
(0, import_react5.useLayoutEffect)(measure, [state]);
|
|
25174
25174
|
(0, import_react5.useEffect)(() => {
|
|
25175
|
-
let
|
|
25175
|
+
let stopped = false;
|
|
25176
|
+
let frame = 0;
|
|
25177
|
+
const started = performance.now();
|
|
25178
|
+
const tick = () => {
|
|
25179
|
+
if (stopped) return;
|
|
25180
|
+
measure();
|
|
25181
|
+
if (performance.now() - started < 500) frame = requestAnimationFrame(tick);
|
|
25182
|
+
};
|
|
25183
|
+
frame = requestAnimationFrame(tick);
|
|
25184
|
+
const list = document.querySelector('[role="listbox"]');
|
|
25185
|
+
const watch = typeof MutationObserver === "undefined" ? void 0 : new MutationObserver(() => {
|
|
25176
25186
|
measure();
|
|
25177
|
-
frame = requestAnimationFrame(measure);
|
|
25178
25187
|
});
|
|
25188
|
+
watch?.observe(list ?? document.body, { childList: true, subtree: true });
|
|
25189
|
+
const delayed = setTimeout(() => {
|
|
25190
|
+
measure();
|
|
25191
|
+
}, 120);
|
|
25179
25192
|
return () => {
|
|
25193
|
+
stopped = true;
|
|
25180
25194
|
cancelAnimationFrame(frame);
|
|
25195
|
+
watch?.disconnect();
|
|
25196
|
+
clearTimeout(delayed);
|
|
25181
25197
|
};
|
|
25182
25198
|
}, [state]);
|
|
25183
25199
|
(0, import_react5.useEffect)(() => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sidequest-007/dsh-atlas",
|
|
3
3
|
"description": "AT Last, All Sources. One @ to jump anywhere — line ranges like @src/a.ts:12-40, the token cost of each reference before you send, and Esc to walk the session back.",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.5",
|
|
5
5
|
"icon": "icon.svg",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Side Quest Labs",
|