Commit Graph

2952 Commits

Author SHA1 Message Date
cd19425a0d Fix move notification crashing Notifications page 2022-03-16 19:23:07 -05:00
ed88dbcdde Merge branch 'chat-message-preview' into 'develop'
Set max-height to chat preview message

Closes #426

See merge request soapbox-pub/soapbox-fe!1088
2022-03-16 21:43:11 +00:00
1d4daee53b Merge branch 'datepicker-async' into 'develop'
Load react-datepicker asynchronously

Closes #855

See merge request soapbox-pub/soapbox-fe!1086
2022-03-16 21:42:13 +00:00
c0ea0a948d Suggestions: limit to 50 results 2022-03-16 16:01:36 -05:00
40b5761460 Normalize Pleroma account location
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-14 22:55:55 +01:00
b003ac0634 Fix: Delete end edit on Markdown post loses Markdown setting
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-13 21:09:58 +01:00
28ecb9d912 Normalize Card entity 2022-03-12 15:54:28 -06:00
5c8e8d9f99 Break Attachment normalizer into its own module 2022-03-12 15:33:53 -06:00
6812e7bfd4 Move Poll normalizer into its own module 2022-03-12 15:22:18 -06:00
08f219ab64 Break Mention normalizer into its own module (with tests) 2022-03-12 15:12:16 -06:00
b100068b95 Normalizers: add jsdoc heading 2022-03-12 15:01:00 -06:00
2089cb124d Test account.moved 2022-03-12 14:52:03 -06:00
66e51fa5ef Status normalizer: revert update() refactor 2022-03-12 14:29:02 -06:00
b46f31e9f4 Account normalizer emojification tests 2022-03-12 14:19:34 -06:00
049d726ff5 Merge remote-tracking branch 'origin/develop' into normal-account-refactor 2022-03-11 21:22:19 -06:00
6fa973aec0 Remove importer/normalizer.js 2022-03-11 21:22:11 -06:00
2cd6499454 Attachment: add missing internal fields 2022-03-11 21:05:42 -06:00
b5432ad8de Refactor some reducers with Immutable.Record 2022-03-11 14:42:52 -06:00
7a7fafc8ed Refactor applyActions() into test_helpers.js 2022-03-11 13:55:48 -06:00
7d91bb7ff9 Refactor Notifications reducer with Immutable.Record, start rewriting tests 2022-03-11 13:51:34 -06:00
4c2cdc4ac2 StatusRecord: let account be null by default 2022-03-11 12:15:49 -06:00
d48a9586e5 Convert Instance normalizer into TypeScript 2022-03-11 12:14:32 -06:00
37827c34d9 Create Notification normalizer 2022-03-11 12:13:36 -06:00
9547a7042d Normalize chat in reducer, not action 2022-03-10 21:09:12 -06:00
ecaf726a19 Rename map --> entity 2022-03-10 20:40:04 -06:00
75db92719d Normalize poll emoji 2022-03-10 19:55:14 -06:00
d600a74410 Revert "PollContainer: don't pass me as a prop"
This reverts commit dc2d3b1b09.
2022-03-10 19:36:58 -06:00
f91344366d Instance normalizer: remove unneeded line 2022-03-10 18:08:41 -06:00
8decaa2d9f Parse Mentions as Immutable.Record 2022-03-10 17:57:12 -06:00
9afd43a42d Normalize Attachment entities as Immutable.Record 2022-03-10 17:15:09 -06:00
dc2d3b1b09 PollContainer: don't pass me as a prop 2022-03-10 16:30:42 -06:00
4bd1531056 More poll normalization fixes 2022-03-10 16:25:11 -06:00
2dcd05651e Improve Poll normalization, store as Immutable.Record 2022-03-10 15:32:01 -06:00
2489438ff4 Set max-height to chat preview message
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-10 19:03:18 +01:00
4961433f7b Actually, we can access state.instance.version directly now 2022-03-09 16:07:24 -06:00
f75c0738a7 Instance normalizer: add default stats, remove default media_attachments 2022-03-09 16:02:50 -06:00
9537c87909 Record --> ImmutableRecord 2022-03-09 16:00:43 -06:00
a29019dbb0 Load react-datepicker asynchronously
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-09 22:59:51 +01:00
5ddc8542fd Merge remote-tracking branch 'origin/develop' into record-enhancements 2022-03-09 15:58:35 -06:00
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
90afa8aeaf Parse the Redux state as an Immutable.Record 2022-03-09 15:24:42 -06:00
a2adaf2ffd Convert Status Normalizer to TypeScript 2022-03-09 14:26:57 -06:00
6e61cb525c Move Account interface to types/ directory 2022-03-09 13:26:48 -06:00
894bf1e880 Account normalizer: convert to Typescript, add type 2022-03-09 12:16:24 -06:00
38fbd703e4 Fix account relationships 2022-03-09 00:38:28 -06:00
4e254928fe EditProfile: convert to Map before mutations 2022-03-09 00:12:27 -06:00
831741bea5 Test that reducers parse as Records 2022-03-08 23:59:59 -06:00
10116a312a Normalizers: fix tests 2022-03-08 23:47:30 -06:00
7a18f8b9c8 Create Records for Account and Status 2022-03-08 23:25:30 -06:00
1c36d1b91c Store statuses as StatusRecord 2022-03-08 22:02:02 -06:00