]> cat aescling's git repositories - mastodon.git/commit
Improve image description user experience (#10036)
authorBen Lubar <ben.lubar+github@gmail.com>
Thu, 14 Feb 2019 00:04:43 +0000 (18:04 -0600)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 14 Feb 2019 00:04:43 +0000 (01:04 +0100)
commit309043b158f5a4187b6f603f346ed17ee6ddb190
tree6c2f826f0095e020dc9ff5e4364e51b3327c90bf
parent80161f43510ad9316c60c9b50dd5c09c2dae4d54
Improve image description user experience (#10036)

* Add image descriptions to searchable post content.

* Allow multi-line image descriptions.

* Request image descriptions in the same query as posts when creating the search index.

(see https://github.com/tootsuite/mastodon/pull/10036#discussion_r256551624)
app/chewy/statuses_index.rb
app/javascript/mastodon/features/compose/components/upload.js
app/javascript/styles/mastodon/components.scss