]> cat aescling's git repositories - mastodon.git/commit
Add emoji autosuggest (#5053)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 23 Sep 2017 12:47:32 +0000 (14:47 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Sep 2017 12:47:32 +0000 (14:47 +0200)
commit1e02ba111ae38ab758135b5b2b46f34c672ca02e
tree62c916782bf9340837a12fcb0c79bb9d481b4ce8
parent66126f302167d21e4bf247e660f595ff0beaaf20
Add emoji autosuggest (#5053)

* Add emoji autosuggest

Some credit goes to glitch-soc/mastodon#149

* Remove server-side shortcode->unicode conversion

* Insert shortcode when suggestion is custom emoji

* Remove remnant of server-side emojis

* Update style of autosuggestions

* Fix wrong emoji filenames generated in autosuggest item

* Do not lazy load emoji picker, as that no longer works

* Fix custom emoji autosuggest

* Fix multiple "Custom" categories getting added to emoji index, only add once
19 files changed:
app/helpers/emoji_helper.rb [deleted file]
app/javascript/mastodon/actions/compose.js
app/javascript/mastodon/components/autosuggest_emoji.js [new file with mode: 0644]
app/javascript/mastodon/components/autosuggest_textarea.js
app/javascript/mastodon/emoji.js
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
app/javascript/mastodon/features/ui/util/async-components.js
app/javascript/mastodon/reducers/accounts.js
app/javascript/mastodon/reducers/accounts_counters.js
app/javascript/mastodon/reducers/compose.js
app/javascript/mastodon/reducers/custom_emojis.js
app/javascript/styles/components.scss
app/lib/emoji.rb [deleted file]
app/models/account.rb
app/models/status.rb
app/views/layouts/application.html.haml
lib/assets/emoji.json [deleted file]
spec/helpers/emoji_helper_spec.rb [deleted file]
spec/lib/emoji_spec.rb [deleted file]