Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve mentioned user as user rather than link #2289

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

khushal87
Copy link
Member

@khushal87 khushal87 commented Nov 6, 2023

🎯 Goal

Fixes #2285

The code structure is also improved with this PR.

🛠 Implementation details

The regex is changed so that email type user names are removed when parsing links and then modifying the text accordingly.

🎨 UI Changes

Before:
simulator_screenshot_538674B8-5F54-4F93-A85B-6159B40C5B7D

After:
simulator_screenshot_921EB24F-C087-4B3D-B471-D3597DF13FFD

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@khushal87 khushal87 requested a review from santhoshvai November 6, 2023 17:18
@santhoshvai santhoshvai merged commit ff07769 into develop Nov 8, 2023
6 of 7 checks passed
@santhoshvai santhoshvai deleted the mentioned-users-username branch November 8, 2023 09:35
@github-actions github-actions bot mentioned this pull request Nov 9, 2023
6 tasks
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 5.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🐛] Bug Report - When username is an email address, it gets resolved as a link instead of a mention
3 participants