aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-10 12:35:15 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-10 12:35:15 +0200
commit044c585f73cfd548e300859e89eaf5dcb40d3d3c (patch)
tree89d90fa844c4a453c84a228f541b84040c9f782d /packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js
parent0ead6a321fbe3cf97e22f6fee348f68b09bd53a8 (diff)
downloadmeshbay-044c585f73cfd548e300859e89eaf5dcb40d3d3c.tar.gz
feat(hub): photo backup moves to its own Android Sync page
A Phone section of the side menu leads to it, on the Android application only; Settings no longer holds it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js b/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js
new file mode 100644
index 0000000..6285b3c
--- /dev/null
+++ b/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js
@@ -0,0 +1,16 @@
+// The Android Sync page: what this phone sends to its groups, on the Android
+// application only (docs/MESHBAY_DESIGN.md §9.12). Loaded on demand, like the
+// sections it holds: no other client has it.
+
+import { html } from './vendor/htm-preact.js';
+import { t } from './i18n.js';
+import { PhotoSyncSection } from './photo-sync-settings.js';
+
+export function AndroidSyncPage({ user, groups }) {
+ return html`
+ <div>
+ <h2>${t('androidsync.title')}</h2>
+ <${PhotoSyncSection} user=${user} groups=${groups || []} />
+ </div>
+ `;
+}