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

Show typing suggestions for text with whitespace #781

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

laevandus
Copy link
Contributor

@laevandus laevandus commented Mar 11, 2025

🔗 Issue Link

IOS-700

🎯 Goal

Show typing suggestions for full name

🛠 Implementation

Typing suggestions were explicitly ignoring any whitespace while UIKit SDK does allow it. Otherwise the logic is the same.

🧪 Testing

  1. Open a channel with many participants
  2. Try to mention them using full name (with whitespace)

🎨 Changes

Before After
img img

☑️ Checklist

  • I have signed the Stream CLA (required)
  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Affected documentation updated (docusaurus, tutorial, CMS (task created)

@laevandus laevandus force-pushed the fix/typing-suggestions-with-names branch from 22df874 to 4150395 Compare March 11, 2025 14:19
Comment on lines -123 to -125
guard !suggestionText.contains(" ") else {
return nil
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can't figure out why this was added here. Otherwise the implementation is same as in the UIKit.

@Stream-SDK-Bot
Copy link
Collaborator

Stream-SDK-Bot commented Mar 11, 2025

SDK Size

title develop branch diff status
StreamChatSwiftUI 8.18 MB 8.18 MB 0 KB 🟢

Copy link
Member

@nuno-vieira nuno-vieira left a comment

Choose a reason for hiding this comment

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

LGTM! ✅

@laevandus laevandus enabled auto-merge (squash) March 12, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants