feat: implement gallery import file picker#4
Conversation
Implemented the file picker intent for the 'Import' button in GalleryActivity using ActivityResultContracts.GetContent(). It now displays a Toast message with the URI of the selected file. Co-authored-by: artistso <290508482+artistso@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Fix root `build.gradle.kts` compilation issue due to incorrect clean task type specification. - Generate and commit `web/package-lock.json` and remove it from `.gitignore` so that GitHub Actions CI step `actions/setup-node` can correctly cache npm dependencies. Co-authored-by: artistso <290508482+artistso@users.noreply.github.com>
- Fix root `build.gradle.kts` compilation issue due to incorrect clean task type specification. - Generate and commit `web/package-lock.json` and remove it from `.gitignore` so that GitHub Actions CI step `actions/setup-node` can correctly cache npm dependencies. - Added Gallery import file picker logic to `GalleryActivity.kt` using `ActivityResultContracts`. Co-authored-by: artistso <290508482+artistso@users.noreply.github.com>
Implemented the click listener for the 'Import' button in GalleryActivity. It registers an
ActivityResultLauncherto open a file picker and handles the returned file URI by displaying it in a Toast message.PR created automatically by Jules for task 5897270839576410636 started by @artistso