Skip to content

Conversation

@terrerox
Copy link
Contributor

@terrerox terrerox commented Dec 24, 2025

Description

  • Add goToFolderRoot prop to DeleteBackupDialog
  • Navigate to root when deleting device-level backup
  • Add loading state during deletion operation
  • Fix device-level detection logic

Related Issues

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

Additional Notes

  - Add goToFolderRoot prop to DeleteBackupDialog
  - Navigate to root when deleting device-level backup
  - Add loading state during deletion operation
  - Fix device-level detection logic
@terrerox terrerox self-assigned this Dec 24, 2025
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 24, 2025

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: c41f22e
Status: ✅  Deploy successful!
Preview URL: https://129df981.drive-web.pages.dev
Branch Preview URL: https://fix-delete-backup-device.drive-web.pages.dev

View logs

interface DeleteBackupDialogProps {
backupsAsFoldersPath: DriveFolderData[];
goToFolder: (folderId: number) => void;
goToFolderRoot: () => void;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I find goToFolderRoot a bit confusing at first glance. goToRootFolder makes the intent clearer

@terrerox terrerox requested a review from CandelR December 26, 2025 02:28
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants