@youtyan/code-viewer 0.2.11 → 0.4.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 +55 -18
- package/dist/code-viewer.js +1054 -183
- package/package.json +1 -1
- package/web/app.js +5238 -2295
- package/web/index.html +15 -22
- package/web/style.css +865 -68
package/web/index.html
CHANGED
|
@@ -98,19 +98,7 @@
|
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
|
|
101
|
-
<aside id="history-panel"
|
|
102
|
-
<div class="history-head">
|
|
103
|
-
<span class="history-title">Commits</span>
|
|
104
|
-
<span data-ref-selector-mount data-ref-id="history-ref" data-placeholder="ref..." data-title="history ref"></span>
|
|
105
|
-
</div>
|
|
106
|
-
<div class="history-filter-wrap">
|
|
107
|
-
<input id="history-filter" type="search" placeholder="filter commits… (message, sha, author:name, path:file)" autocomplete="off" />
|
|
108
|
-
</div>
|
|
109
|
-
<div id="history-banner" class="history-banner" role="status" hidden></div>
|
|
110
|
-
<ol id="history-list"></ol>
|
|
111
|
-
<div id="history-sentinel" aria-hidden="true"></div>
|
|
112
|
-
<div id="history-status" class="history-status" role="status" hidden></div>
|
|
113
|
-
</aside>
|
|
101
|
+
<aside id="history-panel" hidden></aside>
|
|
114
102
|
<div id="history-resizer" aria-hidden="true"></div>
|
|
115
103
|
<aside id="sidebar">
|
|
116
104
|
<div class="sb-head">
|
|
@@ -183,6 +171,19 @@
|
|
|
183
171
|
<p id="scope-exclude-names-help" class="scope-settings-help"></p>
|
|
184
172
|
<p id="scope-omit-source"></p>
|
|
185
173
|
</div>
|
|
174
|
+
<div class="scope-settings-section">
|
|
175
|
+
<strong id="datastore-section-title" class="scope-settings-section-title">Datastores</strong>
|
|
176
|
+
<label class="scope-settings-toggle">
|
|
177
|
+
<input id="datastore-infer-fk" type="checkbox" />
|
|
178
|
+
<span id="datastore-infer-fk-label">Infer FK from Rails-style naming</span>
|
|
179
|
+
</label>
|
|
180
|
+
<p id="datastore-infer-fk-help" class="scope-settings-help"></p>
|
|
181
|
+
<label class="scope-settings-toggle">
|
|
182
|
+
<input id="datastore-s3-tooltip" type="checkbox" />
|
|
183
|
+
<span id="datastore-s3-tooltip-label">Show S3 object preview tooltip on hover</span>
|
|
184
|
+
</label>
|
|
185
|
+
<p id="datastore-s3-tooltip-help" class="scope-settings-help"></p>
|
|
186
|
+
</div>
|
|
186
187
|
<div class="scope-settings-section">
|
|
187
188
|
<strong id="watch-section-title" class="scope-settings-section-title">File change watcher</strong>
|
|
188
189
|
<label for="scope-watch-limit">Maximum directories to watch</label>
|
|
@@ -251,15 +252,7 @@
|
|
|
251
252
|
</aside>
|
|
252
253
|
|
|
253
254
|
<main id="content">
|
|
254
|
-
<section id="history-commit-info" hidden
|
|
255
|
-
<div class="hci-head">
|
|
256
|
-
<span id="hci-sha" class="hci-sha"></span>
|
|
257
|
-
<span id="hci-author" class="hci-author"></span>
|
|
258
|
-
<span id="hci-date" class="hci-date"></span>
|
|
259
|
-
</div>
|
|
260
|
-
<h2 id="hci-subject" class="hci-subject"></h2>
|
|
261
|
-
<div id="hci-body" class="hci-body" hidden></div>
|
|
262
|
-
</section>
|
|
255
|
+
<section id="history-commit-info" hidden></section>
|
|
263
256
|
<div id="empty" class="empty hidden">
|
|
264
257
|
<div class="emoji">✨</div>
|
|
265
258
|
<h2>No changes</h2>
|