-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
315 lines (311 loc) · 13.2 KB
/
Copy pathoptions.html
File metadata and controls
315 lines (311 loc) · 13.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title data-i18n="settingsTitle">Bookmark X settings</title>
</head>
<body>
<a class="skip-link" href="#settings-main" data-i18n="skipToSettings">
Skip to settings
</a>
<header class="masthead">
<img src="/icons/icon.svg" alt="" width="46" height="46" />
<div>
<p class="eyebrow" data-i18n="settingsEyebrow">Local by design</p>
<h1 data-i18n="settingsTitle">Bookmark X settings</h1>
</div>
</header>
<main id="settings-main" tabindex="-1">
<p class="lede" data-i18n="settingsIntro">
Choose how Bookmark X looks, opens, and prepares your private archive.
</p>
<form id="settings-form">
<fieldset>
<legend data-i18n="settingsAppearance">Appearance</legend>
<label class="choice" for="appearance-large-text">
<input id="appearance-large-text" type="checkbox" />
<span data-i18n="settingLargeText">Use larger text</span>
</label>
<label class="choice" for="appearance-high-contrast">
<input id="appearance-high-contrast" type="checkbox" />
<span data-i18n="settingHighContrast">Use high contrast</span>
</label>
<label class="choice" for="appearance-reduce-motion">
<input id="appearance-reduce-motion" type="checkbox" />
<span data-i18n="settingReduceMotion">Reduce motion</span>
</label>
<div class="regional-settings">
<label class="select-choice" for="appearance-date-format">
<span data-i18n="settingDateFormat">Date format</span>
<select id="appearance-date-format">
<option value="auto" data-i18n="settingFormatAuto">
Automatic for my region
</option>
<option value="dmy" data-i18n="settingDateFormatDmy">DD/MM/YYYY</option>
<option value="mdy" data-i18n="settingDateFormatMdy">MM/DD/YYYY</option>
<option value="ymd" data-i18n="settingDateFormatYmd">YYYY/MM/DD</option>
</select>
</label>
<label class="select-choice" for="appearance-time-format">
<span data-i18n="settingTimeFormat">Time format</span>
<select id="appearance-time-format">
<option value="auto" data-i18n="settingFormatAuto">
Automatic for my region
</option>
<option value="24h" data-i18n="settingTimeFormat24">24 hours</option>
<option value="12h" data-i18n="settingTimeFormat12">
12 hours (AM/PM)
</option>
</select>
</label>
</div>
</fieldset>
<fieldset>
<legend data-i18n="settingsBehavior">Behavior</legend>
<p class="group-label" data-i18n="settingSurface">Open the library as</p>
<label class="choice" for="surface-modal">
<input id="surface-modal" name="surface" type="radio" value="modal" />
<span data-i18n="settingSurfaceModal">Compact window</span>
</label>
<label class="choice" for="surface-side-panel">
<input
id="surface-side-panel"
name="surface"
type="radio"
value="sidePanel"
/>
<span data-i18n="settingSurfaceSidePanel">Chrome side panel</span>
</label>
<div class="divider" aria-hidden="true"></div>
<label class="choice" for="behavior-prompt">
<input id="behavior-prompt" type="checkbox" />
<span data-i18n="settingPrompt">Ask for a note after bookmarking</span>
</label>
<label class="choice" for="metadata-summary">
<input id="metadata-summary" type="checkbox" />
<span data-i18n="settingMetadataSummary">Show mapped status</span>
</label>
<label class="choice" for="metadata-breadcrumb">
<input id="metadata-breadcrumb" type="checkbox" />
<span data-i18n="settingBreadcrumb">Show folder breadcrumb</span>
</label>
<label class="choice" for="metadata-tags">
<input id="metadata-tags" type="checkbox" />
<span data-i18n="settingTags">Show tags</span>
</label>
<label class="choice" for="metadata-note">
<input id="metadata-note" type="checkbox" />
<span data-i18n="settingNote">Show private note</span>
</label>
<label class="choice" for="metadata-category">
<input id="metadata-category" type="checkbox" />
<span data-i18n="settingCategory">Show uncategorized indicator</span>
</label>
</fieldset>
<fieldset>
<legend data-i18n="settingsExport">Export</legend>
<p class="field-help" data-i18n="settingsExportHelp">
Choose which details future TXT and Markdown exports may include.
</p>
<div class="choice-grid">
<label class="choice" for="export-link"
><input id="export-link" type="checkbox" /><span
data-i18n="settingExportLink"
>Post link</span
></label
>
<label class="choice" for="export-text"
><input id="export-text" type="checkbox" /><span
data-i18n="settingExportText"
>Post text</span
></label
>
<label class="choice" for="export-author"
><input id="export-author" type="checkbox" /><span
data-i18n="settingExportAuthor"
>Author</span
></label
>
<label class="choice" for="export-date"
><input id="export-date" type="checkbox" /><span
data-i18n="settingExportDate"
>Post date</span
></label
>
<label class="choice" for="export-images"
><input id="export-images" type="checkbox" /><span
data-i18n="settingExportImages"
>Image links</span
></label
>
<label class="choice" for="export-videos"
><input id="export-videos" type="checkbox" /><span
data-i18n="settingExportVideos"
>Video links</span
></label
>
<label class="choice" for="export-note"
><input id="export-note" type="checkbox" /><span
data-i18n="settingExportNote"
>Private note</span
></label
>
<label class="choice" for="export-tags"
><input id="export-tags" type="checkbox" /><span
data-i18n="settingExportTags"
>Tags</span
></label
>
<label class="choice" for="export-folder"
><input id="export-folder" type="checkbox" /><span
data-i18n="settingExportFolder"
>Folder path</span
></label
>
<label class="choice" for="export-first-saved"
><input id="export-first-saved" type="checkbox" /><span
data-i18n="settingExportFirstSaved"
>First capture date</span
></label
>
<label class="choice" for="export-last-seen"
><input id="export-last-seen" type="checkbox" /><span
data-i18n="settingExportLastSeen"
>Last seen date</span
></label
>
</div>
</fieldset>
<fieldset>
<legend data-i18n="settingsSearch">Search</legend>
<label class="choice" for="search-live-filter">
<input id="search-live-filter" type="checkbox" />
<span data-i18n="settingLiveFilter">Filter results while typing</span>
</label>
<div class="divider"></div>
<section class="semantic-settings" aria-labelledby="semantic-title">
<p class="group-label" id="semantic-title" data-i18n="semanticTitle">
Optional semantic search
</p>
<p class="field-help" data-i18n="semanticPrivacy">
Find posts by meaning with a local multilingual model. Your posts, notes,
tags, and folders never leave this device.
</p>
<div class="semantic-consent">
<strong data-i18n="semanticConsentTitle">Before you download</strong>
<p data-i18n="semanticConsentBody">
Bookmark X downloads about 136 MB of model data from Hugging Face only
after you choose Download and enable. The model then works offline.
</p>
<p data-i18n="semanticQuotaHelp">
The extension requests unlimited local storage, but available disk space
still applies. The search index uses about 1.5 KB per saved post.
</p>
<p id="semantic-storage" class="semantic-storage"></p>
</div>
<label class="choice" for="semantic-enabled">
<input id="semantic-enabled" type="checkbox" disabled />
<span data-i18n="semanticEnabled">Use semantic results in search</span>
</label>
<progress
id="semantic-progress"
class="semantic-progress"
max="100"
value="0"
aria-describedby="semantic-progress-copy"
hidden
></progress>
<p id="semantic-progress-copy" class="field-help"></p>
<div class="semantic-actions">
<button id="semantic-install" type="button" class="primary-action">
<span data-i18n="semanticInstall">Download and enable</span>
</button>
<button id="semantic-cancel" type="button" hidden>
<span data-i18n="semanticCancel">Cancel</span>
</button>
<button id="semantic-reindex" type="button" hidden>
<span data-i18n="semanticReindex">Reindex saved posts</span>
</button>
<button id="semantic-remove" type="button" class="danger-action" hidden>
<span data-i18n="semanticRemove">Remove model and index</span>
</button>
</div>
<p
id="semantic-status"
class="semantic-status"
role="status"
aria-live="polite"
aria-atomic="true"
></p>
</section>
</fieldset>
<fieldset>
<legend data-i18n="settingsData">Data</legend>
<label class="number-choice" for="data-quick-stop-threshold">
<span data-i18n="settingQuickStopThreshold">
Stop a quick update after this many known bookmarks
</span>
<input
id="data-quick-stop-threshold"
type="number"
min="3"
max="50"
step="1"
inputmode="numeric"
aria-describedby="data-quick-stop-help"
/>
<small id="data-quick-stop-help" data-i18n="settingQuickStopHelp">
15 is recommended. A higher number checks further before stopping.
</small>
</label>
<div class="divider" aria-hidden="true"></div>
<label class="choice" for="data-keep-archived">
<input id="data-keep-archived" type="checkbox" />
<span data-i18n="settingKeepArchived"
>Keep posts removed from X as archived</span
>
</label>
<p class="field-help" data-i18n="settingsDataHelp">
Bookmark content stays in IndexedDB on this device.
</p>
</fieldset>
</form>
<section class="github-project" aria-labelledby="github-project-title">
<div class="github-project__copy">
<p class="github-project__eyebrow" data-i18n="githubProjectEyebrow">
Independent and open
</p>
<h2 id="github-project-title" data-i18n="githubProjectTitle">
Open source on GitHub
</h2>
<p class="github-project__description" data-i18n="githubProjectDescription">
Inspect the code, follow progress, or support the project if it is useful to
you.
</p>
</div>
<div class="github-project__actions">
<span id="github-star-count" class="github-project__stars" hidden></span>
<a
id="github-project-link"
class="github-project__link"
href="https://github.com/LucasDitchun/export-bookmarks-x-twitter"
target="_blank"
rel="noopener noreferrer external"
>
<span data-i18n="githubStarAction">Star on GitHub</span>
<span aria-hidden="true">↗</span>
</a>
</div>
</section>
<p
id="settings-status"
class="save-status"
role="status"
aria-live="polite"
aria-atomic="true"
></p>
</main>
<script type="module" src="/src/options/main.ts"></script>
</body>
</html>