Skip to content

Make URLs in chat messages tappable - #64

Closed
MrSurly wants to merge 1 commit into
tmacinc:devfrom
MrSurly:issue-52-tappable-urls
Closed

Make URLs in chat messages tappable#64
MrSurly wants to merge 1 commit into
tmacinc:devfrom
MrSurly:issue-52-tappable-urls

Conversation

@MrSurly

@MrSurly MrSurly commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Closes Make URLs in chat messages tappable #52
  • Extends the existing #hashtag/@mention token parser in ChatMessageText to also detect http(s):// and www. URLs, trimming trailing sentence punctuation (period, comma, etc.) from the tappable span.
  • Tapping a URL opens it in the device's default external browser via url_launcher.
  • Adds the couldNotOpenLink string (en/de) shown if launching fails.
  • Adds the Android 11+ package-visibility query required by url_launcher for https links.

Extends the existing #hashtag/@mention token parser in
ChatMessageText to detect http(s):// and www. URLs, trimming
trailing sentence punctuation from the tappable span. Tapping
opens the link via url_launcher in the external browser.
@MrSurly

MrSurly commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #73, which merges this branch in alongside the other rolled-up issues.

@MrSurly MrSurly closed this Jul 19, 2026
MrSurly added a commit to MrSurly/MeshCore-TEAM that referenced this pull request Jul 19, 2026
PR tmacinc#68 and tmacinc#64 each added this key independently; git's merge kept
both non-conflicting insertions, which silently dropped the key from
codegen entirely. Removed the duplicate and regenerated.
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.

Make URLs in chat messages tappable

1 participant