Commit graph

370 commits

Author SHA1 Message Date
Alex Gleason
8377e3c86b
Make darkMode a feature (for now) 2022-04-12 19:08:42 -05:00
Alex Gleason
3e988cb3a3
Merge remote-tracking branch 'origin/next' into next-theme-picker 2022-04-12 19:02:35 -05:00
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
Alex Gleason
f9d01dab0a
Make the ThemeToggle look decent, unhide it 2022-04-10 13:42:52 -05:00
98ff406ddf typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 12:46:25 +02:00
fb3b88b80b reply mentions modalto tsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 10:20:12 +02:00
8be889734c well, fix confirmation modal after fixing a typo
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:23:00 +02:00
2fbac4600c MissingDescriptionModal to functional component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:20:50 +02:00
14337e7839 Missing description modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:16:26 +02:00
0252f0525a Fix typo in confirmation modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:05:33 +02:00
e4908fe2b2 Merge remote-tracking branch 'soapbox/next' into next_
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 20:58:23 +02:00
Justin
ad381d7fbc Add tests for TrendsPanel 2022-04-07 11:55:15 -04:00
8f7a0e9942 Merge remote-tracking branch 'soapbox/next' into next_
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 23:49:35 +02:00
dd1f8a257e styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 00:03:26 +02:00
Alex Gleason
20aa17ce64 Merge branch 'next-status-loading' into 'next'
Next: Improve status loading, refactor Status components to TSX

See merge request soapbox-pub/soapbox-fe!1179
2022-04-04 21:36:47 +00:00
Alex Gleason
e88fe4a707
Clean up me usage 2022-04-04 14:24:55 -05:00
Justin
ed47cf5f09 Convert old tests to use "react-testing-library" 2022-04-04 11:53:47 -04:00
Alex Gleason
41ae50c495 Merge branch 'next-emoji-reacts' into 'next'
Next: emoji reacts part 1

See merge request soapbox-pub/soapbox-fe!1161
2022-04-03 18:09:27 +00:00
1f697dd8f2 hotkeys modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:40:06 +02:00
abf98cb75a Conditionally display some hotkeys
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:34:00 +02:00
Alex Gleason
c74d154874
Merge remote-tracking branch 'origin/next' into next-emoji-reacts 2022-04-02 10:48:45 -05:00
0661ca25be styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-02 16:10:16 +02:00
Alex Gleason
1e3c6d9430
Remove staff util functions, normalize account staff fields 2022-04-01 19:39:32 -05:00
Alex Gleason
462658dda7
LinkFooter: replace account aliases with account migration 2022-03-30 15:53:48 -05:00
Alex Gleason
ac7b8553d4
LinkFooter: don't use <ul> tag 2022-03-30 15:51:49 -05:00
Alex Gleason
548ecef20f
LinkFooter: convert to TSX 2022-03-30 15:50:16 -05:00
Alex Gleason
c62cd9898a
Fix background shapes for dark mode 2022-03-30 12:08:32 -05:00
9022651a67 Styles, dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 15:07:17 +02:00
dbeb292009 wip dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 15:40:02 +02:00
Alex Gleason
67c0c83b44
Refactor sidebar panels with Widget component 2022-03-25 14:08:12 -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
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
84d7d2ee38
Add @ts-ignore lines for strictFunctionTypes 2022-03-24 12:26:27 -05: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
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
1b7bdb3658
Make BG shapes colors configurable 2022-03-23 17:15:40 -05:00
Alex Gleason
12617bf7de
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-23 13:05:53 -05: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
430cfc3a2a Remove unneeded 'event' when using Reach Menu 2022-03-22 11:41:44 -04:00