Commit Graph

3907 Commits

Author SHA1 Message Date
fcded3aae6 Merge branch 'normal-account-refactor' into 'develop'
Remove importer/normalizer.js

See merge request soapbox-pub/soapbox-fe!1094
2022-03-12 22:11:18 +00: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
e076b7dc4e Merge branch 'account-gallery-fix' into 'develop'
AttachmentRecord: add missing internal fields

Closes #859

See merge request soapbox-pub/soapbox-fe!1095
2022-03-12 03:21:30 +00:00
2cd6499454 Attachment: add missing internal fields 2022-03-11 21:05:42 -06:00
6be0b61569 Merge branch 'reducer-records' into 'develop'
Refactor some reducers with Immutable.Record

See merge request soapbox-pub/soapbox-fe!1093
2022-03-11 21:01:15 +00: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
e5f1fae956 Merge branch 'normal-chat-refactor' into 'develop'
Normalize chat in reducer, not action

See merge request soapbox-pub/soapbox-fe!1092
2022-03-11 03:19:41 +00:00
9547a7042d Normalize chat in reducer, not action 2022-03-10 21:09:12 -06:00
92b86efb9b Merge branch 'more-entity-normalization' into 'develop'
More entity normalization

See merge request soapbox-pub/soapbox-fe!1091
2022-03-11 02:56:35 +00: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
4c2d9a8856 Merge branch 'more-poll-fixes' into 'develop'
More poll normalization fixes

See merge request soapbox-pub/soapbox-fe!1090
2022-03-10 22:37:18 +00: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
84a364a7d2 Merge branch 'polls-normalization' into 'develop'
Improve Poll normalization, store as Immutable.Record

Closes #857

See merge request soapbox-pub/soapbox-fe!1089
2022-03-10 21:49:52 +00:00
2dcd05651e Improve Poll normalization, store as Immutable.Record 2022-03-10 15:32:01 -06:00
5ddd0b9686 Merge branch 'record-enhancements' into 'develop'
Record enhancements

See merge request soapbox-pub/soapbox-fe!1084
2022-03-10 20:46:48 +00: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
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
8c7a7fd7dc eslint: fix typescript undefined globals 2022-03-09 13:26:40 -06:00
894bf1e880 Account normalizer: convert to Typescript, add type 2022-03-09 12:16:24 -06:00
cd6fd8c0db Merge branch 'records' into 'develop'
Records: Status, Account, Instance

See merge request soapbox-pub/soapbox-fe!1083
2022-03-09 18:16:03 +00: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