Commit graph

3984 commits

Author SHA1 Message Date
Alex Gleason
f1a286f5e0
Don't call fromJS in some reducers 2022-03-16 21:52:20 -05:00
Alex Gleason
8167b72762
Call fromJS in all normalizers 2022-03-16 21:47:58 -05:00
Alex Gleason
6b8e79d898
Export Record entities 2022-03-16 21:15:38 -05:00
Alex Gleason
db38d3cd59 Merge branch 'msw' into 'develop'
Mock API with MSW

See merge request soapbox-pub/soapbox-fe!1100
2022-03-17 02:02:34 +00:00
Alex Gleason
76eeb8a219
Delete+Redraft: drop attachments with integer IDs from Pleroma 2022-03-16 20:54:41 -05:00
Alex Gleason
9fa1dc3fe5
Merge remote-tracking branch 'mkljczk/mastodon-redraft' into pleroma-redraft-quirk 2022-03-16 19:50:41 -05:00
Alex Gleason
05b6d2124a Merge branch 'fix-move' into 'develop'
Fix move notification crashing Notifications page

Closes #861

See merge request soapbox-pub/soapbox-fe!1103
2022-03-17 00:39:08 +00:00
Alex Gleason
cd19425a0d
Fix move notification crashing Notifications page 2022-03-16 19:23:07 -05:00
Alex Gleason
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
Alex Gleason
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
Alex Gleason
4b543c6545 Merge branch 'suggestions-limit' into 'develop'
Suggestions: limit to 50 results

See merge request soapbox-pub/soapbox-fe!1102
2022-03-16 21:17:43 +00:00
Alex Gleason
c0ea0a948d
Suggestions: limit to 50 results 2022-03-16 16:01:36 -05:00
Alex Gleason
b64e961aca Merge branch 'gitignore-slashes' into 'develop'
gitignore: add slashes

See merge request soapbox-pub/soapbox-fe!1101
2022-03-16 20:33:54 +00:00
Alex Gleason
63f33dca6a
gitignore: add slashes 2022-03-16 15:32:43 -05:00
Alex Gleason
d07d9b5bed
Mock API with MSW 2022-03-16 13:55:18 -05:00
Alex Gleason
27564dd360
WIP: reducer typescript 2022-03-15 09:40:19 -05:00
Alex Gleason
16266f7cb4
reducers/instance: typescript conversion 2022-03-14 18:28:13 -05:00
Alex Gleason
b2a8f3c1bc
api: convert to typescript 2022-03-14 18:06:42 -05:00
Alex Gleason
a801a8a7c8
soapbox/store/configureStore --> soapbox/store, add custom Hooks 2022-03-14 18:04:49 -05:00
Alex Gleason
6a6a7b614d Merge branch 'pleroma-location' into 'develop'
Normalize Pleroma account location

See merge request soapbox-pub/soapbox-fe!1097
2022-03-14 22:13:01 +00:00
40b5761460 Normalize Pleroma account location
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-14 22:55:55 +01:00
Alex Gleason
a91fe1db91
configureStore: typescript conversion 2022-03-14 13:43:18 -05:00
marcin mikołajczak
ac55adfcb3 Merge branch 'redraft-mimetype' into 'develop'
Fix: Delete end edit on Markdown post loses Markdown setting

Closes #590

See merge request soapbox-pub/soapbox-fe!1096
2022-03-13 20:25:52 +00: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
Alex Gleason
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
Alex Gleason
28ecb9d912
Normalize Card entity 2022-03-12 15:54:28 -06:00
Alex Gleason
5c8e8d9f99
Break Attachment normalizer into its own module 2022-03-12 15:33:53 -06:00
Alex Gleason
6812e7bfd4
Move Poll normalizer into its own module 2022-03-12 15:22:18 -06:00
Alex Gleason
08f219ab64
Break Mention normalizer into its own module (with tests) 2022-03-12 15:12:16 -06:00
Alex Gleason
b100068b95
Normalizers: add jsdoc heading 2022-03-12 15:01:00 -06:00
Alex Gleason
2089cb124d
Test account.moved 2022-03-12 14:52:03 -06:00
Alex Gleason
66e51fa5ef
Status normalizer: revert update() refactor 2022-03-12 14:29:02 -06:00
Alex Gleason
b46f31e9f4
Account normalizer emojification tests 2022-03-12 14:19:34 -06:00
Alex Gleason
049d726ff5
Merge remote-tracking branch 'origin/develop' into normal-account-refactor 2022-03-11 21:22:19 -06:00
Alex Gleason
6fa973aec0
Remove importer/normalizer.js 2022-03-11 21:22:11 -06:00
Alex Gleason
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
Alex Gleason
2cd6499454
Attachment: add missing internal fields 2022-03-11 21:05:42 -06:00
Alex Gleason
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
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
4c2cdc4ac2
StatusRecord: let account be null by default 2022-03-11 12:15:49 -06:00
Alex Gleason
d48a9586e5
Convert Instance normalizer into TypeScript 2022-03-11 12:14:32 -06:00
Alex Gleason
37827c34d9
Create Notification normalizer 2022-03-11 12:13:36 -06:00
Alex Gleason
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
Alex Gleason
9547a7042d
Normalize chat in reducer, not action 2022-03-10 21:09:12 -06:00
Alex Gleason
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
Alex Gleason
ecaf726a19
Rename map --> entity 2022-03-10 20:40:04 -06:00
Alex Gleason
75db92719d
Normalize poll emoji 2022-03-10 19:55:14 -06:00
Alex Gleason
d600a74410
Revert "PollContainer: don't pass me as a prop"
This reverts commit dc2d3b1b09.
2022-03-10 19:36:58 -06:00