not-nullptr / Aerochat

Native rewrite of Aerochat, a WLM 09 themed Discord client
Mozilla Public License 2.0
112 stars 5 forks source link

Added a truncated message w/ author for messages that are a reply #8

Closed nullgato closed 1 week ago

nullgato commented 1 week ago

Adds a new Grid to the StackPanel that the TextBlock that Message is bound to belongs in.

Adds an event called JumpToReply which essentially finds the ModelView belonging to the replied-to message within MessagesListItemsControl and scrolls directly to it by using FrameworkElement.BringIntoView()

Adds two properties to MessageViewModel in Message.cs named IsReply and ReplyMessage. IsReply is used to conditionally set ReplyMessage based on whether the message actually is a reply, but also whether that message should be replied to as well. The signature for MessageViewModel.FromMessage has been changed to append the variable isReply to the end that is used to avoid a recursion-based error.

not-nullptr commented 1 week ago

looks good i reckon

not-nullptr commented 1 week ago

oh my god literally "lgtm" but british sorry