-
Notifications
You must be signed in to change notification settings - Fork 385
Update separator #2914
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
Open
renefloor
wants to merge
1
commit into
master
Choose a base branch
from
fix/annotation-wrapping
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+9
−3
Open
Update separator #2914
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: GetStream/stream-chat-flutter
Length of output: 50388
🏁 Script executed:
Repository: GetStream/stream-chat-flutter
Length of output: 20578
🏁 Script executed:
Repository: GetStream/stream-chat-flutter
Length of output: 14819
🏁 Script executed:
Repository: GetStream/stream-chat-flutter
Length of output: 18630
🏁 Script executed:
Repository: GetStream/stream-chat-flutter
Length of output: 27385
🌐 Web query:
GetStream stream-chat-flutter StreamMessageAnnotation separator stream_chat_flutter_core wrapping trailing action💡 Result:
In the GetStream Flutter SDK, StreamMessageAnnotation is a component used to display contextual information above a message bubble, such as pinned message status or reminders [1]. It is part of the default message item layout and is rendered via the StreamMessageHeader slot [1]. Regarding your query about wrapping or adding trailing actions: 1. StreamMessageAnnotation specifically handles contextual markers (pinned, etc.) in the header [1]. It is not the standard location for message actions (like reply, edit, or delete). 2. Message actions are typically handled via the message long-press overlay [2]. You can customize these actions by providing a custom message builder in StreamMessageListView, using the props.actionsBuilder or the customActions parameter of the StreamMessageWidget [3][2]. 3. If you intend to wrap or modify how content is displayed in the message area, the SDK uses a factory pattern. You can replace the entire message item or specific components (like the header, leading avatar, or footer) by providing custom builders in the StreamMessageListView [1]. There is no native concept of a trailing action wrapper specifically for the StreamMessageAnnotation component itself. If you need to add custom trailing elements next to annotations, you would typically need to implement a custom StreamMessageHeader widget and inject it into the StreamMessageItem via the messageHeader factory slot [1].
Citations:
🏁 Script executed:
Repository: GetStream/stream-chat-flutter
Length of output: 7740
🏁 Script executed:
Repository: GetStream/stream-chat-flutter
Length of output: 32031
Update the pinned
stream_core_flutterdependency or removeseparator. Commit4b7ed86a52c3109fad0a6f5118120082e378c610defines neitherStreamMessageAnnotation.separatornor aseparatorconstructor parameter, so both sites fail to compile. Its implementation also does not wrap the trailing widget below the label.🤖 Prompt for AI Agents