Commit graph

727 commits

Author SHA1 Message Date
Alex Gleason
dec89cb236
Remove unused .js files, remove groups 2022-11-03 15:52:25 -05:00
Alex Gleason
eeb8ca37a6
Merge remote-tracking branch 'origin/develop' into chats 2022-11-02 11:27:21 -05:00
Alex Gleason
7efb5729bd
Display only know notification types 2022-11-01 13:16:25 -05:00
Alex Gleason
18f73aae7c
Compose: don't inherit spoilerness of post being replied to 2022-10-31 16:50:06 -05:00
Alex Gleason
9ae8fc4e03
Compose: clean up unused sensitivity actions 2022-10-31 16:26:58 -05:00
Alex Gleason
9ea0b9cdbe
Compose: send sensitive: true when spoiler is enabled 2022-10-31 15:38:23 -05:00
3448022965 Support translation feature on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-27 19:48:41 +02:00
Chewbacca
6098084c7d Fix reducer test 2022-10-17 12:24:24 -04:00
9b43ed7015 fixes, improvements, cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-30 23:20:58 +02:00
Justin
0a8fa3e635 Add ability to report a Chat Message 2022-09-29 09:45:57 -04:00
04b4a57e06 Manage event
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-25 23:18:11 +02:00
fe7333ddb0 Information page, improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-21 23:27:53 +02:00
Alex Gleason
d7243c0e91
Merge remote-tracking branch 'origin/develop' into chats 2022-09-19 13:01:40 -05:00
706e303547 Show compose form on event discussion page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 21:06:09 +02:00
640000c18e Merge remote-tracking branch 'soapbox/compose' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:42:30 +02:00
f6af663e09 Merge remote-tracking branch 'soapbox/develop' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:39:13 +02:00
9b51b16e78 update test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 16:25:01 +02:00
c31e13b0a5 default cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:53:20 +02:00
cb3df8211c Merge remote-tracking branch 'soapbox/develop' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:40:29 +02:00
b38e5ec8e3 tests i can't run locally for now
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 10:40:19 +02:00
6cce0a0291 Introduce useCompose hook
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 20:01:44 +02:00
Alex Gleason
32a0ae2d1f Merge branch 'followers-tsx' into 'develop'
Followers/Following: convert to TSX

See merge request soapbox-pub/soapbox!1784
2022-09-13 03:45:57 +00:00
Justin
3bbeaa4cf4 Merge branch 'fix-infinite-scroll' into 'develop'
Map paginated results into normalized Tag

See merge request soapbox-pub/soapbox!1779
2022-09-12 12:28:19 +00:00
87877a3f96 TS/functional: Emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 19:28:12 +02:00
0c20739d71 Merge remote-tracking branch 'soapbox/delete-unused' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:35 +02:00
a9b8371086 Allow multiple compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:06 +02:00
Alex Gleason
3e2d917ca5
Delete height_cache.js 2022-09-10 12:06:31 -05:00
Alex Gleason
3f04d0a049
Followers/Following: convert to TSX 2022-09-10 11:56:02 -05:00
ac52071e2f Do not reset tab/searched account when clearing search input
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-09 23:20:26 +02:00
f7c09461fd Event pages?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-09 22:52:32 +02:00
Justin
3bef7c69ff Map paginated results into normalized Tag 2022-09-09 10:43:33 -04:00
Justin
6b38e37019 Merge remote-tracking branch 'origin/develop' into chats 2022-09-08 08:37:52 -04:00
b97518d600 Join state optimistic responses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-07 21:24:10 +02:00
df39036129 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-05 15:07:31 +02:00
9d3206f229 Allow users to create events
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-04 23:36:13 +02:00
Alex Gleason
d9d9c4521f
soapbox-pub/soapbox-fe --> soapbox-pub/soapbox 2022-09-04 15:15:54 -05:00
Justin
f16da850fd Add React Query 2022-08-31 13:20:53 -04:00
Justin
8fbe8a90e0 Use current trends for hashtag searching in composer 2022-08-22 10:16:25 -04:00
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
052547dc6b Fix debounce in search, clear accountId on submit from navbar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 17:36:11 +02:00
Justin
15f536e949 Use redux auth for now 2022-08-08 11:15:47 -04: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
c59f3947cb Allow to search for posts from given account
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 13:40:41 +02:00
74735eeedd Don't increase replies count when editing a post
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-06 14:39:05 +02:00
2ea76f74cf fix test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 00:38:00 +02:00
81af0e64f1 Use different confirmation modal/snackbar text for post editing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-03 23:55:14 +02:00
ac83c9c18c Support mutes duration
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-31 11:57:31 +02:00
Alex Gleason
46de5efc69
Always send the "to" field 2022-07-25 12:24:03 -05:00
Justin
c53b7a984f Refetch timeline if user stops following someone 2022-07-20 14:23:11 -04:00
2ba135bdce Allow reusing media_attachments if editing posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:31:40 +02:00
f80925c061 Show quoted post when editing a quote
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-17 20:17:21 +02:00
marcin mikołajczak
c5b751a68d Merge branch 'announcements' into 'develop'
Announcements

See merge request soapbox-pub/soapbox-fe!1614
2022-07-16 19:02:10 +00:00
583e4171f1 Add some tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 19:57:22 +02:00
ec040ff253 Merge remote-tracking branch 'soapbox/develop' into announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:54:04 +02:00
d5a6e978e6 Announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:47:58 +02:00
Alex Gleason
b7b0ad06dc
Merge remote-tracking branch 'origin/develop' into update-emoji-mart 2022-07-09 15:21:17 -05:00
Alex Gleason
3874d1d9ef
Merge remote-tracking branch 'origin/develop' into feed-suggestions 2022-07-09 15:02:45 -05: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
f5c3497ece Merge remote-tracking branch 'soapbox/develop' into announcements 2022-07-09 19:35:03 +02:00
ewwwwwwww
2f579839d8 rebased 2022-07-09 09:03:22 -07:00
ewwwwwwww
8d8cf53ac4 remove console log 2022-07-09 08:31:31 -07:00
ewwwwwwww
f08d43ecb3 small fixes 2022-07-09 08:31:31 -07:00
ewwwwwwww
485095e502 fixed types 2022-07-09 08:31:31 -07:00
ewwwwwwww
d98371bf6a migrate emoji types 2022-07-09 08:31:27 -07:00
ewwwwwwww
f8bd30a5f7 remove consolelog 2022-07-09 08:30:44 -07:00
ewwwwwwww
4b7876f1a6 enabled async component 2022-07-09 08:30:44 -07:00
b3b6a7e4bc Announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-07 23:10:09 +02:00
Alex Gleason
e9112506c6
FIX ACTION TESTS TYPES 2022-07-06 17:02:44 -05:00
Alex Gleason
e47e33e21c
FIX ROOT STATE TYPE!!!!! 2022-07-06 15:54:30 -05:00
Justin
da98a1e137 Build Feed Suggestions 2022-07-06 14:30:06 -04: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
1f3785c920 Add FeedCarousel 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
Alex Gleason
23c37229b8
Don't dismiss ServiceWorker snackbar 2022-06-23 18:03:35 -05:00
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
Alex Gleason
9fff48a49f
Alerts: refactor notifications_container 2022-06-23 17:29:10 -05:00
Alex Gleason
8a13984be1
Alerts: convert to TSX 2022-06-23 16:07:00 -05:00
Alex Gleason
3e205a9610
ServiceWorker: click toast to install update (dirty) 2022-06-23 15:20:41 -05:00
b9fc2c6e58 reducers/scheduled_statuses: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-23 20:45:46 +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
Alex Gleason
04d7a161cd
Merge remote-tracking branch 'origin/develop' into hoverstatus 2022-06-20 17:39:41 -05:00
88f690824c Update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 22:44:40 +02:00
419ab93077 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:11 +02:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
ewwwwwwww
3299d0b972 fix reply hover blocking bug 2022-06-17 12:39:17 -07:00
Justin
de7fa347df Specifically import the single lodash function 2022-06-17 07:37:53 -04:00
ewwwwwwww
cc7058349f add status reply hover 2022-06-16 21:19:53 -07:00
7b5114a1b8 prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 23:07:06 +02:00
e78108efe2 TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 20:15:34 +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
cdbb88d2e0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:14:46 +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
a8a1567917 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 00:05:04 +02:00
a66c174c2d Add normalizers, fix tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-08 23:43:27 +02:00
5fe442b684 ESLint: add no-duplicate-imports rule
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 22:21:18 +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
8433ff70b0 Add tests for account-notes action 2022-05-27 14:11:36 -04:00
Justin
517c21ae52 Add grouped notifications messaging 2022-05-24 17:11:47 -04:00
marcin mikołajczak
7c3d0c821b Merge branch 'mastodon-admin-api' into 'develop'
Mastodon admin API

See merge request soapbox-pub/soapbox-fe!1387
2022-05-21 18:23:45 +00: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
marcin mikołajczak
21be58ecb4 Merge branch 'remove-from-followers' into 'develop'
Add 'Remove from followers'

See merge request soapbox-pub/soapbox-fe!1408
2022-05-20 18:58:36 +00: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
Justin
c6c65a0d48 Add infinite scroll to suggestions onboarding 2022-05-19 12:29:28 -04: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
e21ec04be6 Add 'Remove from followers'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-17 13:07:34 +02:00
Justin
e2b0994780 Add test 2022-05-17 06:40:43 -04:00
Justin
6bdc9b4d2f Fix redraft: don't set compose id 2022-05-17 06:31:19 -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
88b91bce3e Mastodon admin API
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 17:40:47 +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
88404f32b6
Search reducer: convert to TypeScript 2022-05-14 13:18:31 -05:00
Alex Gleason
5bbfb0cc39
Convert Trends, Suggestions, and TrendingStatuses reducers to TypeScript 2022-05-14 13:07:32 -05:00
Alex Gleason
165d6d197e
Rip out identity_proofs 2022-05-14 12:01:21 -05:00
Alex Gleason
0b8fbdfbb9
Contexts: remove unnecessary isReplyTo function (now handled by connectNodes) 2022-05-13 17:17:06 -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
b4e27e5dcd
Contexts: stop spewing tombstones everywhere 2022-05-13 16:34:45 -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
2290bfb334
Contexts reducer: convert to TypeScript 2022-05-13 14:30:11 -05:00
Alex Gleason
02726cfcc3
Fix paginated comments, improve Mastodon tombstones 2022-05-13 13:07:11 -05:00
c540ae2201 Restore session management
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-12 17:45:40 +02:00
Alex Gleason
b64be353cc
eslint: indent switch statements 2022-05-11 16:06:35 -05:00
Alex Gleason
ae01b845de
eslint: enforce spacing of imports (and infix ops) 2022-05-11 12:40:34 -05:00
Alex Gleason
99b76bb745
Fix LandingPage test. Fix rememberSoapboxConfig not importing (!!) 2022-05-10 19:11:26 -05:00
Alex Gleason
a657b6374c
Search: fix crash on paginating hashtags 2022-05-06 11:36:55 -05:00
ffbb6f51de use camelCase
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-04 20:36:46 +02: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
Justin
e2f24cdd6b Account for multiple rules 2022-05-03 08:15:11 -04: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
Alex Gleason
9cbe98f131
Reports: submit rule_ids to API 2022-05-02 14:39:08 -05:00
Justin
86fb9bf704 Add ProgressBar and dark mode support 2022-05-02 13:55:08 -04: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