Skip to content

chore: Update for download of v2 transfers#596

Closed
LouisCAD wants to merge 1 commit intoupload-v2from
download-v2
Closed

chore: Update for download of v2 transfers#596
LouisCAD wants to merge 1 commit intoupload-v2from
download-v2

Conversation

@LouisCAD
Copy link
Contributor

@LouisCAD LouisCAD commented Mar 5, 2026

@LouisCAD LouisCAD requested a review from sirambd March 5, 2026 08:22
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 5, 2026

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the transfer download/preview flow to support v2 transfers by passing richer transfer context (a TransferUi) into helpers and URL generation, instead of relying solely on transfer.uuid.

Changes:

  • Update downloadManagerId + related call sites to take a TransferUi rather than a transferUuid string.
  • Update single-file download URL creation to use SharedApiUrlCreator.downloadFileUrl(transfer, fileUid).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/TransferManagerExt.kt Switch preview download ID lookup to use TransferUi when resolving download IDs.
app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/TransferDownload.kt Propagate TransferUi through download-id storage/lookup and use transfer-aware file download URL building.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@LouisCAD LouisCAD closed this Mar 5, 2026
@LouisCAD LouisCAD deleted the download-v2 branch March 5, 2026 14:11
@LouisCAD
Copy link
Contributor Author

LouisCAD commented Mar 5, 2026

Superseded by cherry-picked commit in #595

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants