Skip to content

🎨 Palette: UX button feedback and build system upgrade#8

Draft
juankyc wants to merge 1 commit into
mainfrom
palette/ux-button-feedback-and-gradle-upgrade-1933713766035741438
Draft

🎨 Palette: UX button feedback and build system upgrade#8
juankyc wants to merge 1 commit into
mainfrom
palette/ux-button-feedback-and-gradle-upgrade-1933713766035741438

Conversation

@juankyc

@juankyc juankyc commented Jul 7, 2026

Copy link
Copy Markdown
Owner

This PR implements a micro-UX improvement in the sample app by providing persistent visual feedback when a native library is successfully loaded. It also includes necessary build system upgrades to ensure compatibility with the Java 21 environment.

💡 What:

  • Upgraded Gradle (7.5 -> 8.5) and Android Gradle Plugin (7.4.2 -> 8.2.2).
  • Updated 'unitTestLoad' button to disable and change text after loading libhookee2.so.
  • Externalized strings for the loading button.

🎯 Why:

  • The build system upgrade is required to compile the project using Java 21.
  • The UX change prevents redundant library loads and clearly communicates the application state to the user.

Accessibility:

  • Used standard Button state management which is natively handled by screen readers.
  • Externalized strings for better localization support.

PR created automatically by Jules for task 1933713766035741438 started by @juankyc

… Java 21

- Upgraded Gradle to 8.5 and AGP to 8.2.2 to support Java 21 environment.
- Updated root build.gradle to use Java 1.8 compatibility and fixed deprecated 'buildDir' usage.
- Removed deprecated 'android.disableAutomaticComponentCreation' from gradle.properties.
- Implemented micro-UX improvement: The "load libhookee2.so" button now disables and updates its text to "libhookee2.so loaded" upon success, providing clear state feedback and preventing redundant loads.
- Extracted associated strings to resources.

Co-authored-by: juankyc <150547187+juankyc@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant