~cytrogen/masto-fe

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
662252c8 — Eugen Rochko 6 years ago
[Glitch] Add categories for custom emojis

Port front-end changes from e64e6a03dd1e0978fee48f0596dcfbc7fd29958f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4d964398 — ThibG 6 years ago
[Glitch] Fix swiping columns on mobile sometimes failing

Port 072158ee973f8e09a0abd34a825d9bce038a5d68 to glitch-soc
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
43698e08 — ThibG 6 years ago
[Glitch] Add message telling FTS is disabled when no toot can be found because of this

Port ca8944728f4568bbef8edae99382cd44cbc144d6 to glitch-soc
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
6ad870a4 — Thibaut Girka 6 years ago
Change search components classes and styling to match 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
9a90ec3b — ThibG 6 years ago
Fix account URI in UpdatePollSerializer (#11194)

* Fix account URI in UpdatePollSerializer

Fixes #11185

* Add specs
ca17bae9 — Thibaut Girka 6 years ago
Use a redis-cached feed for the DM timeline
2f95adc0 — ThibG 6 years ago
Merge pull request #1142 from ThibG/glitch-soc/merge-upstream

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