@youtyan/code-viewer 0.1.50 → 0.1.52
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/code-viewer.js +3007 -271
- package/package.json +1 -1
- package/skills/code-viewer-query/SKILL.md +59 -0
- package/web/app.js +3864 -207
- package/web/index.html +21 -0
- package/web/style.css +2111 -42
package/web/index.html
CHANGED
|
@@ -27,10 +27,13 @@
|
|
|
27
27
|
<a class="app-menu-item active" data-route="repo" href="/">Repository</a>
|
|
28
28
|
<a class="app-menu-item" data-route="diff" href="/todif?from=HEAD&to=worktree">Diff Viewer</a>
|
|
29
29
|
<a class="app-menu-item" data-route="history" href="/history">History</a>
|
|
30
|
+
<a class="app-menu-item" data-route="database" href="/database">Database</a>
|
|
30
31
|
</nav>
|
|
31
32
|
<div class="global-actions">
|
|
32
33
|
<button id="annotations-toggle" class="global-icon-action" title="code annotations" aria-label="code annotations">💬<span id="annotations-count" hidden></span></button>
|
|
34
|
+
<button id="query-history-toggle" class="global-icon-action" title="query history" aria-label="query history" hidden>📋</button>
|
|
33
35
|
<button id="viewer-settings" class="global-icon-action" title="viewer settings" aria-label="viewer settings"></button>
|
|
36
|
+
<button id="auto-update" class="global-icon-action active" title="auto update on file change">auto</button>
|
|
34
37
|
<button id="theme" title="toggle theme">🌗</button>
|
|
35
38
|
<span id="status" class="status"></span>
|
|
36
39
|
<a id="repo-web-link" class="global-help-link" href="#" target="_blank" rel="noopener" hidden>GitHub</a>
|
|
@@ -77,6 +80,14 @@
|
|
|
77
80
|
</div>
|
|
78
81
|
|
|
79
82
|
<div id="load-bar" aria-hidden="true"></div>
|
|
83
|
+
<div id="change-banner" hidden>
|
|
84
|
+
<span id="change-banner-copy">
|
|
85
|
+
<span id="change-banner-text"></span>
|
|
86
|
+
<span id="change-banner-age"></span>
|
|
87
|
+
</span>
|
|
88
|
+
<button id="change-banner-reload" type="button"></button>
|
|
89
|
+
<button id="change-banner-dismiss" type="button" aria-label="dismiss">×</button>
|
|
90
|
+
</div>
|
|
80
91
|
|
|
81
92
|
<aside id="history-panel" aria-label="Commit history" hidden>
|
|
82
93
|
<div class="history-head">
|
|
@@ -134,6 +145,7 @@
|
|
|
134
145
|
<option value="large">Large</option>
|
|
135
146
|
<option value="xlarge">Extra Large</option>
|
|
136
147
|
</select>
|
|
148
|
+
<p id="ui-font-size-help" class="scope-settings-help"></p>
|
|
137
149
|
<label for="code-font-size">Code font size</label>
|
|
138
150
|
<select id="code-font-size">
|
|
139
151
|
<option value="compact">Small</option>
|
|
@@ -199,6 +211,15 @@
|
|
|
199
211
|
</div>
|
|
200
212
|
</aside>
|
|
201
213
|
|
|
214
|
+
<aside id="query-history-panel" hidden>
|
|
215
|
+
<div id="query-history-resizer" aria-hidden="true"></div>
|
|
216
|
+
<div class="query-history-panel-head">
|
|
217
|
+
<strong>Query History</strong>
|
|
218
|
+
<button id="query-history-panel-close" type="button">close</button>
|
|
219
|
+
</div>
|
|
220
|
+
<div id="query-history-content"></div>
|
|
221
|
+
</aside>
|
|
222
|
+
|
|
202
223
|
<main id="content">
|
|
203
224
|
<section id="history-commit-info" hidden aria-label="Selected commit">
|
|
204
225
|
<div class="hci-head">
|