Merge commit 'c8181eb0a41c4f5c1655d4e400cab071aee4182a' into glitch-soc/merge-upstream Conflicts: - `app/javascript/packs/admin.jsx`: Upstream reworked imports, but we had many changes. Reworked imports as upstream did. - `app/javascript/packs/public.jsx`: Upstream reworked imports, but we had many changes. Reworked imports as upstream did.
[Glitch] Add TypeScript support for `mastodon` alias and image imports Port 7c1305b3a4ce0ee39aa923a1f1ac604794265b0b to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Copy hooks/useHovering.ts to glitch-soc
Fix IconButton prop types in glitch-soc
[Glitch] Mark `wheel` events on scrollable list as passive Port 89269e4b713e3291a5c8c29b8d2e7b950b60eb35 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
[Glitch] Rewrite Domain component as function component Port 9818f342735d1765baa281aaeeab2f60b8d049fe to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
[Glitch] Use LayoutType from is_mobile in actions/app Port 5bc8e2d1fdc3f1b1a0b9af5aed762d44e048250c to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
[Glitch] Rewrite RadioButton component as FC Port 76264e3fe86d1ac3c9f6d91290e77db8d9272d1a to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
[Glitch] Rewrite Image component as function component Port a65d2d10458fcb6c1c36fa6dd52b8f64d12ce50d to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
[Glitch] Rewrite <NotSignedInIndicator /> as FC Port 490ccbf40b06e97f59f09253b0d2e9d613cf353d to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Merge commit '89269e4b713e3291a5c8c29b8d2e7b950b60eb35' into glitch-soc/merge-upstream Conflicts: - `tsconfig.json`: Upstream changed the config to properly process imports. Glitch-soc had previously already done so. Changed the config to better match upstream.
Enforce stricter rules for Typescript files (#24910)
Enforce React Rules of Hooks with eslint (#24911)
Dont use CommonJS (`require`, `module.exports`) anywhere (#24913)
Mark `wheel` events on scrollable list as passive (#24914)
[Glitch] Fixes build errors from some previous TS-related commits Port 45579a26cfe4f62626d9d1d45431a5d2884ac658 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
[Glitch] Rewrite actions/app.ts and reducers/missed_updates.ts with createAction Port 0999cb46013ff3d78ae2a195d39d3e28ffd74d24 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
[Glitch] Remove MastodonMap TS type Port 9a52a7f7a03e7dfc269a9eb13ece2290f2b705fd to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
[Glitch] Add type annotation for some js files Port e38b39194075bec88af2f3a5134137563024d391 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Copy Typescript type definitions to glitch-soc