Skip to content

[PB-7050]: feat/select photos and download them - #2315

Open
xabg2 wants to merge 5 commits into
feat/PB-7049-photos-open-in-viewerfrom
feat/PB-7050-photos-select-download
Open

xabg2 wants to merge 5 commits into
feat/PB-7049-photos-open-in-viewerfrom
feat/PB-7050-photos-select-download

Conversation

@xabg2

@xabg2 xabg2 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Description

Photos can now be selected to download several at once. Each photo shows a checkbox when the pointer is over it, and each day title has one to select or unselect the whole day, including the photos of that day that are not on screen yet. Once something is selected, clicking a photo adds it to the selection or removes it instead of opening the viewer.

While photos are selected, the Photos header shows how many are selected and a Download action instead of the title and filters. Pressing Esc or the close button clears the selection.

Downloading several photos produces a single ZIP, in the same order as the gallery. The video of a Live Photo and every photo of a burst are downloaded with them.

Related Issues

Jira: PB-7050 (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 selecting photos one by one and by day (also partly selected days), the header showing the count, clicking a photo while selecting, unselecting, clearing with Esc right after ticking a checkbox and with the close button, downloading in gallery order as one ZIP, Live Photos with their video, and a day with hundreds of photos.
  • Checked locally in the browser: checkboxes on hover, the partly selected day, the selected border, the header with the count and Download, Esc and the close button.

Additional Notes

The page is still not linked from the sidebar. Moving selected photos to the trash comes in the next PR, as another action in the same header.

@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: 4121f324-2c8f-4e6a-924e-04ad9c1b0121

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: 0d23174
Status:⚡️  Build in progress...

View logs

@xabg2
xabg2 marked this pull request as ready for review November 11, 2026 18:06
@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