-
Notifications
You must be signed in to change notification settings - Fork 503
feat(poll): improve poll card and dialog UI #16137
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
base: main
Are you sure you want to change the base?
Conversation
Antreesy
left a comment
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.
Maybe we'll be more in line with design changes, if we adapt the deck cards layout (chips below title)?

Regarding inline actions: I think only owner + moderators have them, and from all of them only 'Close poll' I would consider moving out. Though it could have been a decision to prevent misclicking
src/components/MessagesList/MessagesGroup/Message/MessagePart/PollCard.vue
Show resolved
Hide resolved
I still rather choose to be different so it is easier to distinguish or to visually remember it ? |
src/components/MessagesList/MessagesGroup/Message/MessagePart/PollCard.vue
Outdated
Show resolved
Hide resolved
src/components/MessagesList/MessagesGroup/Message/MessagePart/PollCard.vue
Outdated
Show resolved
Hide resolved
src/components/MessagesList/MessagesGroup/Message/MessagePart/PollCard.vue
Outdated
Show resolved
Hide resolved
src/components/MessagesList/MessagesGroup/Message/MessagePart/PollCard.vue
Show resolved
Hide resolved
src/components/MessagesList/MessagesGroup/Message/MessagePart/PollCard.vue
Outdated
Show resolved
Hide resolved
2f7924b to
966f993
Compare
Signed-off-by: Dorra Jaouad <[email protected]>
966f993 to
3aebb75
Compare
Antreesy
left a comment
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.
Otherwise ok
src/components/MessagesList/MessagesGroup/Message/MessagePart/PollCard.vue
Show resolved
Hide resolved
src/components/MessagesList/MessagesGroup/Message/MessagePart/PollCard.vue
Show resolved
Hide resolved
src/components/MessagesList/MessagesGroup/Message/MessagePart/PollCard.vue
Show resolved
Hide resolved
| || (this.poll && this.actorStore.checkIfSelfIsActor(this.poll)) | ||
| }, | ||
| pollSummaryText() { |
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.
Maybe don't change these strings? They feel more confusing to me
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.
what do you mean confusing?

☑️ Resolves
Improvement for upstream lib regarding NcChip: nextcloud-libraries/nextcloud-vue#7652
variantprop values to showcase success, warningm error state like we have for other components🖌️ UI Checklist
🖼️ Screenshots / Screencasts
A problem: due to the fact that we don't have a trigger to update poll data (someone voted) when poll is anonymous, moderators are not able to see the number of voters until they reload.
🏁 Checklist