Commit graph

38 commits

Author SHA1 Message Date
Chewbacca
50f5e2af38 Merge remote-tracking branch 'origin/develop' into chats 2022-11-28 10:03:40 -05:00
Alex Gleason
5bb30b6282
Merge remote-tracking branch 'origin/develop' into chats 2022-11-27 15:30:00 -06:00
Alex Gleason
d3b67e5167
Add useInstance() hook 2022-11-26 10:43:46 -06:00
785c6b57e3 RTL support, use Stack and HStack in more places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-25 18:04:11 +01:00
Justin
dbee414ebc Add tests for ChatWidget component 2022-10-03 09:15:54 -04:00
Alex Gleason
90c8096f9e
Merge remote-tracking branch 'origin/develop' into chats 2022-09-21 10:18:29 -05:00
Alex Gleason
6b57b62b38
ComposeForm: don't focus the input constantly, add usePrevious hook 2022-09-19 13:55:08 -05:00
Alex Gleason
d7243c0e91
Merge remote-tracking branch 'origin/develop' into chats 2022-09-19 13:01:40 -05:00
6cce0a0291 Introduce useCompose hook
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 20:01:44 +02:00
Justin
6b38e37019 Merge remote-tracking branch 'origin/develop' into chats 2022-09-08 08:37:52 -04:00
Justin
9aebaa96a8 Fix tests 2022-09-07 10:30:11 -04:00
Justin
a190eba006 Add polyfill for ResizeObserver 2022-09-07 08:27:40 -04:00
Justin
2c6c281568 Add "useDebounce" hook 2022-08-31 13:20:53 -04:00
Alex Gleason
8eec8f3a09
react-query: use legacy API client with hooks 2022-08-09 10:24:43 -05:00
Alex Gleason
d422bdf3d3
Add GdprBanner component, remove useGdpr hook 2022-07-26 10:58:17 -05:00
Alex Gleason
83329d0887
Copy react-notification's source code directly into the project 2022-07-25 22:58:09 -05:00
Alex Gleason
5916041fec
Add useTheme hook 2022-07-22 17:25:52 -05:00
Alex Gleason
dcd32e32a4
Add configurable GDPR alert 2022-07-22 17:04:53 -05:00
Alex Gleason
e3db81d652
SoapboxMount: break SoapboxLoad into a separate component 2022-07-22 17:01:26 -05:00
Justin
0de3da4302 Ensure no cuttoff in Feed Carousel 2022-07-18 15:23:39 -04:00
Alex Gleason
882e4b2fda
Fix hooks tests types 2022-07-06 12:10:21 -05:00
Justin
14a9a2f4eb Update UI around Empty Message 2022-06-29 11:10:00 -04:00
Justin
bdee28fd07 Add "useDimensions" hook 2022-06-29 11:10:00 -04:00
Alex Gleason
2acd0abab0
useSystemTheme: wrap addEventListener in try-catch for old iOS Safari 2022-06-20 12:03:33 -05:00
Alex Gleason
a632bb99f9
ChatMessageList: fix pagination 2022-06-17 17:33:25 -05:00
708c3a9e64 TypeScript: actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:56:22 +02:00
Alex Gleason
8c88d45c8e
Break out useSystemTheme into a hook 2022-05-11 19:19:08 -05:00
Justin
0fb4c9bd40 Convert ReportModal to TSX 2022-05-02 13:52:37 -04:00
f745c9fc97 typescript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 18:10:46 +02:00
39b819241f Dashboard styles, typescript, add useAppDispatch
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:24:11 +02:00
Alex Gleason
548ecef20f
LinkFooter: convert to TSX 2022-03-30 15:50:16 -05:00
Alex Gleason
483b28988f
Normalize SoapboxConfig 2022-03-28 14:58:50 -05:00
Alex Gleason
2940a3ff4d
Put Typescript in "strict" mode, fix or ignore errors 2022-03-24 14:27:27 -05:00
Justin
a9c83ed294 Make sure the current element is present before execution 2022-03-24 11:06:01 -04: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
Justin
7e17772c14 Dynamically truncate the Account's name/username in hidden content 2022-03-23 08:40:21 -04:00
Alex Gleason
a801a8a7c8
soapbox/store/configureStore --> soapbox/store, add custom Hooks 2022-03-14 18:04:49 -05:00