aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-10 17:09:12 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-10 17:09:12 +0200
commitb39e73cbb279ab0274e8cd0b84304a602fe1d5ef (patch)
tree91e86b70289f5c0252372f4f05b83b38f049c64f /packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js
parentff982773308d042e4ec68fae9cad5c5742bc7395 (diff)
downloadmeshbay-b39e73cbb279ab0274e8cd0b84304a602fe1d5ef.tar.gz
fix(android): what the first backup on a phone showedHEADmain
Slices are asked for in the address, not a Range header the WebView drops; a settings change runs at once; the notification is updated once a second; the SMS section says how to lift Android's restricted setting; the photo section says whether videos are included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js b/packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js
index 088de76..d2a839e 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js
@@ -103,6 +103,8 @@ export function PhotoSyncSection({ destination }) {
? t('photosync.last_run', { when: new Date(status.lastCompleted).toLocaleString() })
: t('photosync.never')}
</p>
+ <p class="settings-hint">
+ ${t(cfg.includeVideos ? 'photosync.videos_included' : 'photosync.videos_not_included')}</p>
${status.permission === 'partial' && html`
<p class="settings-hint">${t('photosync.permission_partial')}</p>`}
${cfg.includeVideos && status.videoPermission === 'denied' && html`
@@ -123,7 +125,7 @@ export function PhotoSyncSection({ destination }) {
${editing && html`
<${Setup} status=${status}
onPermission=${setStatus}
- onDone=${(next) => { setEditing(false); if (next) { setStatus(next); runPhotoSync(); } }} />`}
+ onDone=${(next) => { setEditing(false); if (next) { setStatus(next); runPhotoSync({ force: true }); } }} />`}
${error && html`<p class="error-msg">${error}</p>`}
</div>
`;