diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-10 12:35:15 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-10 12:35:15 +0200 |
| commit | 044c585f73cfd548e300859e89eaf5dcb40d3d3c (patch) | |
| tree | 89d90fa844c4a453c84a228f541b84040c9f782d /packages/meshbay-hub/src/meshbay_hub/static/settings-page.js | |
| parent | 0ead6a321fbe3cf97e22f6fee348f68b09bd53a8 (diff) | |
| download | meshbay-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/settings-page.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/settings-page.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/settings-page.js b/packages/meshbay-hub/src/meshbay_hub/static/settings-page.js index 8826520..985b219 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/settings-page.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/settings-page.js @@ -7,15 +7,10 @@ import * as platform from './platform.js'; import { hubFetch } from './hub-client.js'; import { syncPush, enablePush, disablePush } from './push.js'; import { APPS } from './apps.js'; -import { lazy } from './lazy.js'; import { PAGE_SIZE_PREF, PAGE_SIZE_DEFAULT, PAGE_SIZE_STEP, PAGE_SIZE_MAX, pageSizeFrom, } from './pager.js'; -// Photo backup exists on the Android application only, so its module is -// fetched there and nowhere else (docs/MESHBAY_DESIGN.md §9.12). -const PhotoSyncSection = lazy(() => import('./photo-sync-settings.js'), 'PhotoSyncSection', null); - const PAGE_SIZES = Array.from( { length: PAGE_SIZE_MAX / PAGE_SIZE_STEP }, (_, i) => (i + 1) * PAGE_SIZE_STEP); @@ -301,9 +296,6 @@ export function SettingsPage({ user, theme, onThemeChange, groups, onPrefsChange `} </div> - ${platform.photoSync.available && html` - <${PhotoSyncSection} user=${user} groups=${groups || []} />`} - <div class="settings-section"> <h3 class="settings-heading">${t('settings.defaults')}</h3> <div class="settings-row"> |