Commit graph

2366 commits

Author SHA1 Message Date
Alex Gleason
999f518f10
Display CryptoDonatePanel, convert to tsx 2022-03-25 13:38:03 -05:00
Alex Gleason
75f78dc5cb
Jest: update snapshots 2022-03-24 19:06:36 -05:00
Alex Gleason
ef0de13c91
Improve dark mode 2022-03-24 18:56:22 -05:00
Alex Gleason
ee691e0cc8
LinkFooter: remove "Legal" link 2022-03-24 16:59:25 -05:00
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
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
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
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
a9c83ed294 Make sure the current element is present before execution 2022-03-24 11:06:01 -04: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
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
1b7bdb3658
Make BG shapes colors configurable 2022-03-23 17:15:40 -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
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
03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -05:00
Justin
7e17772c14 Dynamically truncate the Account's name/username in hidden content 2022-03-23 08:40:21 -04:00
Alex Gleason
5ffb9828ba
LinkFooter: restore copyright message, let it be overridden 2022-03-22 17:43:42 -05:00
Alex Gleason
8f85fd01d5
Make bg-shape colors configurable 2022-03-22 16:25:52 -05:00
Alex Gleason
9e16d992e6
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-22 13:57:09 -05:00
Alex Gleason
a42ea0961a
Generate Tailwind colors from brandColor/accentColor 2022-03-22 12:37:57 -05:00
Justin
9af141dd87 Merge branch 'fix-logout' into 'next'
Remove unneeded 'event' when using Reach Menu

See merge request soapbox-pub/soapbox-fe!1130
2022-03-22 15:59:34 +00:00
Justin
614228a130 Merge branch 'improve-sensitive-design' into 'next'
Improve design of sensitive media

See merge request soapbox-pub/soapbox-fe!1129
2022-03-22 15:42:53 +00:00
Justin
430cfc3a2a Remove unneeded 'event' when using Reach Menu 2022-03-22 11:41:44 -04:00
Justin
02d65a527c Merge branch 'add-preferences-clarification' into 'next'
Add hint to clarify Feed settings

See merge request soapbox-pub/soapbox-fe!1128
2022-03-22 15:19:54 +00:00
Justin
122ee00f58 Improve design of sensitive media 2022-03-22 11:13:42 -04:00
Justin
69035c3dab Add hint to clarify Feed settings 2022-03-22 08:58:12 -04:00
Justin
40cc960985 Use React Router hook for 'history' 2022-03-22 08:42:26 -04:00
Justin
12ed6889a4 Use React Router Link in MenuLink 2022-03-22 08:28:18 -04:00
Alex Gleason
18bad4a5ab
Typescript: utils/theme.ts 2022-03-21 18:57:23 -05:00
Alex Gleason
0938612678
Use colors from soapbox.json at runtime 2022-03-21 18:43:31 -05:00