@youtyan/code-viewer 0.1.54 → 0.2.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.
- package/README.md +38 -6
- package/dist/code-viewer.js +3829 -642
- package/package.json +1 -1
- package/skills/code-viewer-annotate/SKILL.md +26 -0
- package/web/app.js +9636 -6469
- package/web/index.html +5 -2
- package/web/style.css +996 -37
package/web/index.html
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
<a class="brand" href="/" aria-label="Repository home">
|
|
23
23
|
<img class="brand-icon" src="/favicon.png" alt="" width="20" height="20" />
|
|
24
24
|
<span class="title" id="project-title">repository</span>
|
|
25
|
+
<span id="project-branch" class="project-branch" hidden></span>
|
|
25
26
|
</a>
|
|
26
27
|
<nav class="app-menu" aria-label="Views">
|
|
27
28
|
<a class="app-menu-item active" data-route="repo" href="/">Repository</a>
|
|
@@ -31,9 +32,9 @@
|
|
|
31
32
|
</nav>
|
|
32
33
|
<div class="global-actions">
|
|
33
34
|
<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>
|
|
35
35
|
<button id="viewer-settings" class="global-icon-action" title="viewer settings" aria-label="viewer settings"></button>
|
|
36
36
|
<button id="auto-update" class="global-icon-action active" title="auto update on file change">auto</button>
|
|
37
|
+
<button id="cancel-requests" class="global-icon-action" title="no in-flight requests" aria-label="cancel in-flight requests" disabled>stop</button>
|
|
37
38
|
<button id="theme" title="toggle theme">🌗</button>
|
|
38
39
|
<span id="status" class="status"></span>
|
|
39
40
|
<a id="repo-web-link" class="global-help-link" href="#" target="_blank" rel="noopener" hidden>GitHub</a>
|
|
@@ -102,6 +103,7 @@
|
|
|
102
103
|
<div id="history-sentinel" aria-hidden="true"></div>
|
|
103
104
|
<div id="history-status" class="history-status" role="status" hidden></div>
|
|
104
105
|
</aside>
|
|
106
|
+
<div id="history-resizer" aria-hidden="true"></div>
|
|
105
107
|
<aside id="sidebar">
|
|
106
108
|
<div class="sb-head">
|
|
107
109
|
<span class="sb-title">Files</span>
|
|
@@ -175,6 +177,7 @@
|
|
|
175
177
|
<label class="annotation-follow-label" title="jump to new annotations as they arrive">
|
|
176
178
|
<input type="checkbox" id="annotation-follow" checked /> follow
|
|
177
179
|
</label>
|
|
180
|
+
<button id="annotation-capture-db" class="annotation-icon-btn" type="button" title="pin current database view" aria-label="pin current database view" hidden></button>
|
|
178
181
|
<button id="annotation-clear" type="button" title="delete all annotations">clear</button>
|
|
179
182
|
<button id="annotation-panel-close" type="button">close</button>
|
|
180
183
|
</div>
|
|
@@ -228,7 +231,7 @@
|
|
|
228
231
|
<span id="hci-date" class="hci-date"></span>
|
|
229
232
|
</div>
|
|
230
233
|
<h2 id="hci-subject" class="hci-subject"></h2>
|
|
231
|
-
<
|
|
234
|
+
<div id="hci-body" class="hci-body" hidden></div>
|
|
232
235
|
</section>
|
|
233
236
|
<div id="empty" class="empty hidden">
|
|
234
237
|
<div class="emoji">✨</div>
|