]> cat aescling's git repositories - mastodon.git/commit
Add UI for creating polls (#10184)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 6 Mar 2019 03:53:37 +0000 (04:53 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Mar 2019 03:53:37 +0000 (04:53 +0100)
commitd97cbb0da60f32c9e7e60445af329173b0df1aa7
tree65e465284f132edede32ae8335ef840e8bdef1c7
parent4407f07014096bcbaf5a06015a5791984282846d
Add UI for creating polls (#10184)

* Add actions and reducers for polls

* Add poll button

* Disable media upload if poll enabled

* Add poll form

* Make delete & redraft work with polls
app/javascript/mastodon/actions/compose.js
app/javascript/mastodon/actions/statuses.js
app/javascript/mastodon/features/compose/components/compose_form.js
app/javascript/mastodon/features/compose/components/poll_button.js [new file with mode: 0644]
app/javascript/mastodon/features/compose/components/poll_form.js [new file with mode: 0644]
app/javascript/mastodon/features/compose/components/upload_button.js
app/javascript/mastodon/features/compose/containers/poll_button_container.js [new file with mode: 0644]
app/javascript/mastodon/features/compose/containers/poll_form_container.js [new file with mode: 0644]
app/javascript/mastodon/features/compose/containers/upload_button_container.js
app/javascript/mastodon/reducers/compose.js
app/javascript/styles/mastodon/polls.scss