~cytrogen/masto-fe

ref: e5f4d83e60305e2f502f18f507ad79d8fbccfe77 masto-fe/app/javascript/mastodon d---------
687680f2 — ThibG 6 years ago
Merge pull request #1148 from ThibG/glitch-soc/merge-upstream

Merge upstream changes
c5495a44 — Thibaut Girka 6 years ago
Merge branch 'master' into glitch-soc/merge-upstream
f895bf19 — ThibG 6 years ago
Optimize makeGetStatus (#11211)

* Optimize makeGetStatus

Because `ImmutableList.filter` always returns a new object and `createSelector`
memoizes based on object identity, the selector returned by `makeGetStatus`
would *always* execute.

To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on
deep equality, thus returning the same object as long as the filters haven't
changed, allowing the memoization of `makeGetStatus` to work.

Furthermore, we memoize the compiled regexs instead of recomputing them each
time the selector is called.

* Fix memoized result being cleared too often

* Make notifications use memoized getFiltersRegex
ccc7fe3e — ThibG 6 years ago
When sending a toot, ensure a CW is only set if the CW field is visible (#11206)

In some occasions, such as the browser or a browser extension auto-filling
the existing but disabled/hidden CW field, a CW can be set without the user
knowing.
84ff3938 — ThibG 6 years ago
Use ScrollToOptions for smooth scrolling if supported (#11207)

98c2d2aa — ThibG 6 years ago
Merge pull request #1146 from ThibG/glitch-soc/merge-upstream

Merge upstream changes
3922b518 — Thibaut Girka 6 years ago
Merge branch 'master' into glitch-soc/merge-upstream
4f5b221b — ThibG 6 years ago
Display FTS warning based on actual search term, not the one being typed (#11202)

Follow-up to #11112
f7c0e326 — ThibG 6 years ago
Merge pull request #1145 from ThibG/glitch-soc/merge-upstream

Merge upstream changes
e64e6a03 — Eugen Rochko 6 years ago
Add categories for custom emojis (#11196)

Fix #7940
072158ee — ThibG 6 years ago
Fix swiping columns on mobile sometimes failing (#11200)

Fixes #9779
c8ba75b9 — Thibaut Girka 6 years ago
Merge branch 'master' into glitch-soc/merge-upstream
ca894472 — ThibG 6 years ago
Add message telling FTS is disabled when no toot can be found because of this (#11112)

* Add message telling FTS is disabled when no toot can be found because of this

Fixes #11082

* Remove info icon and reword message
2f95adc0 — ThibG 6 years ago
Merge pull request #1142 from ThibG/glitch-soc/merge-upstream

Merge upstream changes
aaec64a5 — Thibaut Girka 6 years ago
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/controllers/settings/preferences_controller.rb
- app/lib/user_settings_decorator.rb
- app/models/user.rb
- config/locales/simple_form.en.yml
3086c645 — ThibG 6 years ago
Add option to disable blurhash previews (#11188)

* Add option to disable blurhash previews

* Update option text

* Change options order
32a44949 — ThibG 6 years ago
Scroll to compose form rather than reply indicator on focus (#11182)

5b20284f — PatOnTheBack 6 years ago
Removed extra pipes from regex. (#11181)

ed10ae26 — ThibG 6 years ago
Merge pull request #1138 from ThibG/glitch-soc/merge-upstream

Merge upstream changes
47ef4a6c — ThibG 6 years ago
Apply filters to poll options (#11174)

* Apply filters to poll options in WebUI

Fixes #11128

* Apply filters to poll options server-side

* Add poll options to searchable text
Next