]> cat aescling's git repositories - mastodon.git/commit
feat: Cache status height to avoid expensive renders (#4439)
authorSorin Davidoi <sorin.davidoi@gmail.com>
Mon, 7 Aug 2017 18:32:03 +0000 (20:32 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 7 Aug 2017 18:32:03 +0000 (20:32 +0200)
commit8eb6d171e690e013eb2881478cfa1fd50b4ba705
treec0b2305a4bbe66298771699c42d6ce74c2373365
parent594234740788a51fa528152343eb50dc1c6ca093
feat: Cache status height to avoid expensive renders (#4439)

* feat: Cache status height to avoid expensive renders

* feat: Escape content and emojify in reducers

* fix(css): Remove backface-visibility: hidden from .scrollable

* fix(statuses): Avoid creating DOMParses inside a loop
15 files changed:
app/javascript/mastodon/actions/statuses.js
app/javascript/mastodon/components/display_name.js
app/javascript/mastodon/components/status.js
app/javascript/mastodon/components/status_content.js
app/javascript/mastodon/containers/status_container.js
app/javascript/mastodon/features/account/components/header.js
app/javascript/mastodon/features/compose/components/reply_indicator.js
app/javascript/mastodon/features/follow_requests/components/account_authorize.js
app/javascript/mastodon/features/notifications/components/notification.js
app/javascript/mastodon/features/report/components/status_check_box.js
app/javascript/mastodon/features/ui/index.js
app/javascript/mastodon/reducers/accounts.js
app/javascript/mastodon/reducers/statuses.js
app/javascript/styles/components.scss
spec/javascript/components/display_name.test.js