Skip to content

Show user what options they have voted#11195

Merged
Gargron merged 4 commits intomastodon:masterfrom
ClearlyClaire:features/show-own-votes
Sep 22, 2019
Merged

Show user what options they have voted#11195
Gargron merged 4 commits intomastodon:masterfrom
ClearlyClaire:features/show-own-votes

Conversation

@ClearlyClaire
Copy link
Copy Markdown
Contributor

@ClearlyClaire ClearlyClaire commented Jun 27, 2019

I'm not sure about the API (it could make sense to have the property in the options itself) nor the interface design (I'm a bit worried about the extra spacing, especially when the user hasn't voted).

image

@Cassolotl
Copy link
Copy Markdown

This fixes #10679. :) Thanks ThibG!

@ClearlyClaire ClearlyClaire force-pushed the features/show-own-votes branch from 7924d74 to 28cf2c4 Compare September 22, 2019 09:47
@ClearlyClaire ClearlyClaire force-pushed the features/show-own-votes branch from 2017338 to c8f1956 Compare September 22, 2019 10:06
@ClearlyClaire ClearlyClaire force-pushed the features/show-own-votes branch from bfcfa4d to 73f2636 Compare September 22, 2019 10:25
@ClearlyClaire
Copy link
Copy Markdown
Contributor Author

Updated to match the latest changes in the poll component design, and made it work for public pages as well.

@Gargron Gargron merged commit b359974 into mastodon:master Sep 22, 2019
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
* Add own_votes field to poll results in REST API

Fixes mastodon#10679

* Display user votes in WebUI

* Update styling

* Add vote checkmark to public pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants