π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Merge main and resolve Space navigation conflicts
Anand Baburajanfcec17f7ba27
diff --cc web/apps/space/src/components/AppNavigation.tsxindex b515c84801,283c6c2917..ed14769bd7--- a/web/apps/space/src/components/AppNavigation.tsx+++ b/web/apps/space/src/components/AppNavigation.tsx@@@ -41,17 -41,27 +41,29 @@@ export const SpaceAppLayout = ({ childrconst isConversation = router.pathname.startsWith(`${spaceRoutes.messages}/`,);+ const isPost = router.pathname.startsWith("/app/posts/");- const isFriendPreview =- router.pathname == spaceRoutes.friends &&- typeof router.query.friend == "string" &&- router.query.expanded != "1";+ const isSettingsPage =+ router.pathname == spaceRoutes.settings ||+ router.pathname == spaceRoutes.settingsProfileName ||+ router.pathname == spaceRoutes.profilePhoto ||+ router.pathname == spaceRoutes.editProfilePhoto ||+ router.pathname == spaceRoutes.profileCover ||+ router.pathname == spaceRoutes.editProfileCover;+ const isProfilePage =+ router.pathname == spaceRoutes.profile ||+ router.pathname == spaceRoutes.friendPage ||+ (router.pathname == spaceRoutes.friends &&+ typeof router.query.friend == "string" &&+ router.query.expanded == "1");+ const isNotificationsPage = router.pathname == spaceRoutes.notifications;const showNavigation =isAppPage &&Boolean(profile) &&!isConversation &&+ !isPost &&- !isFriendPreview;+ !isSettingsPage &&+ !isProfilePage &&+ !isNotificationsPage;const spaceID =isAppPage && profileLoadStatus == "ready"? profile?.spaceId@@@ -179,7 -189,9 +191,10 @@@ref={layoutRef}className={isAppPage ? "space-app-layout" : undefined}data-space-conversation={isConversation || undefined}+ data-space-post={isPost || undefined}+ data-space-settings={isSettingsPage || undefined}+ data-space-profile={isProfilePage || undefined}+ data-space-notifications={isNotificationsPage || undefined}>{children}{showNavigation && (diff --cc web/apps/space/src/styles/globals.cssindex 40ce4dbc4a,47e55b1005..52e4975e53--- a/web/apps/space/src/styles/globals.css+++ b/web/apps/space/src/styles/globals.css@@@ -58,7 -59,9 +59,10 @@@ html[data-space-ios-pwa}.space-app-layout[data-space-conversation],- .space-app-layout[data-space-post] {++.space-app-layout[data-space-post],+ .space-app-layout[data-space-settings],+ .space-app-layout[data-space-profile],+ .space-app-layout[data-space-notifications] {--space-bottom-nav-height: 0px;}