@firstpick/pi-package-webui 0.6.8 → 0.7.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/README.md +7 -2
- package/bin/pi-webui.mjs +577 -37
- package/index.ts +7 -91
- package/lib/trust-boundaries.mjs +1 -0
- package/package.json +10 -9
- package/public/app.js +869 -118
- package/public/aur-review-payload.mjs +108 -0
- package/public/guided-git-command-state.mjs +34 -0
- package/public/guided-git-review-state.mjs +137 -0
- package/public/index.html +178 -97
- package/public/service-worker.js +1 -1
- package/public/styles.css +454 -24
- package/tests/aur-review-payload.test.mjs +57 -0
- package/tests/aur-review-widget-static.test.mjs +38 -0
- package/tests/compaction-resume-harness.test.mjs +55 -3
- package/tests/compaction-static.test.mjs +3 -3
- package/tests/fixtures/compacting-pi.mjs +10 -5
- package/tests/fixtures/fake-pi.mjs +63 -1
- package/tests/guided-git-aur-review.test.mjs +183 -0
- package/tests/http-endpoints-harness.test.mjs +184 -3
- package/tests/mobile-static.test.mjs +110 -21
- package/tests/staged-content-hash-contract.test.mjs +174 -0
- package/tests/subagents-helper.test.mjs +83 -4
- package/tests/transport-hardening-harness.test.mjs +157 -0
- package/webui-rpc-helper.mjs +108 -25
package/public/index.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
13
13
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
14
14
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
15
|
-
<link rel="stylesheet" href="/styles.css?v=
|
|
15
|
+
<link rel="stylesheet" href="/styles.css?v=80" />
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
|
18
18
|
<button id="sidePanelExpandButton" class="side-panel-expand-button" type="button" aria-controls="sidePanel" aria-expanded="false" aria-label="Expand side panel" title="Expand side panel">
|
|
@@ -73,9 +73,11 @@
|
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
<div class="terminal-sidebar-actions" aria-label="Tab and workspace actions">
|
|
77
|
+
<button id="splitTabButton" class="terminal-split-button" type="button" aria-label="Split the active terminal to the right" aria-pressed="false"><svg class="terminal-split-icon terminal-split-icon-split" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><rect x="4" y="5" width="16" height="14" rx="2" fill="none" stroke="currentColor" stroke-width="2"/><path d="M12 5v14M15 12h4m0 0-2-2m2 2-2 2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg><svg class="terminal-split-icon terminal-split-icon-unsplit" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><rect x="4" y="5" width="16" height="14" rx="2" fill="none" stroke="currentColor" stroke-width="2"/><path d="M12 5v14M19 12h-4m0 0 2-2m-2 2 2 2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg><span class="terminal-sidebar-action-label terminal-sidebar-action-label-split">Split</span><span class="terminal-sidebar-action-label terminal-sidebar-action-label-unsplit">Unsplit</span></button>
|
|
78
|
+
<button id="commandPaletteButton" class="terminal-command-palette-button" type="button" aria-label="Open command palette" data-tooltip="Command palette: • Search and run actions, slash commands, models, and tabs. • Shortcut: Ctrl/Cmd+K."><svg class="composer-icon command-palette-launcher-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M5 7.5h14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M5 12h9" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M5 16.5h5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M17 14.5 19.5 17 17 19.5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg><span class="terminal-sidebar-action-label">Commands</span></button>
|
|
79
|
+
<button id="workspaceDashboardToggleButton" class="terminal-dashboard-button" type="button" aria-controls="workspaceDashboard" aria-expanded="false" aria-label="Show workspace overview" data-tooltip="Workspace overview: • Shows current tab, cwd, model, context, session, and queue. • Opens common workspace/session actions from one place."><svg class="composer-icon workspace-overview-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 11.4 12 4l8 7.4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.5 10.5V20h11v-9.5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 20v-5h4v5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg><span class="terminal-sidebar-action-label">Overview</span></button>
|
|
80
|
+
</div>
|
|
79
81
|
<div id="remoteAccessIndicator" class="remote-access-indicator" role="status" aria-live="polite" hidden>Remote access open</div>
|
|
80
82
|
<button id="closeAllTabsButton" class="terminal-close-all-button" type="button" aria-label="Close all terminal tabs">Close all Tabs</button>
|
|
81
83
|
</header>
|
|
@@ -160,7 +162,6 @@
|
|
|
160
162
|
class="composer-workflow-mode-button"
|
|
161
163
|
type="button"
|
|
162
164
|
aria-pressed="false"
|
|
163
|
-
title="Toggle JavaScript Workflow Mode"
|
|
164
165
|
data-tooltip="Workflow Mode: generate and run reusable JavaScript orchestration for substantive prompts."
|
|
165
166
|
hidden
|
|
166
167
|
><span>Workflow</span></button>
|
|
@@ -387,13 +388,17 @@
|
|
|
387
388
|
<button id="sidePanelBackdrop" class="side-panel-backdrop" type="button" aria-label="Close side panel" hidden></button>
|
|
388
389
|
<aside id="sidePanel" class="side-panel" role="dialog" aria-label="Control Deck">
|
|
389
390
|
<div class="side-panel-header">
|
|
390
|
-
<div>
|
|
391
|
-
<
|
|
392
|
-
|
|
393
|
-
<
|
|
394
|
-
|
|
391
|
+
<div class="side-panel-heading">
|
|
392
|
+
<div class="side-panel-brand-row">
|
|
393
|
+
<span class="side-panel-kicker">Pi Web UI</span>
|
|
394
|
+
<a class="sponsor-link" href="https://github.com/sponsors/Firstp1ck" target="_blank" rel="noopener noreferrer" aria-label="Sponsor Firstp1ck on GitHub" title="Sponsor Firstp1ck on GitHub">♡</a>
|
|
395
|
+
</div>
|
|
396
|
+
<strong class="side-panel-title">Control Deck</strong>
|
|
397
|
+
<div class="side-panel-version-row" aria-label="Version and build information">
|
|
398
|
+
<button id="piVersionButton" class="pi-version-button" type="button" aria-label="View Pi release notes" aria-haspopup="dialog" aria-controls="piReleaseNotesDialog" hidden></button>
|
|
399
|
+
<button id="webuiVersionButton" class="webui-version-button" type="button" aria-label="Open Pi Web UI package page" aria-haspopup="dialog" aria-controls="confirmationDialog" hidden></button>
|
|
395
400
|
<span id="webuiDevBadge" class="webui-dev-badge" aria-label="Pi Web UI dev server" hidden>DEV</span>
|
|
396
|
-
</
|
|
401
|
+
</div>
|
|
397
402
|
</div>
|
|
398
403
|
<button id="toggleSidePanelButton" class="side-panel-toggle-button" type="button" aria-controls="sidePanel" aria-expanded="true" aria-label="Collapse side panel" title="Collapse side panel">
|
|
399
404
|
<span class="side-panel-button-icon" aria-hidden="true">
|
|
@@ -412,66 +417,124 @@
|
|
|
412
417
|
</h2>
|
|
413
418
|
<div id="sidePanelSectionControls" class="side-panel-section-content" hidden>
|
|
414
419
|
<div class="side-panel-controls">
|
|
415
|
-
<
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
<
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
<select id="thinkingSelect" title="Thinking level">
|
|
425
|
-
<option value="off">off</option>
|
|
426
|
-
<option value="minimal">minimal</option>
|
|
427
|
-
<option value="low">low</option>
|
|
428
|
-
<option value="medium">medium</option>
|
|
429
|
-
<option value="high">high</option>
|
|
430
|
-
<option value="xhigh">xhigh</option>
|
|
431
|
-
<option value="max">max</option>
|
|
432
|
-
</select>
|
|
433
|
-
<button id="setThinkingButton" type="button">Set thinking</button>
|
|
434
|
-
</div>
|
|
435
|
-
<div class="control-field thinking-visibility-control-field">
|
|
436
|
-
<span class="control-label">Output</span>
|
|
437
|
-
<label class="toggle-control" for="thinkingVisibilityToggle">
|
|
438
|
-
<input id="thinkingVisibilityToggle" type="checkbox" checked />
|
|
439
|
-
<span>
|
|
440
|
-
<span class="toggle-control-label">Show thinking output</span>
|
|
441
|
-
<span id="thinkingVisibilityStatus" class="toggle-control-hint">Visible</span>
|
|
442
|
-
</span>
|
|
443
|
-
</label>
|
|
444
|
-
</div>
|
|
445
|
-
<div class="control-field terminal-tabs-layout-control-field">
|
|
446
|
-
<label for="terminalTabsLayoutSelect">Tabs layout</label>
|
|
447
|
-
<select id="terminalTabsLayoutSelect" title="Terminal tabs layout" aria-describedby="terminalTabsLayoutStatus">
|
|
448
|
-
<option value="top">Top bar</option>
|
|
449
|
-
<option value="left">Left sidebar</option>
|
|
450
|
-
</select>
|
|
451
|
-
<div id="terminalTabsLayoutStatus" class="terminal-tabs-layout-status toggle-control-hint">Top bar</div>
|
|
452
|
-
</div>
|
|
453
|
-
<div class="control-field">
|
|
454
|
-
<label for="themeSelect" id="themeControlLabel" title="Open or close theme search" tabindex="0">Theme</label>
|
|
455
|
-
<div id="themeSchemeToggle" class="theme-scheme-toggle" role="group" aria-label="Theme mode">
|
|
456
|
-
<button type="button" data-scheme-mode="light" aria-pressed="false" title="Always use your light theme">Light</button>
|
|
457
|
-
<button type="button" data-scheme-mode="dark" aria-pressed="false" title="Always use your dark theme">Dark</button>
|
|
458
|
-
<button type="button" data-scheme-mode="auto" aria-pressed="false" title="Follow your system light/dark setting">Auto</button>
|
|
420
|
+
<p class="controls-intro">Session controls affect the active Pi tab. Interface preferences are saved in this browser.</p>
|
|
421
|
+
|
|
422
|
+
<section class="control-group" aria-labelledby="sessionControlsTitle">
|
|
423
|
+
<div class="control-group-header">
|
|
424
|
+
<div class="control-group-heading">
|
|
425
|
+
<h3 id="sessionControlsTitle">Active session</h3>
|
|
426
|
+
<p>Choose how Pi responds in the current tab.</p>
|
|
427
|
+
</div>
|
|
428
|
+
<span class="control-scope-badge">This tab</span>
|
|
459
429
|
</div>
|
|
460
|
-
|
|
461
|
-
<
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
430
|
+
|
|
431
|
+
<div class="control-field">
|
|
432
|
+
<div class="control-field-header">
|
|
433
|
+
<label id="modelControlLabel" for="modelSelect" title="Open or close model search" tabindex="0">Model</label>
|
|
434
|
+
<span class="control-field-context">Provider and model</span>
|
|
435
|
+
</div>
|
|
436
|
+
<input id="modelSearchInput" class="model-search-input" type="search" placeholder="Search models…" autocomplete="off" spellcheck="false" hidden />
|
|
437
|
+
<div class="control-action-row">
|
|
438
|
+
<select id="modelSelect" title="Model"></select>
|
|
439
|
+
<button id="setModelButton" class="control-apply-button" type="button" aria-label="Apply selected model">Apply</button>
|
|
440
|
+
</div>
|
|
441
|
+
<div id="modelSearchResults" class="model-search-results" role="listbox" aria-label="Model search results" hidden></div>
|
|
442
|
+
</div>
|
|
443
|
+
|
|
444
|
+
<div class="control-field">
|
|
445
|
+
<div class="control-field-header">
|
|
446
|
+
<label for="thinkingSelect">Thinking effort</label>
|
|
447
|
+
<span class="control-field-context">Speed and depth</span>
|
|
448
|
+
</div>
|
|
449
|
+
<div class="control-action-row">
|
|
450
|
+
<select id="thinkingSelect" title="Thinking effort">
|
|
451
|
+
<option value="off">off</option>
|
|
452
|
+
<option value="minimal">minimal</option>
|
|
453
|
+
<option value="low">low</option>
|
|
454
|
+
<option value="medium">medium</option>
|
|
455
|
+
<option value="high">high</option>
|
|
456
|
+
<option value="xhigh">xhigh</option>
|
|
457
|
+
<option value="max">max</option>
|
|
458
|
+
</select>
|
|
459
|
+
<button id="setThinkingButton" class="control-apply-button" type="button" aria-label="Apply selected thinking effort">Apply</button>
|
|
460
|
+
</div>
|
|
461
|
+
</div>
|
|
462
|
+
|
|
463
|
+
<div class="control-field thinking-visibility-control-field">
|
|
464
|
+
<span class="control-label">Transcript</span>
|
|
465
|
+
<label class="toggle-control" for="thinkingVisibilityToggle">
|
|
466
|
+
<input id="thinkingVisibilityToggle" type="checkbox" checked />
|
|
467
|
+
<span>
|
|
468
|
+
<span class="toggle-control-label">Show thinking output</span>
|
|
469
|
+
<span id="thinkingVisibilityStatus" class="toggle-control-hint">Visible</span>
|
|
470
|
+
</span>
|
|
471
|
+
</label>
|
|
472
|
+
</div>
|
|
473
|
+
</section>
|
|
474
|
+
|
|
475
|
+
<section class="control-group" aria-labelledby="interfaceControlsTitle">
|
|
476
|
+
<div class="control-group-header">
|
|
477
|
+
<div class="control-group-heading">
|
|
478
|
+
<h3 id="interfaceControlsTitle">Interface</h3>
|
|
479
|
+
<p>Personalise layout, appearance, and alerts.</p>
|
|
480
|
+
</div>
|
|
481
|
+
<span class="control-scope-badge">This browser</span>
|
|
482
|
+
</div>
|
|
483
|
+
|
|
484
|
+
<div class="control-field terminal-tabs-layout-control-field">
|
|
485
|
+
<label for="terminalTabsLayoutSelect">Tab placement</label>
|
|
486
|
+
<select id="terminalTabsLayoutSelect" title="Terminal tabs layout" aria-describedby="terminalTabsLayoutStatus">
|
|
487
|
+
<option value="top">Top bar</option>
|
|
488
|
+
<option value="left">Left sidebar</option>
|
|
489
|
+
</select>
|
|
490
|
+
<div id="terminalTabsLayoutStatus" class="terminal-tabs-layout-status toggle-control-hint">Top bar · saved in this browser</div>
|
|
491
|
+
</div>
|
|
492
|
+
|
|
493
|
+
<div class="control-field theme-control-field">
|
|
494
|
+
<div class="control-field-header">
|
|
495
|
+
<label for="themeSelect" id="themeControlLabel" title="Open or close theme search" tabindex="0">Theme</label>
|
|
496
|
+
<span class="control-field-context">Colour scheme</span>
|
|
497
|
+
</div>
|
|
498
|
+
<div id="themeSchemeToggle" class="theme-scheme-toggle" role="group" aria-label="Theme mode">
|
|
499
|
+
<button type="button" data-scheme-mode="light" aria-pressed="false" title="Always use your light theme">Light</button>
|
|
500
|
+
<button type="button" data-scheme-mode="dark" aria-pressed="false" title="Always use your dark theme">Dark</button>
|
|
501
|
+
<button type="button" data-scheme-mode="auto" aria-pressed="false" title="Follow your system light/dark setting">Auto</button>
|
|
502
|
+
</div>
|
|
503
|
+
<input id="themeSearchInput" class="model-search-input theme-search-input" type="search" placeholder="Search themes…" autocomplete="off" spellcheck="false" hidden />
|
|
504
|
+
<select id="themeSelect" title="Theme"></select>
|
|
505
|
+
<div id="themeSearchResults" class="model-search-results theme-search-results" role="listbox" aria-label="Theme search results" hidden></div>
|
|
506
|
+
</div>
|
|
507
|
+
|
|
508
|
+
<div class="control-field background-control-field">
|
|
509
|
+
<label for="backgroundInput">Custom background</label>
|
|
510
|
+
<input id="backgroundInput" class="background-input" type="file" accept="image/png,image/jpeg,image/webp,image/gif" />
|
|
511
|
+
<div class="background-control-row">
|
|
512
|
+
<button id="backgroundChooseButton" type="button">Choose image</button>
|
|
513
|
+
<button id="backgroundClearButton" class="background-clear-button" type="button" aria-label="Remove custom background" title="Remove custom background" hidden>×</button>
|
|
514
|
+
</div>
|
|
515
|
+
<div id="backgroundStatus" class="background-status muted">Theme default</div>
|
|
516
|
+
</div>
|
|
517
|
+
|
|
518
|
+
<div class="control-field notification-control-field">
|
|
519
|
+
<span class="control-label">Notifications</span>
|
|
520
|
+
<label class="toggle-control" for="agentDoneNotificationsToggle">
|
|
521
|
+
<input id="agentDoneNotificationsToggle" type="checkbox" />
|
|
522
|
+
<span>
|
|
523
|
+
<span class="toggle-control-label">Agent done notifications</span>
|
|
524
|
+
<span id="agentDoneNotificationsStatus" class="toggle-control-hint">Off</span>
|
|
525
|
+
</span>
|
|
526
|
+
</label>
|
|
527
|
+
</div>
|
|
528
|
+
</section>
|
|
529
|
+
|
|
530
|
+
<section id="networkControlField" class="control-group network-control-field" aria-labelledby="remoteAccessControlsTitle" hidden>
|
|
531
|
+
<div class="control-group-header">
|
|
532
|
+
<div class="control-group-heading">
|
|
533
|
+
<h3 id="remoteAccessControlsTitle">Remote access</h3>
|
|
534
|
+
<p>Control trusted-LAN access and PIN protection.</p>
|
|
535
|
+
</div>
|
|
536
|
+
<span class="control-scope-badge warning">Network</span>
|
|
470
537
|
</div>
|
|
471
|
-
<div id="backgroundStatus" class="background-status muted">Theme default</div>
|
|
472
|
-
</div>
|
|
473
|
-
<div id="networkControlField" class="control-field network-control-field" hidden>
|
|
474
|
-
<label>Remote access</label>
|
|
475
538
|
<div id="networkStatus" class="network-status closed">Local only</div>
|
|
476
539
|
<label class="toggle-control remote-auth-toggle" for="remoteAuthToggle" hidden>
|
|
477
540
|
<input id="remoteAuthToggle" type="checkbox" />
|
|
@@ -484,31 +547,31 @@
|
|
|
484
547
|
<button id="openNetworkButton" type="button">Open for remote access</button>
|
|
485
548
|
<button id="showRemoteQrButton" type="button" hidden>Show QR code</button>
|
|
486
549
|
</div>
|
|
487
|
-
</
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
<div class="
|
|
491
|
-
<
|
|
492
|
-
<
|
|
493
|
-
<
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
<option value="stop">Stop Server</option>
|
|
497
|
-
</select>
|
|
498
|
-
<button id="runServerActionButton" type="button" disabled>Run</button>
|
|
550
|
+
</section>
|
|
551
|
+
|
|
552
|
+
<section class="control-group server-control-group" aria-labelledby="serverControlsTitle">
|
|
553
|
+
<div class="control-group-header">
|
|
554
|
+
<div class="control-group-heading">
|
|
555
|
+
<h3 id="serverControlsTitle">Server</h3>
|
|
556
|
+
<p>Maintenance actions may interrupt every open tab.</p>
|
|
557
|
+
</div>
|
|
558
|
+
<span class="control-scope-badge danger">System</span>
|
|
499
559
|
</div>
|
|
500
|
-
<div
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
560
|
+
<div class="control-field server-control-field">
|
|
561
|
+
<label for="serverActionSelect">Choose an action</label>
|
|
562
|
+
<div class="server-action-row">
|
|
563
|
+
<select id="serverActionSelect" title="Server action" aria-label="Server action">
|
|
564
|
+
<option value="" selected>Choose action…</option>
|
|
565
|
+
<option value="restart">Restart Server</option>
|
|
566
|
+
<option value="update">Update Pi & Restart</option>
|
|
567
|
+
<option value="update-all">Update Pi + Packages & Restart</option>
|
|
568
|
+
<option value="stop">Stop Server</option>
|
|
569
|
+
</select>
|
|
570
|
+
<button id="runServerActionButton" type="button" disabled>Run</button>
|
|
571
|
+
</div>
|
|
572
|
+
<div id="serverActionStatus" class="server-action-status muted" role="status" aria-live="polite"></div>
|
|
573
|
+
</div>
|
|
574
|
+
</section>
|
|
512
575
|
</div>
|
|
513
576
|
</div>
|
|
514
577
|
</section>
|
|
@@ -603,6 +666,7 @@
|
|
|
603
666
|
</button>
|
|
604
667
|
</h2>
|
|
605
668
|
<div id="sidePanelSectionSubagents" class="side-panel-section-content" hidden>
|
|
669
|
+
<p class="subagents-help"><strong>How to use:</strong> Ask Pi to call the <code>subagent</code> tool in foreground or async mode—for example, “Use a subagent to review this change.” Only active runs launched through that tool appear here.</p>
|
|
606
670
|
<p id="subagentsStatus" class="subagents-status muted" role="status" aria-live="polite">Checking running subagents…</p>
|
|
607
671
|
<div id="subagentsBox" class="subagents-box muted">Checking running subagents…</div>
|
|
608
672
|
</div>
|
|
@@ -671,6 +735,24 @@
|
|
|
671
735
|
<span class="undo-toast-progress" aria-hidden="true"></span>
|
|
672
736
|
</aside>
|
|
673
737
|
|
|
738
|
+
<dialog id="piReleaseNotesDialog" class="extension-dialog pi-release-notes-dialog" aria-labelledby="piReleaseNotesTitle">
|
|
739
|
+
<form method="dialog">
|
|
740
|
+
<div class="pi-release-notes-header">
|
|
741
|
+
<div>
|
|
742
|
+
<span class="pi-release-notes-kicker">Pi release</span>
|
|
743
|
+
<h2 id="piReleaseNotesTitle">Release notes</h2>
|
|
744
|
+
</div>
|
|
745
|
+
<button id="piReleaseNotesCloseButton" type="button" aria-label="Close Pi release notes">Close</button>
|
|
746
|
+
</div>
|
|
747
|
+
<p id="piReleaseNotesStatus" class="pi-release-notes-status muted" role="status" aria-live="polite"></p>
|
|
748
|
+
<div id="piReleaseNotesBody" class="pi-release-notes-body markdown-body"></div>
|
|
749
|
+
<menu>
|
|
750
|
+
<a id="piReleaseNotesGithubLink" class="pi-release-notes-link" target="_blank" rel="noopener noreferrer" hidden>View on GitHub</a>
|
|
751
|
+
<button value="close">Close</button>
|
|
752
|
+
</menu>
|
|
753
|
+
</form>
|
|
754
|
+
</dialog>
|
|
755
|
+
|
|
674
756
|
<dialog id="confirmationDialog" class="extension-dialog confirmation-dialog">
|
|
675
757
|
<form method="dialog">
|
|
676
758
|
<h2 id="confirmationTitle">Confirm action</h2>
|
|
@@ -678,7 +760,6 @@
|
|
|
678
760
|
<dl class="confirmation-details">
|
|
679
761
|
<div><dt>Affected</dt><dd id="confirmationAffected"></dd></div>
|
|
680
762
|
<div><dt>Undo</dt><dd id="confirmationUndo"></dd></div>
|
|
681
|
-
<div><dt>Safer option</dt><dd id="confirmationAlternative"></dd></div>
|
|
682
763
|
</dl>
|
|
683
764
|
<menu>
|
|
684
765
|
<button id="confirmationCancelButton" type="button">Cancel</button>
|
|
@@ -869,7 +950,7 @@
|
|
|
869
950
|
<dialog id="gitFooterVisibilityDialog" class="extension-dialog git-footer-visibility-dialog">
|
|
870
951
|
<form method="dialog">
|
|
871
952
|
<h2>Git-footer Visibility</h2>
|
|
872
|
-
<p class="muted">Select which Git footer cards, buttons, popovers, and modal affordances are visible in the Web UI. Changes
|
|
953
|
+
<p class="muted">Select which Git footer cards, buttons, popovers, and modal affordances are visible in the Web UI. Changes are saved globally through <code>/git-footer-visibility</code> and reused by every Pi session.</p>
|
|
873
954
|
<div class="git-footer-visibility-toolbar" aria-label="Git-footer Visibility quick actions">
|
|
874
955
|
<button id="gitFooterVisibilitySelectAllButton" type="button">Select all</button>
|
|
875
956
|
<button id="gitFooterVisibilitySelectNoneButton" type="button">Select none</button>
|
|
@@ -879,7 +960,7 @@
|
|
|
879
960
|
<menu>
|
|
880
961
|
<button id="gitFooterVisibilityCloseButton" type="button">Cancel</button>
|
|
881
962
|
<button id="gitFooterVisibilityResetButton" type="button">Reset WebUI</button>
|
|
882
|
-
<button id="gitFooterVisibilityApplyButton" class="primary" type="button">
|
|
963
|
+
<button id="gitFooterVisibilityApplyButton" class="primary" type="button">Save globally</button>
|
|
883
964
|
</menu>
|
|
884
965
|
</form>
|
|
885
966
|
</dialog>
|
|
@@ -938,6 +1019,6 @@
|
|
|
938
1019
|
</form>
|
|
939
1020
|
</dialog>
|
|
940
1021
|
|
|
941
|
-
<script type="module" src="/app.js?v=
|
|
1022
|
+
<script type="module" src="/app.js?v=80"></script>
|
|
942
1023
|
</body>
|
|
943
1024
|
</html>
|
package/public/service-worker.js
CHANGED