@fnndsc/argus 0.8.0 → 0.9.0

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/dist/index.html CHANGED
@@ -12,8 +12,8 @@
12
12
  href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap"
13
13
  rel="stylesheet"
14
14
  />
15
- <script type="module" crossorigin src="./assets/index-B4T3qklv.js"></script>
16
- <link rel="stylesheet" crossorigin href="./assets/index-CLU1nvoG.css">
15
+ <script type="module" crossorigin src="./assets/index-CNN-ajYW.js"></script>
16
+ <link rel="stylesheet" crossorigin href="./assets/index-C0cxM8sU.css">
17
17
  </head>
18
18
  <body>
19
19
  <!-- ARGUS's own four sounds, synthesised rather than borrowed
@@ -88,10 +88,15 @@
88
88
  <div class="wrap" id="gap">
89
89
  <div class="left-frame">
90
90
  <div>
91
- <button class="panel-3 domain-live" id="gutter-files" title="the console's browser: the workspace, following the session cwd">FILES<span class="hop">-01</span></button>
92
- <button class="panel-4 domain-live" id="gutter-runs">RUNS<span class="hop">-02</span></button>
93
- <button class="panel-5 domain-live" id="gutter-tools">PACS<span class="hop">-03</span></button>
94
- <button class="panel-6 domain-inert">SOURCES<span class="hop">-04</span></button>
91
+ <!-- The gutter reads top down, and the first block is where a
92
+ session begins. The panel-N classes are POSITIONS in the
93
+ frame's hue cycle (and carry the first block's own corner),
94
+ so a domain moving up takes the class of the seat it moves
95
+ into rather than its colour with it. -->
96
+ <button class="panel-3 domain-live" id="gutter-dashboard" title="where a session begins: what each domain holds, and the way into it">DASHBOARD<span class="hop">-01</span></button>
97
+ <button class="panel-4 domain-live" id="gutter-files" title="the console's browser: the workspace, following the session cwd">FILES<span class="hop">-02</span></button>
98
+ <button class="panel-5 domain-live" id="gutter-runs">RUNS<span class="hop">-03</span></button>
99
+ <button class="panel-6 domain-live" id="gutter-tools">PACS<span class="hop">-04</span></button>
95
100
  <button class="panel-console domain-live" id="gutter-console" title="summon the console">CONSOLE<span class="hop">-05</span></button>
96
101
  <button class="panel-lang domain-live" id="lang-pill" title="the argus command line (Ctrl-B :)">LANG</button>
97
102
  <div class="panel-spacer"></div>
@@ -226,6 +231,49 @@
226
231
  <div class="dag-empty files-empty">NO FEED IN VIEW &mdash; PRESS RUNS-02, cd INTO A FEED, OR RUN `feed diagram &lt;feed&gt;`</div>
227
232
  </div>
228
233
  </template>
234
+ <template id="tpl-pane-gather">
235
+ <!-- The GATHER pane: a cohort as a listing, born beside the
236
+ PACS workspace when the first series is gathered. One
237
+ block, the cohort row over its series; the verbs in the
238
+ frame's row zone (aegis.adoc: a-row-s-verbs-live-in-the-frame). -->
239
+ <div class="workspace-pane pane-gather">
240
+ <div class="lcars-terminal-header-bar files-header-bar pane-handle" title="pane controls">
241
+ <div class="lcars-bar-horizontal">
242
+ <span class="lcars-title gather-title">GATHER</span>
243
+ <span class="pane-mode"></span>
244
+ <span class="pane-state"></span>
245
+ </div>
246
+ <div class="lcars-bar-end bar-punctuation"></div>
247
+ </div>
248
+ <div class="pane-drawer" hidden>
249
+ <span class="drawer-group drawer-structure">
250
+ <span class="drawer-label">SPLIT</span>
251
+ <button class="pacs-capsule drawer-split" data-split="col" data-place="before" title="new pane opens left">LEFT</button>
252
+ <button class="pacs-capsule drawer-split" data-split="col" data-place="after" title="new pane opens right">RIGHT</button>
253
+ <button class="pacs-capsule drawer-split" data-split="row" data-place="before" title="new pane opens above">ABOVE</button>
254
+ <button class="pacs-capsule drawer-split" data-split="row" data-place="after" title="new pane opens below">BELOW</button>
255
+ <button class="pacs-capsule drawer-zoom" data-pane="" title="zoom (Esc restores)">ZOOM</button>
256
+ <button class="pacs-capsule drawer-close" title="close pane">CLOSE</button>
257
+ </span>
258
+ <span class="drawer-group drawer-binding" role="radiogroup" title="what the next split creates">
259
+ <button class="pacs-capsule drawer-bind drawer-bind-selected" data-bind="unlinked">UNLINKED</button>
260
+ <button class="pacs-capsule drawer-bind" data-bind="fs">LINKED FS</button>
261
+ <button class="pacs-capsule drawer-bind" data-bind="viewer">LINKED VIEWER</button>
262
+ </span>
263
+ <span class="drawer-group drawer-children"></span>
264
+ </div>
265
+ <div class="gather-listing">
266
+ <span class="field-rule"></span>
267
+ <button class="mode-strip" title="display modes" aria-label="display modes"></button>
268
+ <span class="mode-elbow"></span>
269
+ <aside class="mode-frame">
270
+ <button class="strategy-pill gather-filter rail-off" title="filter the cohort (the bar reads FILTERED n/m)">FILTER OFF</button>
271
+ <span class="mode-fill"></span>
272
+ </aside>
273
+ <div class="gather-rows"></div>
274
+ </div>
275
+ </div>
276
+ </template>
229
277
  <template id="tpl-pane-files">
230
278
  <div class="workspace-pane pane-files">
231
279
  <div class="lcars-terminal-header-bar files-header-bar pane-handle" title="pane controls">
@@ -281,13 +329,16 @@
281
329
  make in a list of feeds. -->
282
330
  <button class="strategy-pill files-mkdir" title="make a directory in the listing on stage">MKDIR</button>
283
331
  <button class="strategy-pill files-upload" title="put a local file into the listing on stage">UPLOAD</button>
332
+ <button class="strategy-pill files-refresh" title="list the place on stage again">REFRESH</button>
284
333
  <input class="files-upload-input" type="file" multiple hidden />
285
334
  <!-- SELECT is a MODE: it changes what a click means, so
286
- it is a block on the frame like every other mode.
287
- The selection's own verbs ride the frame beneath
288
- it, because a selection belongs to the field. -->
335
+ it is a block on the frame like every other mode. -->
289
336
  <button class="strategy-pill files-select rail-off" title="select rows instead of indicating them">SELECT OFF</button>
290
- <span class="files-selection-bar listing-actions" hidden></span>
337
+ <!-- The ROW ZONE is minted here by the listing façade,
338
+ beneath the field's blocks: the verbs of the row
339
+ the operator indicated, or of the selection, empty
340
+ when nothing is (aegis.adoc:
341
+ a-row-s-verbs-live-in-the-frame). -->
291
342
  <!-- A pane has ONE frame, and its blocks answer to what
292
343
  the field currently holds: a listing offers a
293
344
  projection and a filter, a diagram offers the modes
@@ -296,6 +347,9 @@
296
347
  <button class="strategy-pill diagram-strategy" title="layout: ranked tiers or force molecule">RANKED</button>
297
348
  <button class="strategy-pill diagram-projection" title="projection: sculpted 3D or flat schematic">3D</button>
298
349
  <button class="strategy-pill diagram-pulse" title="replay the graph as a dependency wave (one pass)">PULSE</button>
350
+ <!-- A bound catalogue's graph is the form: RUN runs the
351
+ line the dive wrote, from the frame the graph is in. -->
352
+ <button class="strategy-pill diagram-run" title="run the line on the catalogue's input">RUN</button>
299
353
  <span class="mode-fill"></span>
300
354
  </aside>
301
355
  <section class="files-panel" aria-label="Files"></section>
@@ -502,6 +556,42 @@
502
556
  <div class="empty-result"></div>
503
557
  </div>
504
558
  </template>
559
+ <template id="tpl-pane-launcher">
560
+ <!-- LAUNCHER: where a session begins when nothing is open. One
561
+ block per domain, each carrying what it holds now and
562
+ ending in the verb that opens it; its rows are doors. -->
563
+ <div class="workspace-pane pane-launcher">
564
+ <div class="lcars-terminal-header-bar files-header-bar pane-handle" title="pane controls">
565
+ <div class="lcars-bar-horizontal">
566
+ <span class="lcars-title pane-title">DASHBOARD</span>
567
+ <span class="pane-mode"></span>
568
+ <span class="pane-state"></span>
569
+ </div>
570
+ <div class="lcars-bar-end bar-punctuation"></div>
571
+ </div>
572
+ <div class="pane-drawer" hidden>
573
+ <span class="drawer-group drawer-structure">
574
+ <span class="drawer-label">SPLIT</span>
575
+ <button class="pacs-capsule drawer-split" data-split="col" data-place="before" title="new pane opens left">LEFT</button>
576
+ <button class="pacs-capsule drawer-split" data-split="col" data-place="after" title="new pane opens right">RIGHT</button>
577
+ <button class="pacs-capsule drawer-split" data-split="row" data-place="before" title="new pane opens above">ABOVE</button>
578
+ <button class="pacs-capsule drawer-split" data-split="row" data-place="after" title="new pane opens below">BELOW</button>
579
+ <button class="pacs-capsule drawer-zoom" data-pane="" title="zoom (Esc restores)">ZOOM</button>
580
+ <button class="pacs-capsule drawer-close" title="close pane">CLOSE</button>
581
+ </span>
582
+ <span class="drawer-group drawer-binding" role="radiogroup" title="what the next split creates">
583
+ <button class="pacs-capsule drawer-bind drawer-bind-selected" data-bind="unlinked">UNLINKED</button>
584
+ <button class="pacs-capsule drawer-bind" data-bind="fs">LINKED FS</button>
585
+ <button class="pacs-capsule drawer-bind" data-bind="viewer">LINKED VIEWER</button>
586
+ </span>
587
+ <span class="drawer-group drawer-children"></span>
588
+ </div>
589
+ <div class="launcher-body">
590
+ <div class="launcher-grid" aria-label="Where to begin"></div>
591
+ <button class="pacs-capsule launcher-start" title="begin here every time, or leave the session as you last had it">START HERE · OFF</button>
592
+ </div>
593
+ </div>
594
+ </template>
505
595
  <template id="tpl-pane-panes">
506
596
  <div class="workspace-pane pane-panes">
507
597
  <div class="lcars-terminal-header-bar files-header-bar pane-handle" title="pane controls">
@@ -574,8 +664,7 @@
574
664
  <!-- PROGRESS is the expanse in the middle of every level, right
575
665
  after the description; the form's cell over it carries
576
666
  how-this-came-about, since an answer that was not fetched
577
- now says when it was. The control that re-asks stands in
578
- the verbs column at the end, where a row's verbs stand. -->
667
+ now says when it was. -->
579
668
  <span class="pacs-form-blank" data-key="progress">
580
669
  <span id="pacs-provenance" class="pacs-provenance" hidden></span>
581
670
  </span>
@@ -590,8 +679,11 @@
590
679
  <span class="pacs-form-field" data-key="server">SERVER
591
680
  <button id="pacs-f-server" class="pacs-server-cell" title="choose which PACS to ask (one moves the session, several fan out)">—</button>
592
681
  </span>
593
- <span class="pacs-form-blank" data-key="series"></span>
594
- <button id="pacs-run" class="pacs-capsule">QUERY</button>
682
+ <!-- QUERY stands in the last column, SERIES, which a query
683
+ cannot know: a row's verbs no longer keep a column at
684
+ the end, so the control that re-asks takes the one
685
+ the form leaves blank. -->
686
+ <button id="pacs-run" class="pacs-capsule" data-key="series">QUERY</button>
595
687
  </div>
596
688
  <!-- The strip has the pane's full width, so it carries far
597
689
  more servers than capsules crammed into one grid track. -->
@@ -611,6 +703,9 @@
611
703
  clipped label and the operator reported it missing. A
612
704
  control nobody can see is a control that is not there. -->
613
705
  <button id="pacs-export" class="pacs-capsule" title="write the whole answer as CSV into ChRIS storage">EXPORT CSV</button>
706
+ <!-- Where the table went, said by the pane that made it:
707
+ a readout, not a capsule, since it answers no press. -->
708
+ <span id="pacs-wrote" class="pacs-wrote" hidden></span>
614
709
  </div>
615
710
  <!-- The results are a framed field like the other listings:
616
711
  a rule turning through an elbow into the spine, whose
@@ -621,28 +716,13 @@
621
716
  <span class="mode-elbow"></span>
622
717
  <aside class="mode-frame">
623
718
  <button class="strategy-pill pacs-filter rail-off" title="filter the results (the bar reads FILTERED n/m)">FILTER OFF</button>
719
+ <!-- The ROW ZONE is minted here by the listing façade:
720
+ the indicated study's or series' verbs, one under
721
+ another (aegis.adoc: a-row-s-verbs-live-in-the-frame). -->
624
722
  <span class="mode-fill"></span>
625
723
  </aside>
626
724
  <div id="pacs-results"></div>
627
725
  </div>
628
- <div id="pacs-gather">
629
- <div class="pacs-gather-head">
630
- <span class="pacs-gather-title">GATHER</span>
631
- <input id="pacs-gather-name" placeholder="cohort name" autocomplete="off" />
632
- <button id="pacs-gather-save" class="pacs-capsule" title="write ~/gather/&lt;name&gt; manifest">SAVE</button>
633
- <!-- The cohort as a table a spreadsheet reads, named for
634
- what it covers so it is not read as the whole answer.
635
- It lands in CFS, not on the machine the browser
636
- happens to be running on: the engine is elsewhere,
637
- and a redirect would write somebody else's disk. -->
638
- <button id="pacs-gather-export" class="pacs-capsule" title="write the gathered series as CSV into ChRIS storage">EXPORT GATHER CSV</button>
639
- <!-- Where the table went, said by the pane that made it:
640
- a readout, not a capsule, since it answers no press. -->
641
- <span id="pacs-wrote" class="pacs-wrote" hidden></span>
642
- <button id="pacs-gather-feed" class="pacs-capsule" title="create a feed rooted on the cohort">CREATE FEED</button>
643
- </div>
644
- <div id="pacs-gather-rows"></div>
645
- </div>
646
726
  </div>
647
727
  </main>
648
728
  </div>
@@ -653,6 +733,9 @@
653
733
  <!-- The header's lid strip: appears when the header glides away; click
654
734
  (or Esc) restores it. Same idiom as the console drawer's lid. -->
655
735
  <div id="header-restore" title="restore header" role="button" tabindex="0"></div>
736
+ <!-- The gutter's lid strip: appears when the left gutter glides away
737
+ (a press on the domain already shown); click (or Esc) restores it. -->
738
+ <div id="gutter-restore" title="restore gutter" role="button" tabindex="0"></div>
656
739
  <!-- The argus command line: prefix-: in the tmux tradition. One line,
657
740
  floating over the workspace; sentences run client-side, anything
658
741
  else falls through to the session. -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fnndsc/argus",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "ARGUS: the LCARS web surface for mise — a browser console over a calypso session",
5
5
  "type": "module",
6
6
  "scripts": {