~cytrogen/masto-fe

ref: e5f4d83e60305e2f502f18f507ad79d8fbccfe77 masto-fe/app/javascript d---------
c9496689 — Thibaut Girka 6 years ago
Minor cleanup and maybe minor performance improvements
9d6b46fe — Thibaut Girka 6 years ago
Minor optimization regarding regexp filtering in timelines
c49f7d5d — Thibaut Girka 6 years ago
Use strict equality rather than Immutable.is as the compared props are values
82a76f03 — Thibaut Girka 6 years ago
Assume children of visible IntersectionObserverArticle always change

This fixes multiple issues, while adding few computations
c0b5ee31 — Thibaut Girka 6 years ago
Revert to using upstream's optimisations

This *does* break things, as `shouldComponentUpdate` assume the
children to never change!
0ef6a114 — Thibaut Girka 6 years ago
Fix error boundary DOM
82cd138c — Thibaut Girka 6 years ago
Fix some React warnings
687680f2 — ThibG 6 years ago
Merge pull request #1148 from ThibG/glitch-soc/merge-upstream

Merge upstream changes
b6e9b7d1 — Thibaut Girka 6 years ago
[Glitch] When sending a toot, ensure a CW is only set if the CW field is visible

Partial port of ccc7fe3e1d04c7cabad916e4e57c7739743d5c91 to glitch-soc

It doesn't ensure the field isn't changed, just that it isn't submitted if
the field isn't visible. Ensuring the field isn't changed would require
reworking the “always show CW field” feature.
cbb41e2d — ThibG 6 years ago
[Glitch] Optimize makeGetStatus

Port f895bf198470c1d4a0299b454433fdf1c35ee2b0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
46829e00 — ThibG 6 years ago
[Glitch] Use ScrollToOptions for smooth scrolling if supported

Port 84ff3938426da348e31651dfad376d83a9784343 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
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
Next