Skip to content

Migrate from deprecated ClickableText to Text with LinkAnnotation#108

Merged
JesseScott merged 3 commits into
mainfrom
fix-clickable-text-deprecation-17814133917028710598
Apr 27, 2026
Merged

Migrate from deprecated ClickableText to Text with LinkAnnotation#108
JesseScott merged 3 commits into
mainfrom
fix-clickable-text-deprecation-17814133917028710598

Conversation

@JesseScott

Copy link
Copy Markdown
Owner

This PR resolves the ClickableText deprecation warning in HyperlinkText.kt by migrating to the modern Text + LinkAnnotation API introduced in Compose 1.7.0. It also includes necessary build configuration updates to support building with JDK 21.

Fixes #104


PR created automatically by Jules for task 17814133917028710598 started by @JesseScott

- Replaced deprecated ClickableText with Text in HyperlinkText.kt.
- Migrated to using LinkAnnotation.Url and addLink for hyperlink styling and interaction.
- Updated gradle.properties with --add-opens flags to resolve Kapt/JDK 21 compatibility issues.

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

Copy link
Copy Markdown
Contributor

👋 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.

@JesseScott JesseScott self-assigned this Apr 26, 2026
@JesseScott JesseScott merged commit fd5c5ff into main Apr 27, 2026
1 check passed
@JesseScott JesseScott deleted the fix-clickable-text-deprecation-17814133917028710598 branch April 27, 2026 04:13
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.

Clickable text warning

1 participant