File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -706,17 +706,15 @@ class UserMentionNode extends InlineContainerNode {
706
706
const UserMentionNode ({
707
707
super .debugHtmlNode,
708
708
required super .nodes,
709
- // required this.mentionType,
710
- // required this.isSilent,
711
709
});
712
710
713
- // We don't currently seem to need this information in code. Instead ,
711
+ // For the legacy design, we don't need this information in code; instead ,
714
712
// the inner text already shows how to communicate it to the user
715
713
// (e.g., silent mentions' text lacks a leading "@"),
716
714
// and we show that text in the same style for all types of @-mention.
717
- // If we need this information in the future, go ahead and add it here .
718
- // final UserMentionType mentionType;
719
- // final bool isSilent;
715
+ // We'll need these for implementing the post-2023 Zulip design, though .
716
+ // final UserMentionType mentionType; // TODO(#646)
717
+ // final bool isSilent; // TODO(#647)
720
718
}
721
719
722
720
sealed class EmojiNode extends InlineContentNode {
You can’t perform that action at this time.
0 commit comments