feat: Add BottomSheet for screencapture on QR code success screen#624
feat: Add BottomSheet for screencapture on QR code success screen#624aymericmariaux wants to merge 11 commits intomainfrom
Conversation
PR Reviewer Guide 🔍(Review updated until commit 19f7765)Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Pull request overview
Adds a “quick sharing” bottom sheet that appears when a user captures the screen on the upload success QR screen, nudging them toward Share/Copy actions instead of screenshots.
Changes:
- Detect screen capture on the QR success screen and display a new
ScreenshotBottomSheet. - Extend
SwissTransferBottomSheet/TextUtilsto support an annotated (bolded) description with up to two highlighted arguments. - Add new localized strings and a new light/dark illustration for the bottom sheet.
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| app/src/main/res/values/strings.xml | Adds new bottom-sheet title/description/button strings (EN). |
| app/src/main/res/values-sv/strings.xml | Adds Swedish translations for the new bottom-sheet strings. |
| app/src/main/res/values-pt/strings.xml | Adds Portuguese translations for the new bottom-sheet strings. |
| app/src/main/res/values-pl/strings.xml | Adds Polish translations for the new bottom-sheet strings. |
| app/src/main/res/values-nl/strings.xml | Adds Dutch translations for the new bottom-sheet strings. |
| app/src/main/res/values-nb/strings.xml | Adds Norwegian Bokmål translations for the new bottom-sheet strings. |
| app/src/main/res/values-it/strings.xml | Adds Italian translations for the new bottom-sheet strings. |
| app/src/main/res/values-fr/strings.xml | Adds French translations for the new bottom-sheet strings. |
| app/src/main/res/values-fi/strings.xml | Adds Finnish translations for the new bottom-sheet strings. |
| app/src/main/res/values-es/strings.xml | Adds Spanish translations for the new bottom-sheet strings. |
| app/src/main/res/values-el/strings.xml | Adds Greek translations for the new bottom-sheet strings. |
| app/src/main/res/values-de/strings.xml | Adds German translations for the new bottom-sheet strings. |
| app/src/main/res/values-da/strings.xml | Adds Danish translations for the new bottom-sheet strings. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/utils/TextUtils.kt | Updates bold-assembly helper to support two arguments (annotated text). |
| app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/components/ScreenshotBottomSheet.kt | Introduces the new bottom sheet UI and share action. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/UploadSuccessQrScreen.kt | Registers screen-capture callback and triggers the bottom sheet. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/screenshotBottomSheet/LightbulbLight.kt | Adds light-mode vector for the bottom sheet illustration. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/screenshotBottomSheet/LightbulbDark.kt | Adds dark-mode vector for the bottom sheet illustration. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/screenshotBottomSheet/Lightbulb.kt | Adds themed wrapper selecting light/dark vectors. |
| app/src/main/java/com/infomaniak/swisstransfer/ui/components/SwissTransferBottomSheet.kt | Adds annotatedDescription rendering to the shared bottom sheet component. |
| app/src/main/AndroidManifest.xml | Declares the screen-capture detection permission. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
a9863fd to
a3a5dff
Compare
|
Persistent review updated to latest commit a3a5dff |
|
Persistent review updated to latest commit 19f41f4 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Persistent review updated to latest commit 19f7765 |
|
Failed to generate code suggestions for PR |
…iptions and remove positional arguments
19f7765 to
56902c2
Compare
|
Failed to generate code suggestions for PR |
|



Added a bottom sheet when capturing the QR code after a successful link transfer