@youtyan/code-viewer 0.2.8 → 0.2.9

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/web/index.html CHANGED
@@ -81,13 +81,21 @@
81
81
  </div>
82
82
 
83
83
  <div id="load-bar" aria-hidden="true"></div>
84
- <div id="change-banner" hidden>
85
- <span id="change-banner-copy">
86
- <span id="change-banner-text"></span>
87
- <span id="change-banner-age"></span>
88
- </span>
89
- <button id="change-banner-reload" type="button"></button>
90
- <button id="change-banner-dismiss" type="button" aria-label="dismiss">×</button>
84
+ <div id="banner-stack">
85
+ <div id="watch-limit-banner" class="gdp-banner gdp-banner--warn" role="status" hidden>
86
+ <span class="gdp-banner-copy">
87
+ <span id="watch-limit-text"></span>
88
+ </span>
89
+ <button id="watch-limit-dismiss" class="gdp-banner-dismiss" type="button" aria-label="dismiss">×</button>
90
+ </div>
91
+ <div id="change-banner" class="gdp-banner" hidden>
92
+ <span id="change-banner-copy" class="gdp-banner-copy">
93
+ <span id="change-banner-text"></span>
94
+ <span id="change-banner-age"></span>
95
+ </span>
96
+ <button id="change-banner-reload" type="button"></button>
97
+ <button id="change-banner-dismiss" class="gdp-banner-dismiss" type="button" aria-label="dismiss">×</button>
98
+ </div>
91
99
  </div>
92
100
 
93
101
  <aside id="history-panel" aria-label="Commit history" hidden>
@@ -157,6 +165,14 @@
157
165
  </select>
158
166
  <p id="display-settings-source">Applies to all projects in this browser.</p>
159
167
  </div>
168
+ <div class="scope-settings-section">
169
+ <strong id="upload-section-title" class="scope-settings-section-title">Uploads</strong>
170
+ <label class="scope-settings-toggle">
171
+ <input id="upload-enabled" type="checkbox" />
172
+ <span id="upload-enabled-label">Allow file uploads into worktree folders</span>
173
+ </label>
174
+ <p id="upload-help" class="scope-settings-help"></p>
175
+ </div>
160
176
  <div class="scope-settings-section">
161
177
  <strong class="scope-settings-section-title">Excluded directories</strong>
162
178
  <label for="scope-omit-dirs">Skip these directory names while browsing and searching</label>
@@ -164,10 +180,10 @@
164
180
  <label for="scope-exclude-names">Hide these file or directory names completely</label>
165
181
  <textarea id="scope-exclude-names" rows="4" spellcheck="false"></textarea>
166
182
  <p id="scope-omit-source"></p>
167
- <div class="scope-settings-actions">
168
- <button id="scope-omit-reset" type="button">Reset</button>
169
- <button id="scope-omit-save" type="button">Save</button>
170
- </div>
183
+ </div>
184
+ <div class="scope-settings-footer">
185
+ <p id="scope-settings-autosave-note" class="scope-settings-help"></p>
186
+ <button id="scope-omit-reset" type="button">Restore defaults</button>
171
187
  </div>
172
188
  </div>
173
189