Commit Graph

4172 Commits

Author SHA1 Message Date
Alex Gleason ae2153dffe
Add ThemeToggle to Navbar (developers only) 2022-03-24 16:17:39 -05:00
Alex Gleason 53b920c297
ThemeToggle: convert to TSX 2022-03-24 16:03:02 -05:00
Alex Gleason 15f2e46bc9 Merge branch 'next-ts-strict' into 'next'
Put Typescript in "strict" mode, fix or ignore errors

See merge request soapbox-pub/soapbox-fe!1145
2022-03-24 20:33:31 +00:00
Alex Gleason c3cf248587 Merge branch 'next-caniuse' into 'next'
Next: Update caniuse browserlist

See merge request soapbox-pub/soapbox-fe!1146
2022-03-24 20:12:27 +00:00
Alex Gleason 3775ea40d6
Update caniuse browserlist 2022-03-24 14:55:40 -05:00
Alex Gleason f8592b3616
Jest: fix tests 2022-03-24 14:44:39 -05:00
Alex Gleason dec49003f4
Merge remote-tracking branch 'origin/next' into next-ts-strict 2022-03-24 14:30:39 -05:00
Alex Gleason 2940a3ff4d
Put Typescript in "strict" mode, fix or ignore errors 2022-03-24 14:27:27 -05:00
Justin 304c0b658e Merge branch 'wrap-profile-fields' into 'next'
Wrap profile fields to prevent single-row overflow

See merge request soapbox-pub/soapbox-fe!1144
2022-03-24 18:26:06 +00:00
Justin 867912aa1b Wrap profile fields 2022-03-24 14:08:54 -04:00
Alex Gleason ca68bc9df8 Merge branch 'next-ts-strict' into 'next'
Typescript: Start fixing strictFunctionTypes errors

See merge request soapbox-pub/soapbox-fe!1143
2022-03-24 17:41:19 +00:00
Alex Gleason 84d7d2ee38
Add @ts-ignore lines for strictFunctionTypes 2022-03-24 12:26:27 -05:00
Alex Gleason 67471638c3
Typescript: Start fixing strictFunctionTypes errors 2022-03-24 11:53:09 -05:00
Justin e0b1abdfc0 Merge branch 'fix-effect' into 'next'
Remove conditional to run style logic

See merge request soapbox-pub/soapbox-fe!1142
2022-03-24 16:34:12 +00:00
Alex Gleason 29e434d31f Merge branch 'next-ts-strict' into 'next'
Next: Typescript: start fixing 'strict' mode errors

See merge request soapbox-pub/soapbox-fe!1138
2022-03-24 16:27:17 +00:00
Justin ea6cf58cb5 Merge branch 'fix-colors' into 'next'
Resolve missing CSS variables in the theme

See merge request soapbox-pub/soapbox-fe!1140
2022-03-24 16:17:04 +00:00
Justin 63bafc41a1 Remove conditional to run style logic 2022-03-24 12:16:41 -04:00
Alex Gleason 161cd3d1fc
Revert lazy type changes to actions/instance.ts 2022-03-24 11:09:30 -05:00
Alex Gleason a773c245e8
tsconfig: enable alwaysStrict 2022-03-24 11:08:23 -05:00
Alex Gleason fd732f8647
tsconfig: enable strictBindCallApply 2022-03-24 11:06:49 -05:00
Alex Gleason 0ddee40136
tsconfig: enable useUnknownInCatchVariables 2022-03-24 10:56:57 -05:00
Alex Gleason a4ff9ed752
tsconfig: enable noImplicitThis 2022-03-24 10:55:43 -05:00
Alex Gleason 029c9bec6b
Prime tsconfig to turn on strict mode one rule at a time 2022-03-24 10:53:44 -05:00
Alex Gleason 53e997beb0
Merge remote-tracking branch 'origin/next' into next-ts-strict 2022-03-24 10:51:56 -05:00
Justin 97af1ece28 Resolve missing CSS variables in the theme 2022-03-24 11:48:03 -04:00
Justin 76b72d9364 Merge branch 'fix-use-on-screen-hook' into 'next'
Make sure the current element is present before execution

See merge request soapbox-pub/soapbox-fe!1141
2022-03-24 15:23:00 +00:00
Justin a9c83ed294 Make sure the current element is present before execution 2022-03-24 11:06:01 -04:00
Justin e63d095468 Merge branch 'fix-status-action' into 'next'
Fix bug when clicking on a Status

See merge request soapbox-pub/soapbox-fe!1139
2022-03-24 12:40:19 +00:00
Justin 2094f9673d Fix bug when clicking on a Status 2022-03-24 08:23:18 -04:00
Alex Gleason 5f4930dba3 Merge branch 'next-dark-mode' into 'next'
Next: dark mode

See merge request soapbox-pub/soapbox-fe!1136
2022-03-24 03:04:40 +00:00
Alex Gleason 09d3f375d5
Dark mode: navbar bg, update snapshots 2022-03-23 21:46:59 -05:00
Alex Gleason 14ec40ee95
Typescript: start fixing 'strict' mode errors 2022-03-23 21:43:36 -05:00
Alex Gleason 8d8307adf2 Merge branch 'next-hooks' into 'next'
Next: Custom hooks: useOwnAccount, useSettings, useSoapboxConfig

See merge request soapbox-pub/soapbox-fe!1137
2022-03-24 02:14:18 +00:00
Alex Gleason be690255cb
Hooks: get rid of useAccount, create useOwnAccount 2022-03-23 21:05:55 -05:00
Alex Gleason 2da31341c4
Custom hooks: useAccount, useSettings, useSoapboxConfig 2022-03-23 20:29:35 -05:00
Alex Gleason 793b0f9128
Start adding dark mode 2022-03-23 19:18:37 -05:00
Alex Gleason 8970e4e3db Merge branch 'next-colors' into 'next'
Next: colors

See merge request soapbox-pub/soapbox-fe!1126
2022-03-23 22:35:40 +00:00
Alex Gleason 1b7bdb3658
Make BG shapes colors configurable 2022-03-23 17:15:40 -05:00
Alex Gleason e0e953647e
tailwind.config.js: parse single-tint values in the matrix 2022-03-23 16:51:42 -05:00
Alex Gleason d57051c41c
Refactor Tailwind config, add tests 2022-03-23 16:27:35 -05:00
Alex Gleason fff580f053
Normalize Tailwind colors from SoapboxConfig 2022-03-23 15:31:19 -05:00
Alex Gleason 7fc4950387
utils/tailwind.ts: Tailwind/SoapboxConfig conversion functions 2022-03-23 14:28:51 -05:00
Alex Gleason 12617bf7de
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-23 13:05:53 -05:00
Justin 6c1ed1b79c Merge branch 'next-console-errors' into 'next'
Next console errors

See merge request soapbox-pub/soapbox-fe!1135
2022-03-23 17:57:54 +00:00
Justin 95a5ca2115 Convert Permalink to TSX 2022-03-23 13:50:45 -04:00
Justin f0a9ed8ad4 Fix prop warnings 2022-03-23 13:50:45 -04:00
Alex Gleason 2e45367643 Merge branch 'next-console-errors' into 'next'
Next: Fix (most) PropType errors

See merge request soapbox-pub/soapbox-fe!1134
2022-03-23 17:31:54 +00:00
Alex Gleason 03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -05:00
Justin e32fb881f1 Merge branch 'improve-snackbar-action' into 'next'
Improve style of Snackbar action

See merge request soapbox-pub/soapbox-fe!1133
2022-03-23 15:49:38 +00:00
Justin 72d356031b Improve style of Snackbar action 2022-03-23 11:32:27 -04:00