-
Notifications
You must be signed in to change notification settings - Fork 8.6k
DEV: Convert poll modals to new component-based API #22164
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
Conversation
99fd4f2
to
86b4c90
Compare
178cc70
to
2beac68
Compare
86b4c90
to
d1588f6
Compare
9e2d99d
to
e3c644b
Compare
This pull request has been mentioned on Discourse Meta. There might be relevant details there: |
d1588f6
to
4018969
Compare
4018969
to
3001a3c
Compare
plugins/poll/assets/javascripts/discourse/components/modal/poll-ui-builder.hbs
Outdated
Show resolved
Hide resolved
plugins/poll/assets/javascripts/discourse/components/modal/poll-ui-builder.hbs
Outdated
Show resolved
Hide resolved
plugins/poll/assets/javascripts/discourse/components/modal/poll-ui-builder.hbs
Outdated
Show resolved
Hide resolved
pollTitle = ""; | ||
pollOptions = null; | ||
pollOptionsText = null; | ||
pollTitle = null; |
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.
Seeing this is undefined
by default, can we just do
pollTitle = null; | |
pollTitle; |
Or just remove the explicit definition all together?
pollGroups = null; | ||
pollAutoClose = null; |
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.
Dito
Co-authored-by: Isaac Janzen <[email protected]>
(Requires #21304)