]> cat aescling's git repositories - mastodon.git/commit
Add emoji suggestions to CW and poll option fields (#10555)
authorThibG <thib@sitedethib.com>
Thu, 9 May 2019 20:10:27 +0000 (22:10 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 9 May 2019 20:10:27 +0000 (22:10 +0200)
commitf2be71c2931e0d0b8f1ec05f50bd7d791c420c91
tree3447ff40943f7d63bd691eae065f8a2a75c6b020
parent62f5235b6f906a3336292a1a3afa222084de9a97
Add emoji suggestions to CW and poll option fields (#10555)

* Refactor selectComposeSuggestion so that different paths can be updated

* Add suggestions in CW field

* Add emoji suggestion to poll options

* Attempt to fix CSS

* Hide suggestions by default

They will be enabled if the input has focus
app/javascript/mastodon/actions/compose.js
app/javascript/mastodon/components/autosuggest_input.js [new file with mode: 0644]
app/javascript/mastodon/components/autosuggest_textarea.js
app/javascript/mastodon/features/compose/components/compose_form.js
app/javascript/mastodon/features/compose/components/poll_form.js
app/javascript/mastodon/features/compose/containers/compose_form_container.js
app/javascript/mastodon/features/compose/containers/poll_form_container.js
app/javascript/mastodon/reducers/compose.js
app/javascript/styles/mastodon/components.scss
app/javascript/styles/mastodon/polls.scss