Commit graph

239 commits

Author SHA1 Message Date
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
db56d9b16a Update tests, remove unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-29 23:19:52 +02:00
Alex Gleason
19d579c2a0
createAsyncThunk(): .toString() --> .type 2022-04-25 15:47:47 -05:00
Alex Gleason
72e64780f7
Update tests relying on actions/instance 2022-04-25 14:27:09 -05:00
Alex Gleason
e64d93abcb
Fix Patron tests 2022-04-24 19:02:25 -05:00
Alex Gleason
ea34a7f303
DELETE INTERSECTION OBSERVER ARTICLE 2022-04-22 13:13:40 -05:00
Alex Gleason
35396923be
Test rendering notifications 2022-04-16 19:03:33 -05:00
44b64d51c4 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-14 00:05:21 +02:00
2faaa75d9c tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 00:04:41 +02:00
Alex Gleason
934055557f
Fix sidebar reducer test 2022-04-12 20:23:45 -05:00
Justin
ed47cf5f09 Convert old tests to use "react-testing-library" 2022-04-04 11:53:47 -04:00
Alex Gleason
f83119bfc9
Filter statuses by full acct with @ symbol 2022-03-26 11:17:27 -05:00
Alex Gleason
24a78f7740
Merge remote-tracking branch 'origin/develop' into next 2022-03-26 11:15:06 -05:00
Alex Gleason
f7425d80eb
Add test for search_index with mentions 2022-03-26 10:45:45 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
b3de700732
Fix Soapbox Config 2022-03-20 18:41:47 -05:00
Alex Gleason
76eeb8a219
Delete+Redraft: drop attachments with integer IDs from Pleroma 2022-03-16 20:54:41 -05:00
Alex Gleason
cd19425a0d
Fix move notification crashing Notifications page 2022-03-16 19:23:07 -05:00
Alex Gleason
2089cb124d
Test account.moved 2022-03-12 14:52:03 -06:00
Alex Gleason
b5432ad8de
Refactor some reducers with Immutable.Record 2022-03-11 14:42:52 -06:00
Alex Gleason
7a7fafc8ed
Refactor applyActions() into test_helpers.js 2022-03-11 13:55:48 -06:00
Alex Gleason
7d91bb7ff9
Refactor Notifications reducer with Immutable.Record, start rewriting tests 2022-03-11 13:51:34 -06:00
Alex Gleason
9afd43a42d
Normalize Attachment entities as Immutable.Record 2022-03-10 17:15:09 -06:00
Alex Gleason
4bd1531056
More poll normalization fixes 2022-03-10 16:25:11 -06:00
Alex Gleason
2dcd05651e
Improve Poll normalization, store as Immutable.Record 2022-03-10 15:32:01 -06:00
Alex Gleason
4961433f7b
Actually, we can access state.instance.version directly now 2022-03-09 16:07:24 -06:00
Alex Gleason
a63aa16472 Merge branch 'state-record' into 'develop'
Parse the Redux state as an Immutable.Record

See merge request soapbox-pub/soapbox-fe!1085
2022-03-09 21:54:51 +00:00
Alex Gleason
90afa8aeaf
Parse the Redux state as an Immutable.Record 2022-03-09 15:24:42 -06:00
Alex Gleason
831741bea5
Test that reducers parse as Records 2022-03-08 23:59:59 -06:00
Alex Gleason
7a18f8b9c8
Create Records for Account and Status 2022-03-08 23:25:30 -06:00
Alex Gleason
706bc08c88
Status reducer: fix search_index 2022-02-23 23:41:49 -05:00
Alex Gleason
5e18691ab5
Fix custom emoji parsing 2022-02-23 12:37:12 -05:00
Alex Gleason
b1a8f6f3ab
Add back expandSpoilers 2022-02-20 12:44:10 -05:00
Alex Gleason
f1f784f751
normalizeStatus: fix tests, fixQuote fix 2022-02-20 03:38:22 -05:00
767c3dad7a Merge remote-tracking branch 'soapbox/develop' into modals-stack 2022-02-14 22:32:58 +01:00
Alex Gleason
63fa3e7154
Status: normalize media attachments 2022-02-11 17:58:18 -06:00
a041a4452b Rename modal -> modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 16:36:20 +01:00
e0f0370579 Merge remote-tracking branch 'soapbox/develop' into modals-stack
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 14:30:38 +01:00
Alex Gleason
d5ae29bfda Merge branch 'mastodon-configuration' into 'develop'
Normalize instance configuration for Mastodon

See merge request soapbox-pub/soapbox-fe!1022
2022-02-01 15:23:50 +00:00
Alex Gleason
e04e75f831
Set attachment limit from instance 2022-01-31 17:52:12 -06:00
Alex Gleason
04979486e8
Normalize instance configuration for Mastodon 2022-01-31 16:51:11 -06:00
807b3c7e5b Use stack for modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-30 18:53:47 +01:00
7da12b1526 Merge remote-tracking branch 'soapbox/develop' into birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 23:12:07 +01:00
Alex Gleason
bd3c74f566
Prevent a quoted status overriding the quote of its parent 2022-01-24 15:08:22 -06:00
97d09317ae Modal improvements, profile information
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-22 13:08:20 +01:00
7aef1d923b Merge remote-tracking branch 'origin/develop' into account-endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-13 22:29:32 +01:00
0a160f4422 User endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-12 18:20:27 +01:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
Alex Gleason
93ee2a6ab7
Replying-to: fix order of mentions 2022-01-07 17:09:43 -06:00
b0477ac1e1 fix broken modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-07 00:50:32 +01:00
Alex Gleason
0e6fac9286
Web Push fixes 2021-11-18 16:21:52 -05:00
Alex Gleason
59db8fb442
Notifications: drop status notifications if status is null 2021-11-12 15:06:37 -06:00
Alex Gleason
a354fd325d
Statuses: optimistic reply counter 2021-11-12 12:18:11 -06:00
Alex Gleason
2946a7432b
Compose: pull accept content types from backend if available, fallback to all types 2021-10-31 16:14:09 -05:00
Alex Gleason
6b54e88b62
Search: refactor search reducer, add tests 2021-10-28 14:23:54 -04:00
Alex Gleason
c789fba629
Notifications: use Markers for unread count
This works consistently across all backends
2021-10-04 13:27:05 -05:00
Alex Gleason
1be73d13a1
Suggestions: fix optimistic dismissal 2021-10-02 15:18:27 -05:00
Alex Gleason
65a3ab982c
Preload: import auth credentials from Mastodon's initial-state 2021-09-15 13:34:22 -05:00
c80f87efaa Add emoji reacts page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-06 21:54:48 +02:00
Alex Gleason
463b3ba085
Auth: store users by their ActivityPub ID instead of their primary key 2021-08-21 17:38:19 -05:00
d36ec10c6a Auto select search tab that has results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:57:22 +02:00
403d6ae48c Search results improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:42:39 +02:00
Alex Gleason
dcd964dba9 Merge branch 'eslint-recommended' into 'develop'
eslint: extend 'eslint:recommended'

See merge request soapbox-pub/soapbox-fe!661
2021-08-03 19:57:41 +00:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
f8dcafae98 update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 21:10:41 +02:00
0e59139902 Use Mastodon defaults for initial state
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-19 23:15:42 +02:00
Alex Gleason
b2ebdbcf80
Admin: display latest accounts in dashboard 2021-07-14 12:27:51 -05:00
Alex Gleason
941e101fba
Auth: test ME_FETCH_SKIP in reducer 2021-07-09 16:29:01 -05:00
Alex Gleason
5f40ae1d48
Timelines: add tests 2021-07-08 17:10:01 -05:00
Alex Gleason
411ecadeda Merge branch 'move' into 'develop'
Account move notification

See merge request soapbox-pub/soapbox-fe!560
2021-06-30 16:06:57 +00:00
414fcd11ad update test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 14:22:49 +02:00
Alex Gleason
2e9ac8770e
Fix status_lists tests 2021-06-27 18:56:04 -05:00
Alex Gleason
0586ec4264
Fix auth reducer tests 2021-05-07 22:43:44 -05:00