clavarium 0.2.445-next.1 → 0.2.446-next.1
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/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/web/app.js +10 -1
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clavarium",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.446-next.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "clavarium",
|
|
9
|
-
"version": "0.2.
|
|
9
|
+
"version": "0.2.446-next.1",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xterm/addon-fit": "^0.11.0",
|
package/package.json
CHANGED
package/web/app.js
CHANGED
|
@@ -1801,6 +1801,13 @@
|
|
|
1801
1801
|
function openSearch() {
|
|
1802
1802
|
if (DEVICE) return;
|
|
1803
1803
|
/* Asked for: the keyboard comes with it, lock or not. */
|
|
1804
|
+
/* The list folded away (a pick folds it, 14-11): it comes back, or the field would be typed in out of sight. */
|
|
1805
|
+
/* At once, not slid: the slide ends by giving the terminal the keys, the search needs them. */
|
|
1806
|
+
if (listFolded && !narrow()) {
|
|
1807
|
+
listFolded = false;
|
|
1808
|
+
try { localStorage.setItem('clavarium-list', 'open'); } catch { /* a private window */ }
|
|
1809
|
+
applyFold(false); fit.fit?.();
|
|
1810
|
+
}
|
|
1804
1811
|
if (!$('search').hidden) { $('search-field').focus(); return; }
|
|
1805
1812
|
$('search').hidden = false; $('search-open').setAttribute('aria-expanded', 'true');
|
|
1806
1813
|
nav.push('search', () => closeSearch());
|
|
@@ -4353,9 +4360,11 @@
|
|
|
4353
4360
|
if (!giving && $('panel').dataset.painted !== current) { $('panel').dataset.painted = current; void paintPanel().catch(() => {}); }
|
|
4354
4361
|
if (!giving) { convHandLoading(conversations.find((x) => x.name === current)); curvesLoading($('machine-curves'), current); }
|
|
4355
4362
|
/* What it has may have changed from another screen: asked again before it is shown. */
|
|
4363
|
+
const tabShown = $('panel').dataset.tab;
|
|
4356
4364
|
await refresh();
|
|
4357
4365
|
await paintPanel();
|
|
4358
|
-
|
|
4366
|
+
/* A tab picked by hand while it was asked again is kept: it no longer jumps to Access under the finger. */
|
|
4367
|
+
if (atAccess && $('panel').dataset.tab === tabShown) openChapter('access');
|
|
4359
4368
|
}
|
|
4360
4369
|
$('folders').addEventListener('click', () => {
|
|
4361
4370
|
/* A tab chosen before on this device: that one. Never chosen: its Access chapter, as it always opened. */
|