Conversation
There was a problem hiding this comment.
Pull request overview
Adds support for displaying (and entering) a transfer title when available (notably for API v2 users), while keeping the created-date fallback for older transfers.
Changes:
- Add a new localized string for the transfer title field label.
- Expose an
isApiV2Flowand show a transfer title input only for API v2 users; make sender email read-only for API v2. - Display
transfer.title(fallback to created date) in transfer list items and the transfer details top app bar.
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| app/src/main/res/values/strings.xml | Adds default string for the transfer title field label. |
| app/src/main/res/values-sv/strings.xml | Adds Swedish translation for the transfer title field label. |
| app/src/main/res/values-pt/strings.xml | Adds Portuguese translation for the transfer title field label. |
| app/src/main/res/values-pl/strings.xml | Adds Polish translation for the transfer title field label. |
| app/src/main/res/values-nl/strings.xml | Adds Dutch translation for the transfer title field label. |
| app/src/main/res/values-nb/strings.xml | Adds Norwegian Bokmål translation for the transfer title field label. |
| app/src/main/res/values-it/strings.xml | Adds Italian translation for the transfer title field label. |
| app/src/main/res/values-fr/strings.xml | Adds French translation for the transfer title field label. |
| app/src/main/res/values-fi/strings.xml | Adds Finnish translation for the transfer title field label. |
| app/src/main/res/values-es/strings.xml | Adds Spanish translation for the transfer title field label. |
| app/src/main/res/values-el/strings.xml | Adds Greek translation for the transfer title field label. |
| app/src/main/res/values-de/strings.xml | Adds German translation for the transfer title field label. |
| app/src/main/res/values-da/strings.xml | Adds Danish translation for the transfer title field label. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/pickfiles/PickFilesViewModel.kt | Injects AccountUtils, derives isApiV2Flow, and updates author email from the current user. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/pickfiles/PickFilesScreen.kt | Adds UI for title input (API v2 only) and makes sender email read-only for API v2. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/TransferDetailsScreen.kt | Uses transfer title (fallback to created date) in the top app bar. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/previewparameter/GroupedTransfersPreviewParameterProvider.kt | Updates preview data to include a title field. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/components/transfer/TransferItem.kt | Shows transfer title (fallback to created date) in list items. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...rc/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/pickfiles/PickFilesScreen.kt
Show resolved
Hide resolved
tevincent
requested changes
Mar 6, 2026
...main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/pickfiles/PickFilesViewModel.kt
Show resolved
Hide resolved
LunarX
requested changes
Mar 6, 2026
...com/infomaniak/swisstransfer/ui/previewparameter/GroupedTransfersPreviewParameterProvider.kt
Outdated
Show resolved
Hide resolved
...rc/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/pickfiles/PickFilesScreen.kt
Outdated
Show resolved
Hide resolved
…ewparameter/GroupedTransfersPreviewParameterProvider.kt Co-authored-by: Gibran Chevalley <32095402+LunarX@users.noreply.github.com>
|
LunarX
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.