mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 00:42:30 +00:00
Simplify watch history messaging
This commit is contained in:
1 parent
b764e51f17
commit
006f561302
2 files changed
+7
-6
No files matched your search
+2
-2
@@ -1842,7 +1842,7 @@ export function createWatchHistoryRenderer(config = {}) {
|
||||
}
|
||||
if (elements.privacyMessage) {
|
||||
elements.privacyMessage.textContent =
|
||||
"Your encrypted history is private to this device. Titles and thumbnails hydrate when relays provide them.";
|
||||
"Watch history only stores the event IDs of videos you've played. Titles and thumbnails reload from relays when available.";
|
||||
}
|
||||
if (elements.privacyToggle) {
|
||||
setHidden(elements.privacyToggle, true);
|
||||
@@ -1855,7 +1855,7 @@ export function createWatchHistoryRenderer(config = {}) {
|
||||
return;
|
||||
}
|
||||
const message =
|
||||
"Thumbnails and titles hydrate from your encrypted history or relays when available. Nothing is published from this view.";
|
||||
"Watch history keeps a lean list of event IDs and reloads details from relays or your session on demand. Nothing is published from this view.";
|
||||
elements.info.textContent = message;
|
||||
}
|
||||
|
||||
|
||||
+5
-4
@@ -38,12 +38,12 @@
|
||||
class="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between"
|
||||
>
|
||||
<p id="watchHistoryPrivacyMessage" class="text-sm text-info">
|
||||
Your history stays encrypted. Share metadata with relays to sync
|
||||
thumbnails across devices?
|
||||
Watch history only stores the event IDs of videos you've played.
|
||||
Titles and thumbnails reload from relays when available.
|
||||
</p>
|
||||
<div class="flex flex-wrap gap-2">
|
||||
<button id="watchHistoryPrivacyToggle" type="button" class="btn">
|
||||
Share metadata
|
||||
Got it
|
||||
</button>
|
||||
<button
|
||||
id="watchHistoryPrivacyDismiss"
|
||||
@@ -57,7 +57,8 @@
|
||||
</div>
|
||||
|
||||
<div id="watchHistoryInfo" class="card p-md text-sm">
|
||||
Thumbnails and titles are hydrated locally from your device caches.
|
||||
Watch history keeps a lean list of event IDs. Details load on demand
|
||||
from relays or your session when you open this page.
|
||||
</div>
|
||||
|
||||
<div
|
||||
|
||||
Reference in new issue
Block a user