-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Allow voting for multiple options without change perm #78
Allow voting for multiple options without change perm #78
Conversation
Hello @dsevillamartin :) Looks like a great job, as usual ! However, I have several questions:
The height will be adjustable ?
Thank you in advance :) |
@Wlork I think a video will answer most of these questions. For the last, the button only appears if it's multiple choice & the user cannot change their vote. This functionality isn't necessary if the user can only select one vote or if they can change votes at any point. Only.Poll.-.Flarum.New.mp4 |
@dsevillamartin Thank for video :)
Yes, I confirm, I prefer to have all options directly rather than scrolling.... Perhaps, if possible, an option in Admin to show a part of options or all of options ?
OK 👍 If there is only one choice, there will be the alert at the bottom "You cannot change your vote after voting" ? I can't see on your screenshot ? |
@Wlork Not sure what you mean by have all the options directly? You have to scroll without this PR, and you still do with it. You're just given the info on the poll in advance without needing to reach the bottom first.
If users can only vote for one choice, it will still say that they cannot change their vote. |
Yes. It may sound crazy, but I prefer scroll down the page and see all options than scroll down a poll 😄
👍 |
I'm not sure what you mean by this. I don't understand where you want the poll options to appear? |
@Wlork Oh, if you think the poll is now in its own scrollable container - it's not. You still scroll the page to view more options, it's just that the bottom is now affixed to the bottom of the screen until you pass it, so it can show important poll info. |
Oh, right ! It wasn't obvious on video, so thanks for the explanation. I'm reassured now :) |
Fixes #76
Changes proposed in this pull request:
Reviewers should focus on:
onbeforeremove
for this since that could alert potentially in other situations. I believe this could maybe be done altering router? That may be too complicated.Screenshot
Confirmed
composer test
).