clavarium 0.2.445-next.1 → 0.2.447-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.
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.445-next.1",
3
+ "version": "0.2.447-next.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "clavarium",
9
- "version": "0.2.445-next.1",
9
+ "version": "0.2.447-next.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
13
13
  "@xterm/xterm": "^6.0.0",
14
14
  "clavarium-binder": "0.1.62-next.1",
15
15
  "clavarium-docket": "0.1.2-next.2",
16
- "clavarium-parley": "0.17.93-next.1",
16
+ "clavarium-parley": "0.17.94-next.1",
17
17
  "clavarium-tether": "0.1.0-next.67",
18
18
  "mammoth": "1.13.0",
19
19
  "mermaid": "11.17.2",
@@ -787,9 +787,9 @@
787
787
  }
788
788
  },
789
789
  "node_modules/clavarium-parley": {
790
- "version": "0.17.93-next.1",
791
- "resolved": "https://registry.npmjs.org/clavarium-parley/-/clavarium-parley-0.17.93-next.1.tgz",
792
- "integrity": "sha512-D+h9CwtW2j8mgS+hUlSyc1h5aSvMfqSUQ821cijtR4dvHNlgPe/0/GYZqsf1Kms8dV+eGUxQBT2aTd8CcxvpXA==",
790
+ "version": "0.17.94-next.1",
791
+ "resolved": "https://registry.npmjs.org/clavarium-parley/-/clavarium-parley-0.17.94-next.1.tgz",
792
+ "integrity": "sha512-EPlSnEevH6sw2yfFLGG+KP3mlAIUQhPwHP/uaa7IoQva8zme0cqRm4bS+2o7jyAdtmV0cmxA9iDwC6MYTrgBWA==",
793
793
  "license": "MIT",
794
794
  "bin": {
795
795
  "parley": "bin/parley.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.445-next.1",
3
+ "version": "0.2.447-next.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "A conversation is a VM with a terminal in it. Everything else is a folder.",
@@ -47,7 +47,7 @@
47
47
  "@xterm/xterm": "^6.0.0",
48
48
  "clavarium-binder": "0.1.62-next.1",
49
49
  "clavarium-docket": "0.1.2-next.2",
50
- "clavarium-parley": "0.17.93-next.1",
50
+ "clavarium-parley": "0.17.94-next.1",
51
51
  "clavarium-tether": "0.1.0-next.67",
52
52
  "mammoth": "1.13.0",
53
53
  "mermaid": "11.17.2",
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
- if (atAccess) openChapter('access');
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. */