Skip to content

Commit 67765ff

Browse files
committed
poll [nfc]: Add a TODO for pending poll votes visual indicator
This would also apply to emoji reaction pills. This would be an UX improvement to let the user know that the data is going to be updated. See also: #939 (review) Signed-off-by: Zixuan James Li <[email protected]>
1 parent 968c439 commit 67765ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/widgets/poll.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class _PollWidgetState extends State<PollWidget> {
5858
: PollVoteOp.add;
5959
unawaited(sendSubmessage(store.connection, messageId: widget.messageId,
6060
content: PollVoteEventSubmessage(key: option.key, op: op)));
61+
// TODO: Implement a visual indicator while waiting for the corresponding
62+
// event that updates the poll.
6163
}
6264

6365
@override

0 commit comments

Comments
 (0)