]> cat aescling's git repositories - mastodon.git/commit
Add option to reduce motion (#5393)
authorNolan Lawson <nolan@nolanlawson.com>
Mon, 16 Oct 2017 07:36:15 +0000 (00:36 -0700)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 16 Oct 2017 07:36:15 +0000 (09:36 +0200)
commitfa0be3f834b54bb276eb5233195181fa3760710f
treec1367d2304a220262d440034e1927097ed1678da
parent981e20b03a67ecc01826ef32c5fc9fd28ed2917b
Add option to reduce motion (#5393)

* Add option to reduce motion

* Use HOC to wrap all Motion calls

* fix case-sensitive issue

* Avoid updating too frequently

* Get rid of unnecessary change to _simple_status.html.haml
21 files changed:
app/controllers/settings/preferences_controller.rb
app/javascript/mastodon/components/collapsable.js
app/javascript/mastodon/components/dropdown_menu.js
app/javascript/mastodon/components/icon_button.js
app/javascript/mastodon/features/account/components/header.js
app/javascript/mastodon/features/compose/components/privacy_dropdown.js
app/javascript/mastodon/features/compose/components/search.js
app/javascript/mastodon/features/compose/components/upload.js
app/javascript/mastodon/features/compose/components/upload_progress.js
app/javascript/mastodon/features/compose/components/warning.js
app/javascript/mastodon/features/compose/containers/sensitive_button_container.js
app/javascript/mastodon/features/compose/index.js
app/javascript/mastodon/features/ui/components/upload_area.js
app/javascript/mastodon/features/ui/util/optional_motion.js [new file with mode: 0644]
app/lib/user_settings_decorator.rb
app/models/user.rb
app/serializers/initial_state_serializer.rb
app/views/settings/preferences/show.html.haml
app/views/stream_entries/_detailed_status.html.haml
config/locales/simple_form.en.yml
config/settings.yml