Skip to content

Shorten share message for app details#3780

Merged
beastoin merged 1 commit into
mainfrom
kodjima33-patch-4
Dec 16, 2025
Merged

Shorten share message for app details#3780
beastoin merged 1 commit into
mainfrom
kodjima33-patch-4

Conversation

@kodjima33
Copy link
Copy Markdown
Collaborator

it's cleaner

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request aims to shorten the share message for app details. While the intention to create a cleaner share message is good, the current implementation removes crucial context like the app's name, author, and description. This can lead to a poor user experience on platforms that don't support link previews, where a recipient would only see a raw URL. I've added a comment suggesting we restore the contextual information to ensure the shared message is always informative for the recipient.

if (app.isNotPersona()) {
Share.share(
'Check out this app on Omi AI: ${app.name} by ${app.author} \n\n${app.description.decodeString}\n\n\nhttps://h.omi.me/apps/${app.id}',
'https://h.omi.me/apps/${app.id}',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Shortening the share message to only the URL can result in a poor user experience for the recipient. Many platforms or apps (like SMS) do not generate link previews, so the recipient would only see a raw URL without any context about what is being shared. The previous message provided important context like the app name, author, and description. It's recommended to restore this context to ensure the shared message is always informative.

Suggested change
'https://h.omi.me/apps/${app.id}',
'Check out this app on Omi AI: ${app.name} by ${app.author} \n\n${app.description.decodeString}\n\n\nhttps://h.omi.me/apps/${app.id}',

@beastoin beastoin merged commit 3cd8cb8 into main Dec 16, 2025
1 check passed
@beastoin beastoin deleted the kodjima33-patch-4 branch December 16, 2025 02:48
@beastoin
Copy link
Copy Markdown
Collaborator

lgtm @kodjima33

btw next time with ui changes, feel free to merge after thoroughly testing. you just need to create a pr like this so we can track.

Glucksberg pushed a commit to Glucksberg/omi-local that referenced this pull request Apr 28, 2026
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.

3 participants