Skip to content
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

Show user what options they have voted #11195

Merged
merged 4 commits into from
Sep 22, 2019

Conversation

ClearlyClaire
Copy link
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

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
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