@tiagojct/subsub 0.21.0 → 0.23.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/CHANGELOG.md +13 -0
- package/README.md +5 -1
- package/dist/cli.js +10 -0
- package/dist/rpc.js +185 -0
- package/dist/screens.js +111 -0
- package/dist/subsub.js +13 -6
- package/dist/tui-view.js +228 -0
- package/dist/tui.js +651 -0
- package/dist/web.js +9 -158
- package/package.json +1 -1
- package/src/cli.ts +9 -0
- package/src/rpc.ts +198 -0
- package/src/screens.ts +156 -0
- package/src/subsub.ts +12 -6
- package/src/tui-view.ts +270 -0
- package/src/tui.ts +710 -0
- package/src/web.ts +10 -160
- package/web/app.css +106 -53
- package/web/app.js +46 -9
- package/web/i18n.js +2 -0
- package/web/index.html +7 -7
package/web/index.html
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<button type="button" class="chip-btn" id="notes-btn" aria-controls="note-pane" aria-expanded="false" data-i18n="notes" data-i18n-title="notesHint">Notes</button>
|
|
25
25
|
<button type="button" class="chip-btn model-btn wide-only" id="model-btn"></button>
|
|
26
26
|
<button type="button" class="icon-btn wide-only" id="width-btn" aria-pressed="false"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 12h16M4 12l3.5-3.5M4 12l3.5 3.5M20 12l-3.5-3.5M20 12l-3.5 3.5"/></svg><span class="visually-hidden" id="width-btn-text">Wide</span></button>
|
|
27
|
-
<button type="button" class="icon-btn" id="theme-btn"></button>
|
|
27
|
+
<button type="button" class="icon-btn wide-only" id="theme-btn"></button>
|
|
28
28
|
</div>
|
|
29
29
|
</header>
|
|
30
30
|
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
<button type="button" class="secondary" id="theme-btn-side"></button>
|
|
39
39
|
</label>
|
|
40
40
|
</section>
|
|
41
|
-
<section>
|
|
42
|
-
<h2 data-i18n="groupLibrary">Library</h2>
|
|
41
|
+
<section data-fold="library">
|
|
42
|
+
<h2><button type="button" class="fold" aria-expanded="true" data-i18n="groupLibrary">Library</button></h2>
|
|
43
43
|
<input type="search" id="library-search" class="search" data-i18n-placeholder="librarySearch" placeholder="Search your library" autocomplete="off">
|
|
44
44
|
<ul class="items" id="items" aria-live="polite"></ul>
|
|
45
45
|
</section>
|
|
46
|
-
<section>
|
|
47
|
-
<h2 data-i18n="actions">Actions</h2>
|
|
46
|
+
<section data-fold="actions">
|
|
47
|
+
<h2><button type="button" class="fold" aria-expanded="true" data-i18n="actions">Actions</button></h2>
|
|
48
48
|
<div class="actions" id="actions"></div>
|
|
49
49
|
</section>
|
|
50
|
-
<section class="grow">
|
|
50
|
+
<section class="grow" data-fold="conversations">
|
|
51
51
|
<div class="side-subhead">
|
|
52
|
-
<h2 data-i18n="conversations">Conversations</h2>
|
|
52
|
+
<h2><button type="button" class="fold" aria-expanded="true" data-i18n="conversations">Conversations</button></h2>
|
|
53
53
|
<button type="button" class="link-btn" id="export-btn" data-i18n="export" data-i18n-title="exportTitle">Export</button>
|
|
54
54
|
</div>
|
|
55
55
|
<input type="search" id="session-search" class="search" data-i18n-placeholder="searchConversations" placeholder="Search conversations" autocomplete="off">
|