-
Notifications
You must be signed in to change notification settings - Fork 398
feat: Add Google Drive backup sunsetting alert and refactor cloud backup home page #6710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: x
Are you sure you want to change the base?
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
* Introduced a new switch for displaying a cloud backup sunsetting alert in the DevSettingsSection. * Updated the IDevSettings interface to include the new setting. * Default value for the new setting is set to false.
…Section * Changed the subtitle for the cloud backup sunsetting alert toggle from "展示云备份即将下线的提醒" to "Android & iOS".
…sSection * Removed the onChange handler and value binding from the cloud backup sunsetting alert switch, streamlining the component's implementation.
* Added a check for the cloud backup sunsetting alert setting in DevSettings to conditionally execute cloud backup operations. * Updated the backupNow method to skip cloud uploads if the alert is enabled, ensuring compliance with user preferences.
* Updated RCT-Folly dependency version in Podfile.lock. * Changed code signing style to Automatic and updated the development team ID in the Xcode project. * Removed unused provisioning profile specifiers from the project settings. * Cleaned up unused imports and code in the useBackupToggleDialog component.
No dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No dependency changes detected in pull request |
* Implemented a new button to trigger the backup process immediately. * Integrated error handling with a toast notification for backup failures. * Cleaned up unused imports in the useBackupToggleDialog component.
…leDialog * Cleaned up the useBackupToggleDialog component by removing unused error handling code related to the backup process.
* Replaced the existing Home component with a new structure that conditionally renders either NewCloudBackupHome or OldCloudBackupHome based on the cloud backup sunsetting alert setting. * Introduced new files for NewCloudBackupHome and OldCloudBackupHome, encapsulating their respective functionalities. * Updated imports and removed unused code to streamline the component's implementation.
* Removed hardcoded false value for usePrimeSandboxPayment and set it to platformEnv.isDev for better environment handling. * Cleaned up unnecessary whitespace in the devSettings atom.
Uh oh!
There was an error while loading. Please reload this page.