Commit graph

213 commits

Author SHA1 Message Date
Justin
1d5428be2c Merge branch 'react-query' into 'develop'
Introduce React Query

See merge request soapbox-pub/soapbox-fe!1666
2022-08-09 18:02:22 +00:00
Justin
7836698dc2 Add React Query 2022-08-08 10:29:02 -04:00
05b32fab0e Update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 14:05:22 +02:00
2ea76f74cf fix test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 00:38:00 +02:00
583e4171f1 Add some tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 19:57:22 +02:00
Alex Gleason
8bcf5fe82d
Update tests for Jest v28, apply uuid hack
https://github.com/uuidjs/uuid/pull/616#issuecomment-1111012599
2022-07-09 14:25:19 -05:00
Alex Gleason
073dd4f37a
Fix types in reducer tests 2022-07-06 11:53:55 -05:00
Justin
afabe9525d Fix test 2022-06-29 11:10:00 -04:00
Justin
9e6bb5264a Handle error state for carousels 2022-06-29 11:10:00 -04:00
Justin
33bebf5bba Add "carousel" redux logic 2022-06-29 11:10:00 -04:00
Alex Gleason
8e7d3d45a9 Merge branch 'sw-skipwaiting' into 'develop'
ServiceWorker: display a toast to skipWaiting and reload tabs when new ServiceWorker is ready

See merge request soapbox-pub/soapbox-fe!1480
2022-06-27 14:48:42 +00:00
marcin mikołajczak
dfbe05b390 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1562
2022-06-25 06:00:44 +00:00
Alex Gleason
d5ffce844d
ServiceWorker: display loading screen while updating 2022-06-24 11:52:57 -05:00
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00
Alex Gleason
a16230780e
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 13:57:59 -05:00
Alex Gleason
3b0543eb66
reducers/status-hover-card: add tests 2022-06-21 13:39:47 -05:00
88f690824c Update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 22:44:40 +02:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
Justin
de7fa347df Specifically import the single lodash function 2022-06-17 07:37:53 -04:00
7b5114a1b8 prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 23:07:06 +02:00
5fec879148 Fix mutes test, prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:30:48 +02:00
2786fa257b Use import type in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:08:51 +02:00
a66c174c2d Add normalizers, fix tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-08 23:43:27 +02:00
6c45dcb109 TypeScript, FC (reducers, search)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 18:25:53 +02:00
41a2b1f08f Reducers: TypeScript, fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 20:21:25 +02:00
65dff4e6a1 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 15:05:44 +02:00
Justin
8847b3cc03 Decrement reply count when removing a status. 2022-06-01 09:13:07 -04:00
Justin
517c21ae52 Add grouped notifications messaging 2022-05-24 17:11:47 -04:00
2ec9cacb27 Merge remote-tracking branch 'soapbox/develop' into familiar-followers
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-20 21:06:10 +02:00
960dd0ed89 Merge remote-tracking branch 'soapbox/develop' into familiar-followers
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-20 20:57:14 +02:00
Alex Gleason
d296811851
Suggestions: store as OrderedSet 2022-05-19 20:16:11 -05:00
Alex Gleason
cee7e3761f
Fix suggestions test 2022-05-19 12:31:16 -05:00
Alex Gleason
a20328b66c Revert "Merge branch 'search-results-tsx' into 'develop'"
This reverts merge request !1384
2022-05-17 15:37:16 +00:00
Alex Gleason
ef54e44702 Merge branch 'search-results-tsx' into 'develop'
Search results: convert to TSX

See merge request soapbox-pub/soapbox-fe!1384
2022-05-17 15:18:43 +00:00
Justin
e2b0994780 Add test 2022-05-17 06:40:43 -04:00
f70d44f67c Display familiar followers on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 19:32:35 +02:00
Alex Gleason
debfcaeb1e
Merge remote-tracking branch 'origin/develop' into mastodon-pagination 2022-05-15 13:08:12 -05:00
Alex Gleason
2e192153ed
Fix reducer tests 2022-05-14 14:13:58 -05:00
Alex Gleason
165d6d197e
Rip out identity_proofs 2022-05-14 12:01:21 -05:00
Alex Gleason
8ed6d9fc6b
Test context loops 2022-05-13 17:12:36 -05:00
Alex Gleason
e6617af0f9
Refactor context test, remove dumb fixtures 2022-05-13 16:58:38 -05:00
Alex Gleason
75745d2c46
Clean up contexts test 2022-05-13 15:08:38 -05:00
Alex Gleason
0329cc4d04
Clean up contexts test 2022-05-13 14:42:15 -05:00
Alex Gleason
a657b6374c
Search: fix crash on paginating hashtags 2022-05-06 11:36:55 -05:00
f6f8ef99d9 Merge remote-tracking branch 'soapbox/develop' into edit-posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 21:29:38 +02:00
Alex Gleason
35a731ffd9
Restore localStorage onboarding code 2022-05-02 15:55:52 -05:00
Alex Gleason
86ecda84c5
rule_id --> rule_ids 2022-05-02 14:50:16 -05:00
Justin
6baec89484 Fix test 2022-05-02 13:55:08 -04:00
Justin
ac53ed11b9 Add tests for Rules redux action/reducer 2022-05-02 13:55:08 -04:00