@oxy.so/services 15.1.0 → 15.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/manifest.json +7 -13
- package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/manifest.json +7 -13
- package/lib/commonjs/ui/components/OxyDeviceSignIn.js +2 -3
- package/lib/commonjs/ui/components/OxyDeviceSignIn.js.map +1 -1
- package/lib/commonjs/ui/components/QRCode.js +86 -0
- package/lib/commonjs/ui/components/QRCode.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +2 -2
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js +5 -3
- package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +5 -2
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +5 -2
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +2 -3
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +2 -3
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +2 -3
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/SessionsSection.js +5 -8
- package/lib/commonjs/ui/components/signIn/SessionsSection.js.map +1 -1
- package/lib/commonjs/ui/components/supervision/PersonPicker.js +5 -3
- package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +2 -8
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/illustrations/OxyEmptyState.js +33 -0
- package/lib/commonjs/ui/illustrations/OxyEmptyState.js.map +1 -0
- package/lib/commonjs/ui/illustrations/ThemedIllustration.js +91 -0
- package/lib/commonjs/ui/illustrations/ThemedIllustration.js.map +1 -0
- package/lib/commonjs/ui/illustrations/connected-apps.svg +93 -0
- package/lib/commonjs/ui/illustrations/connected-apps.svg.json +1 -0
- package/lib/commonjs/ui/illustrations/family.svg +150 -0
- package/lib/commonjs/ui/illustrations/family.svg.json +1 -0
- package/lib/commonjs/ui/illustrations/library.svg +68 -0
- package/lib/commonjs/ui/illustrations/library.svg.json +1 -0
- package/lib/commonjs/ui/illustrations/people.svg +62 -0
- package/lib/commonjs/ui/illustrations/people.svg.json +1 -0
- package/lib/commonjs/ui/illustrations/security.svg +78 -0
- package/lib/commonjs/ui/illustrations/security.svg.json +1 -0
- package/lib/commonjs/ui/illustrations/sessions.svg +74 -0
- package/lib/commonjs/ui/illustrations/sessions.svg.json +1 -0
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +5 -3
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +5 -10
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js +5 -3
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +11 -34
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileTrashScreen.js +4 -17
- package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +5 -4
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -2
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +9 -7
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SupervisionScreen.js +13 -6
- package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +13 -22
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +10 -25
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +6 -17
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +7 -10
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +5 -3
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +5 -15
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +5 -3
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/manifest.json +7 -13
- package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/fonts/icons/manifest.json +7 -13
- package/lib/module/ui/components/OxyDeviceSignIn.js +1 -1
- package/lib/module/ui/components/OxyDeviceSignIn.js.map +1 -1
- package/lib/module/ui/components/QRCode.js +79 -0
- package/lib/module/ui/components/QRCode.js.map +1 -0
- package/lib/module/ui/components/authChooser/requestSurfaces.js +1 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileAppAccessSection.js +5 -3
- package/lib/module/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js +5 -2
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +5 -2
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/SessionsSection.js +5 -8
- package/lib/module/ui/components/signIn/SessionsSection.js.map +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js +5 -3
- package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/module/ui/icons/subsetGlyphMaps.js +2 -8
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/illustrations/OxyEmptyState.js +28 -0
- package/lib/module/ui/illustrations/OxyEmptyState.js.map +1 -0
- package/lib/module/ui/illustrations/ThemedIllustration.js +84 -0
- package/lib/module/ui/illustrations/ThemedIllustration.js.map +1 -0
- package/lib/module/ui/illustrations/connected-apps.svg +93 -0
- package/lib/module/ui/illustrations/connected-apps.svg.json +1 -0
- package/lib/module/ui/illustrations/family.svg +150 -0
- package/lib/module/ui/illustrations/family.svg.json +1 -0
- package/lib/module/ui/illustrations/library.svg +68 -0
- package/lib/module/ui/illustrations/library.svg.json +1 -0
- package/lib/module/ui/illustrations/people.svg +62 -0
- package/lib/module/ui/illustrations/people.svg.json +1 -0
- package/lib/module/ui/illustrations/security.svg +78 -0
- package/lib/module/ui/illustrations/security.svg.json +1 -0
- package/lib/module/ui/illustrations/sessions.svg +74 -0
- package/lib/module/ui/illustrations/sessions.svg.json +1 -0
- package/lib/module/ui/screens/AccountMembersScreen.js +5 -3
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +5 -10
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js +5 -3
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +11 -34
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js +4 -17
- package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +5 -4
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +9 -7
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js +13 -6
- package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +13 -22
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +10 -24
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +6 -17
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +7 -10
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +5 -3
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +5 -15
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +5 -3
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/QRCode.d.ts +25 -0
- package/lib/typescript/commonjs/ui/components/QRCode.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/SessionsSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/supervision/PersonPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +2 -8
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/illustrations/OxyEmptyState.d.ts +16 -0
- package/lib/typescript/commonjs/ui/illustrations/OxyEmptyState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/illustrations/ThemedIllustration.d.ts +20 -0
- package/lib/typescript/commonjs/ui/illustrations/ThemedIllustration.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileTrashScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SupervisionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/QRCode.d.ts +25 -0
- package/lib/typescript/module/ui/components/QRCode.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/SessionsSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/supervision/PersonPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +2 -8
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/module/ui/illustrations/OxyEmptyState.d.ts +16 -0
- package/lib/typescript/module/ui/illustrations/OxyEmptyState.d.ts.map +1 -0
- package/lib/typescript/module/ui/illustrations/ThemedIllustration.d.ts +20 -0
- package/lib/typescript/module/ui/illustrations/ThemedIllustration.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileTrashScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SupervisionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/package.json +18 -4
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/src/assets/fonts/icons/manifest.json +7 -13
- package/src/ui/components/OxyDeviceSignIn.tsx +1 -1
- package/src/ui/components/QRCode.tsx +67 -0
- package/src/ui/components/authChooser/requestSurfaces.tsx +1 -1
- package/src/ui/components/fileManagement/FileAppAccessSection.tsx +6 -1
- package/src/ui/components/organizations/OrganizationClaimReview.tsx +8 -1
- package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +8 -1
- package/src/ui/components/payment/PaymentDetailsStep.tsx +1 -1
- package/src/ui/components/signIn/InlineCommonsQr.tsx +1 -1
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
- package/src/ui/components/signIn/SessionsSection.tsx +4 -4
- package/src/ui/components/supervision/PersonPicker.tsx +4 -1
- package/src/ui/icons/subsetGlyphMaps.ts +2 -8
- package/src/ui/illustrations/OxyEmptyState.tsx +29 -0
- package/src/ui/illustrations/ThemedIllustration.tsx +74 -0
- package/src/ui/illustrations/__tests__/ThemedIllustration.test.ts +41 -0
- package/src/ui/illustrations/connected-apps.svg +93 -0
- package/src/ui/illustrations/connected-apps.svg.json +1 -0
- package/src/ui/illustrations/family.svg +150 -0
- package/src/ui/illustrations/family.svg.json +1 -0
- package/src/ui/illustrations/library.svg +68 -0
- package/src/ui/illustrations/library.svg.json +1 -0
- package/src/ui/illustrations/people.svg +62 -0
- package/src/ui/illustrations/people.svg.json +1 -0
- package/src/ui/illustrations/security.svg +78 -0
- package/src/ui/illustrations/security.svg.json +1 -0
- package/src/ui/illustrations/sessions.svg +74 -0
- package/src/ui/illustrations/sessions.svg.json +1 -0
- package/src/ui/screens/AccountMembersScreen.tsx +6 -3
- package/src/ui/screens/ConnectedAppsScreen.tsx +9 -7
- package/src/ui/screens/DomainsScreen.tsx +2 -1
- package/src/ui/screens/FileManagementScreen.tsx +31 -31
- package/src/ui/screens/FileTrashScreen.tsx +5 -9
- package/src/ui/screens/HistoryViewScreen.tsx +6 -1
- package/src/ui/screens/PaymentGatewayScreen.tsx +1 -1
- package/src/ui/screens/PrivacySettingsScreen.tsx +11 -6
- package/src/ui/screens/SupervisionScreen.tsx +8 -3
- package/src/ui/screens/UserListScreen.tsx +16 -22
- package/src/ui/screens/fileManagement/FileListSection.tsx +6 -10
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +19 -18
- package/src/ui/screens/trust/TrustCenterScreen.tsx +38 -36
- package/src/ui/screens/trust/TrustFAQScreen.tsx +9 -4
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +9 -14
- package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OxyEmptyState } from '../illustrations/OxyEmptyState';
|
|
1
2
|
import React, { useCallback, useEffect } from 'react';
|
|
2
3
|
import { skip, useAction, useRecord } from '@oxy.so/bloom-data';
|
|
3
4
|
import { View } from 'react-native';
|
|
@@ -432,9 +433,11 @@ const PrivacySettingsScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) =
|
|
|
432
433
|
{/* Blocked Users */}
|
|
433
434
|
<GroupedSection title={t('privacySettings.sections.blockedUsers') || 'BLOCKED USERS'}>
|
|
434
435
|
{isLoadingUsers ? null : blockedUsers.length === 0 ? (
|
|
435
|
-
<
|
|
436
|
-
|
|
437
|
-
|
|
436
|
+
<OxyEmptyState
|
|
437
|
+
art="security"
|
|
438
|
+
variant="compact"
|
|
439
|
+
title={t('privacySettings.noBlockedUsers') || 'No blocked users'}
|
|
440
|
+
/>
|
|
438
441
|
) : (
|
|
439
442
|
blockedUsers.map((blocked) => {
|
|
440
443
|
const { userId, displayName, avatar } = extractUserInfo(blocked, 'blockedId');
|
|
@@ -465,9 +468,11 @@ const PrivacySettingsScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) =
|
|
|
465
468
|
{/* Restricted Users */}
|
|
466
469
|
<GroupedSection title={t('privacySettings.sections.restrictedUsers') || 'RESTRICTED USERS'}>
|
|
467
470
|
{isLoadingUsers ? null : restrictedUsers.length === 0 ? (
|
|
468
|
-
<
|
|
469
|
-
|
|
470
|
-
|
|
471
|
+
<OxyEmptyState
|
|
472
|
+
art="security"
|
|
473
|
+
variant="compact"
|
|
474
|
+
title={t('privacySettings.noRestrictedUsers') || 'No restricted users'}
|
|
475
|
+
/>
|
|
471
476
|
) : (
|
|
472
477
|
restrictedUsers.map((restricted) => {
|
|
473
478
|
const { userId, displayName, avatar } = extractUserInfo(restricted, 'restrictedId');
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OxyEmptyState } from '../illustrations/OxyEmptyState';
|
|
1
2
|
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
2
3
|
import { ScrollView, View, StyleSheet } from 'react-native';
|
|
3
4
|
import { skip } from '@oxy.so/bloom-data';
|
|
@@ -259,7 +260,7 @@ function SupervisionBody({
|
|
|
259
260
|
</>
|
|
260
261
|
) : (
|
|
261
262
|
<>
|
|
262
|
-
<
|
|
263
|
+
<OxyEmptyState art="family" variant="compact" title={t('supervision.notActive')} />
|
|
263
264
|
{state.value.children.length === 0 ? (
|
|
264
265
|
<Button onPress={() => setAddingGuardian(!addingGuardian)}>
|
|
265
266
|
{t('supervision.invite')}
|
|
@@ -366,7 +367,9 @@ function SupervisionBody({
|
|
|
366
367
|
</View>
|
|
367
368
|
))
|
|
368
369
|
)}
|
|
369
|
-
{contacts.value?.items.length === 0 ?
|
|
370
|
+
{contacts.value?.items.length === 0 ? (
|
|
371
|
+
<OxyEmptyState art="family" variant="compact" title={t('supervision.noContacts')} />
|
|
372
|
+
) : null}
|
|
370
373
|
{guardianForChild ? (
|
|
371
374
|
<>
|
|
372
375
|
<Button onPress={() => setAddingContact(!addingContact)}>
|
|
@@ -408,7 +411,9 @@ function SupervisionBody({
|
|
|
408
411
|
</Button>
|
|
409
412
|
))
|
|
410
413
|
)}
|
|
411
|
-
{purchases.value?.items.length === 0 ?
|
|
414
|
+
{purchases.value?.items.length === 0 ? (
|
|
415
|
+
<OxyEmptyState art="family" variant="compact" title={t('supervision.noPurchases')} />
|
|
416
|
+
) : null}
|
|
412
417
|
{purchases.value?.nextCursor ? (
|
|
413
418
|
<Button onPress={() => setCursor(purchases.value?.nextCursor ?? undefined)}>
|
|
414
419
|
{t('supervision.more')}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OxyEmptyState } from '../illustrations/OxyEmptyState';
|
|
1
2
|
import { Search } from '@oxy.so/bloom/search';
|
|
2
3
|
import { RiSearchLine } from '@oxy.so/bloom/icons/RiSearchLine';
|
|
3
4
|
import type React from 'react';
|
|
@@ -206,34 +207,27 @@ const UserListScreen: React.FC<UserListScreenProps> = ({ userId, mode, sort, nav
|
|
|
206
207
|
|
|
207
208
|
const renderEmpty = useCallback(() => {
|
|
208
209
|
if (isLoading || (normalizedSearch && (hasMore || isLoadingMore) && !error)) return null;
|
|
209
|
-
if (normalizedSearch)
|
|
210
|
-
return (
|
|
211
|
-
|
|
212
|
-
<Text>{t('userList.noSearchResults')}</Text>
|
|
213
|
-
</View>
|
|
214
|
-
);
|
|
210
|
+
if (normalizedSearch) {
|
|
211
|
+
return <OxyEmptyState art="people" variant="compact" title={t('userList.noSearchResults')} />;
|
|
212
|
+
}
|
|
215
213
|
return (
|
|
216
|
-
<
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
color={bloomTheme.colors.textSecondary}
|
|
221
|
-
/>
|
|
222
|
-
<Text role="heading" aria-level={6} style={themed.text}>
|
|
223
|
-
{mode === 'followers'
|
|
214
|
+
<OxyEmptyState
|
|
215
|
+
art="people"
|
|
216
|
+
title={
|
|
217
|
+
mode === 'followers'
|
|
224
218
|
? t('userList.noFollowers') || 'No followers yet'
|
|
225
|
-
: t('userList.noFollowing') || 'Not following anyone'
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
219
|
+
: t('userList.noFollowing') || 'Not following anyone'
|
|
220
|
+
}
|
|
221
|
+
description={
|
|
222
|
+
mode === 'followers'
|
|
229
223
|
? t('userList.noFollowersDesc') ||
|
|
230
224
|
'When people follow this user, they will appear here.'
|
|
231
225
|
: t('userList.noFollowingDesc') ||
|
|
232
|
-
'When this user follows people, they will appear here.'
|
|
233
|
-
|
|
234
|
-
|
|
226
|
+
'When this user follows people, they will appear here.'
|
|
227
|
+
}
|
|
228
|
+
/>
|
|
235
229
|
);
|
|
236
|
-
}, [
|
|
230
|
+
}, [error, hasMore, isLoading, isLoadingMore, mode, normalizedSearch, t]);
|
|
237
231
|
|
|
238
232
|
const title =
|
|
239
233
|
mode === 'followers'
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
|
|
1
2
|
import { SpinnerIcon } from '@oxy.so/bloom/loading';
|
|
2
3
|
import type React from 'react';
|
|
3
4
|
import { View, ScrollView, RefreshControl, StyleSheet } from 'react-native';
|
|
@@ -74,16 +75,11 @@ const FileListSection: React.FC<FileListSectionProps> = ({
|
|
|
74
75
|
scrollEventThrottle={250}
|
|
75
76
|
>
|
|
76
77
|
{filteredFiles.length === 0 && searchQuery.length > 0 ? (
|
|
77
|
-
<
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<Text style={[styles.text, { color: colors.textSecondary }]}>
|
|
83
|
-
{t('fileManagement.noResults.description', { query: searchQuery })}
|
|
84
|
-
</Text>
|
|
85
|
-
<Button onPress={onClearSearch}>{t('fileManagement.clearSearch')}</Button>
|
|
86
|
-
</View>
|
|
78
|
+
<OxyEmptyState
|
|
79
|
+
title={t('fileManagement.noResults.title')}
|
|
80
|
+
description={t('fileManagement.noResults.description', { query: searchQuery })}
|
|
81
|
+
action={{ label: t('fileManagement.clearSearch'), onPress: onClearSearch }}
|
|
82
|
+
/>
|
|
87
83
|
) : filteredFiles.length === 0 ? (
|
|
88
84
|
renderEmptyState()
|
|
89
85
|
) : (
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
|
|
1
2
|
import { PressableScale } from '@oxy.so/bloom/pressable-scale';
|
|
2
3
|
import { SpinnerIcon } from '@oxy.so/bloom/loading';
|
|
3
4
|
import { Button } from '@oxy.so/bloom/button';
|
|
@@ -530,24 +531,24 @@ const PhotoPickerView: React.FC<PhotoPickerViewProps> = ({
|
|
|
530
531
|
/>
|
|
531
532
|
</View>
|
|
532
533
|
) : isEmpty && !loading ? (
|
|
533
|
-
<
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
534
|
+
<OxyEmptyState
|
|
535
|
+
style={styles.centered2}
|
|
536
|
+
title={t('fileManagement.photoPicker.emptyTitle')}
|
|
537
|
+
description={t('fileManagement.photoPicker.emptySubtitle')}
|
|
538
|
+
footer={
|
|
539
|
+
isOwner && allowUpload ? (
|
|
540
|
+
<Button
|
|
541
|
+
appearance="solid"
|
|
542
|
+
tone="accent"
|
|
543
|
+
onPress={onUpload}
|
|
544
|
+
loading={uploading || isPickingDocument}
|
|
545
|
+
icon={<Ionicons name="cloud-upload" size={18} />}
|
|
546
|
+
>
|
|
547
|
+
{t('fileManagement.uploadPhoto')}
|
|
548
|
+
</Button>
|
|
549
|
+
) : undefined
|
|
550
|
+
}
|
|
551
|
+
/>
|
|
551
552
|
) : (
|
|
552
553
|
<FlatList
|
|
553
554
|
key={`cols-${columns}`}
|
|
@@ -15,6 +15,7 @@ import { useOxy } from '../../context/oxyRuntimeContext';
|
|
|
15
15
|
import { trustTierLabel } from '@oxy.so/core';
|
|
16
16
|
import { trustStanding } from '../../data/trust';
|
|
17
17
|
import { createTokenStyles } from '@oxy.so/bloom/theme';
|
|
18
|
+
import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
|
|
18
19
|
|
|
19
20
|
const TrustCenterScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
|
|
20
21
|
const themed = useThemedStyles();
|
|
@@ -106,43 +107,44 @@ const TrustCenterScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
|
|
|
106
107
|
</GroupedSection>
|
|
107
108
|
|
|
108
109
|
{/* Reputation history */}
|
|
109
|
-
|
|
110
|
-
{
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/>
|
|
117
|
-
) : (
|
|
118
|
-
transactions.map((entry) => (
|
|
119
|
-
<GroupedSectionItem
|
|
120
|
-
key={entry.id}
|
|
121
|
-
icon={
|
|
122
|
-
<SettingsIcon
|
|
123
|
-
name={entry.points > 0 ? 'plus-circle' : 'minus-circle'}
|
|
124
|
-
color={entry.points > 0 ? bloomTheme.colors.success : bloomTheme.colors.error}
|
|
125
|
-
/>
|
|
126
|
-
}
|
|
127
|
-
title={
|
|
128
|
-
entry.reason ||
|
|
129
|
-
entry.actionType ||
|
|
130
|
-
t('trust.center.noDescription') ||
|
|
131
|
-
'No description'
|
|
132
|
-
}
|
|
133
|
-
description={`${entry.category}${
|
|
134
|
-
entry.createdAt ? ` · ${new Date(entry.createdAt).toLocaleString()}` : ''
|
|
135
|
-
}`}
|
|
136
|
-
rightElement={
|
|
137
|
-
<Chip variant="subtle" size="sm" color={entry.points > 0 ? 'success' : 'error'}>
|
|
138
|
-
{`${entry.points > 0 ? '+' : ''}${entry.points}`}
|
|
139
|
-
</Chip>
|
|
140
|
-
}
|
|
141
|
-
showChevron={false}
|
|
110
|
+
{!isLoading && !error ? (
|
|
111
|
+
<GroupedSection title={t('trust.center.history') || 'Reputation History'}>
|
|
112
|
+
{transactions.length === 0 ? (
|
|
113
|
+
<OxyEmptyState
|
|
114
|
+
variant="compact"
|
|
115
|
+
art="security"
|
|
116
|
+
title={t('trust.center.noHistory') || 'No reputation history yet.'}
|
|
142
117
|
/>
|
|
143
|
-
)
|
|
144
|
-
|
|
145
|
-
|
|
118
|
+
) : (
|
|
119
|
+
transactions.map((entry) => (
|
|
120
|
+
<GroupedSectionItem
|
|
121
|
+
key={entry.id}
|
|
122
|
+
icon={
|
|
123
|
+
<SettingsIcon
|
|
124
|
+
name={entry.points > 0 ? 'plus-circle' : 'minus-circle'}
|
|
125
|
+
color={entry.points > 0 ? bloomTheme.colors.success : bloomTheme.colors.error}
|
|
126
|
+
/>
|
|
127
|
+
}
|
|
128
|
+
title={
|
|
129
|
+
entry.reason ||
|
|
130
|
+
entry.actionType ||
|
|
131
|
+
t('trust.center.noDescription') ||
|
|
132
|
+
'No description'
|
|
133
|
+
}
|
|
134
|
+
description={`${entry.category}${
|
|
135
|
+
entry.createdAt ? ` · ${new Date(entry.createdAt).toLocaleString()}` : ''
|
|
136
|
+
}`}
|
|
137
|
+
rightElement={
|
|
138
|
+
<Chip variant="subtle" size="sm" color={entry.points > 0 ? 'success' : 'error'}>
|
|
139
|
+
{`${entry.points > 0 ? '+' : ''}${entry.points}`}
|
|
140
|
+
</Chip>
|
|
141
|
+
}
|
|
142
|
+
showChevron={false}
|
|
143
|
+
/>
|
|
144
|
+
))
|
|
145
|
+
)}
|
|
146
|
+
</GroupedSection>
|
|
147
|
+
) : null}
|
|
146
148
|
|
|
147
149
|
{error ? (
|
|
148
150
|
<Text style={[styles.text2, { color: bloomTheme.colors.error }]}>{error}</Text>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
|
|
1
2
|
import React, { useState, useMemo, useCallback } from 'react';
|
|
2
3
|
import { View } from 'react-native';
|
|
3
4
|
import type { BaseScreenProps } from '../../types/navigation';
|
|
@@ -72,10 +73,14 @@ const TrustFAQScreen: React.FC<BaseScreenProps> = () => {
|
|
|
72
73
|
|
|
73
74
|
<View style={styles.section2}>
|
|
74
75
|
{filteredFaqs.length === 0 ? (
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
<OxyEmptyState
|
|
77
|
+
art="security"
|
|
78
|
+
variant="compact"
|
|
79
|
+
title={
|
|
80
|
+
t('trust.faq.noResults', { query: search }) ||
|
|
81
|
+
`No FAQ items found matching "${search}"`
|
|
82
|
+
}
|
|
83
|
+
/>
|
|
79
84
|
) : (
|
|
80
85
|
<Accordion type="single" value={expanded} onValueChange={handleAccordionChange}>
|
|
81
86
|
{filteredFaqs.map((faq) => (
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
|
|
1
2
|
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
2
3
|
import type React from 'react';
|
|
3
4
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
@@ -141,20 +142,14 @@ const TrustLeaderboardScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
|
|
|
141
142
|
style={styles.section}
|
|
142
143
|
ItemSeparatorComponent={ItemSeparator}
|
|
143
144
|
ListEmptyComponent={
|
|
144
|
-
<
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
</Text>
|
|
153
|
-
<Text style={themed.mutedText3}>
|
|
154
|
-
{t('trust.leaderboard.emptyDesc') ||
|
|
155
|
-
'Top contributors will appear here as the community grows.'}
|
|
156
|
-
</Text>
|
|
157
|
-
</View>
|
|
145
|
+
<OxyEmptyState
|
|
146
|
+
art="people"
|
|
147
|
+
title={t('trust.leaderboard.empty') || 'No leaderboard data'}
|
|
148
|
+
description={
|
|
149
|
+
t('trust.leaderboard.emptyDesc') ||
|
|
150
|
+
'Top contributors will appear here as the community grows.'
|
|
151
|
+
}
|
|
152
|
+
/>
|
|
158
153
|
}
|
|
159
154
|
/>
|
|
160
155
|
</View>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
|
|
1
2
|
import type React from 'react';
|
|
2
3
|
import { useMemo } from 'react';
|
|
3
4
|
import { View } from 'react-native';
|
|
@@ -72,7 +73,11 @@ const TrustRulesScreen: React.FC<BaseScreenProps> = () => {
|
|
|
72
73
|
{isLoading ? null : error ? (
|
|
73
74
|
<Text style={styles.mutedText}>{error}</Text>
|
|
74
75
|
) : rules.length === 0 ? (
|
|
75
|
-
<
|
|
76
|
+
<OxyEmptyState
|
|
77
|
+
art="security"
|
|
78
|
+
variant="compact"
|
|
79
|
+
title={t('trust.rules.empty') || 'No rules found.'}
|
|
80
|
+
/>
|
|
76
81
|
) : (
|
|
77
82
|
<View style={styles.section}>
|
|
78
83
|
{groupedRules.map(({ category, items }) => (
|