-
-
Notifications
You must be signed in to change notification settings - Fork 827
Display started polls in timeline (without votes) (behind labs setting) #7088
Display started polls in timeline (without votes) (behind labs setting) #7088
Conversation
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.
Looks good to me, even though you obviously chose the wrong answer in that poll... 🇫🇷
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.
- The hover state should show background colour for option frames
- The poll creator name and avatar should be the same size and layout, colour as a normal text message.
- Also it seems to take a long time for the poll to be rendered on the timeline when I press Create poll from the modal. Unsure what can be done on this one.
I tried it just now and it was instant, so I think the delay you saw was probably not related to the work we are doing here. |
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.
@gaelledel do you mean the circular border of the radio buttons? Should that be quinary? In #7087 I made it quaternary - was that incorrect? |
No I meant the rectangular border of options on the timeline |
Cool, yes these are quinary. Thank you! |
It doesn't work yet, but this shows polls in the timeline, and allows you to click options to see how they look.
Posting this PR in the hope of getting early feedback on the visual design and code structure.
This change is marked as an internal change (Task), so will not be included in the changelog.
Preview: https://618bac011943fa006f02f0e2--matrix-react-sdk.netlify.app
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.