Skip to content

[PB-7051]: feat/manage photo backup devices - #2317

Open
xabg2 wants to merge 3 commits into
feat/PB-7050-photos-move-to-trashfrom
feat/PB-7051-photos-manage-devices
Open

xabg2 wants to merge 3 commits into
feat/PB-7050-photos-move-to-trashfrom
feat/PB-7051-photos-manage-devices

Conversation

@xabg2

@xabg2 xabg2 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Description

The device filter in Photos now ends with "Manage devices", which opens the list of devices that back up their photos. Each device can be deleted from there. Before anything is deleted, a confirmation warns that every photo and video backed up from that device will be deleted permanently.

Once a device is deleted, it leaves the list, its photos leave the gallery and the device filter goes back to "All devices". If the device had already been deleted elsewhere, it is removed from the list as well, with a message saying so. If the deletion fails, the device and its photos stay, and an error is shown.

The device filter is now shown as soon as there is one device (before, it only appeared with two or more), so users with a single phone can also manage it.

Related Issues

Jira: PB-7051 (parent PB-6876)

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

  • Unit tests cover the filter with a single device, opening the list, the confirmation and cancelling it, deleting a device (its photos leave the gallery and the filter goes back to all devices), a device that no longer exists, a failed deletion, the confirmation not closing while the deletion is in progress, and deleting the last device.
  • Checked locally in the browser: "Manage devices" in the filter with one device, the list, the confirmation and cancelling it. Deleting a real device is still to be checked.

Additional Notes

The page is still not linked from the sidebar. The device name is shown as the mobile app saves it, model plus device identifier.

@xabg2 xabg2 added the enhancement New feature or request label Nov 10, 2026
@xabg2 xabg2 self-assigned this Nov 10, 2026
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1192f9b9-02c7-4a46-8e26-34e014e2586a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: a113ccb
Status: ✅  Deploy successful!
Preview URL: https://11f7fd50.drive-web.pages.dev
Branch Preview URL: https://feat-pb-7051-photos-manage-d.drive-web.pages.dev

View logs

@xabg2
xabg2 marked this pull request as ready for review November 12, 2026 08:05
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant