Commit graph

3865 commits

Author SHA1 Message Date
86579abd45 Workaround for filtering on latest Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 19:59:00 +02:00
38066799e3 Merge remote-tracking branch 'soapbox/develop' into hide-profile-tabs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:31:32 +02:00
b57cecea8d Minor visual improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:27:52 +02:00
3d057daa43 Apply suggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:03:52 +02:00
Justin
7482d37f5c Merge branch 'add-loading-state-to-carousel' into 'develop'
Add disabled state when changing feed filter

See merge request soapbox-pub/soapbox-fe!1636
2022-07-14 20:58:00 +00:00
Justin
6f727ae139 Add disabled state when changing feed filter 2022-07-14 15:46:04 -04:00
Alex Gleason
3377f1dcd1 Merge branch 'developers-stuff' into 'develop'
Add advanced settings under Developers section, refactor

See merge request soapbox-pub/soapbox-fe!1625
2022-07-14 18:18:22 +00:00
Alex Gleason
04ff9de05d Merge branch 'phone-input' into 'develop'
Introduce PhoneInput component

See merge request soapbox-pub/soapbox-fe!1632
2022-07-14 18:16:40 +00:00
Alex Gleason
489792e1f3 Merge branch 'ptr-fix' into 'develop'
Remove PullToRefresh from ScrollableList, wrap outer components instead

See merge request soapbox-pub/soapbox-fe!1633
2022-07-14 18:10:43 +00:00
Justin
150510bc8a Format number after changing country code 2022-07-14 14:08:59 -04:00
Alex Gleason
4b94bc8b5d
Merge remote-tracking branch 'origin/develop' into ptr-fix 2022-07-14 13:01:18 -05:00
Jason Hollis
4925e17d0c
Fixed grammar 2022-07-14 12:56:50 -04:00
Justin
07f6935789 Refactor dropdown into 'addon' on Input 2022-07-14 11:55:00 -04:00
marcin mikołajczak
0c13ecf10f Merge branch 'ts-notifications' into 'develop'
Notifications: TS

See merge request soapbox-pub/soapbox-fe!1628
2022-07-14 05:42:09 +00:00
marcin mikołajczak
2d5454a93f Merge branch 'ts' into 'develop'
TypeScript, React.FC

See merge request soapbox-pub/soapbox-fe!1592
2022-07-14 05:41:41 +00:00
Alex Gleason
f4f34cf585
Remove PullToRefresh from ScrollableList, wrap outer components instead 2022-07-13 20:13:37 -05:00
Alex Gleason
99c67916dd
PhoneInput: add some helpful comments 2022-07-13 19:50:07 -05:00
Alex Gleason
efad8e0e67
Fix SmsVerification test 2022-07-13 19:34:29 -05:00
Alex Gleason
6f2ba29f81
Merge remote-tracking branch 'origin/develop' into phone-input 2022-07-13 19:15:46 -05:00
Alex Gleason
ca833e5eed
Revert "Timeline: don't try to memoize getStatusIds"
This reverts commit dd58f8fce7.
2022-07-13 19:15:39 -05:00
Alex Gleason
21e7215beb
Remove legacy phone formatting code 2022-07-13 19:09:13 -05:00
Alex Gleason
11a0329924
Fix pages that use PhoneInput 2022-07-13 19:08:19 -05:00
Alex Gleason
7f7edf9162
PhoneInput: improve styles 2022-07-13 18:45:42 -05:00
Alex Gleason
0591bf72a5
PhoneInput: remove unnecessary handleCountryChange function 2022-07-13 18:10:16 -05:00
Alex Gleason
ba98a8e82f
PhoneInput: prettify input while typing 2022-07-13 18:09:48 -05:00
Alex Gleason
f62dcc6650
Simplify PhoneInput to only care about its own internal state 2022-07-13 17:37:40 -05:00
849d82d620 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 23:59:27 +02:00
3e6dc0cfe7 PinnedStatuses: TS, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 21:03:45 +02:00
479386af03 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 20:57:12 +02:00
54ad8f7fbb Hide tabs on Followers, Following… pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 20:54:43 +02:00
583e4171f1 Add some tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 19:57:22 +02:00
Alex Gleason
0ed1c3ca83
Improve display of PhoneInput 2022-07-13 12:26:07 -05:00
Alex Gleason
85cf99f618
CountryCodeDropdown: use button element 2022-07-13 12:16:54 -05:00
Alex Gleason
a8c709b41c
Refactor formatPhoneNumber to accept countryCode 2022-07-13 11:40:02 -05:00
Alex Gleason
5c9cecf8c8
Add PhoneInput component 2022-07-13 09:42:58 -05:00
Alex Gleason
dd58f8fce7
Timeline: don't try to memoize getStatusIds 2022-07-11 19:29:38 -05:00
d527425f67 Update notification.test.tsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-12 00:25:07 +02:00
37d97eb857 Notifications: TS
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-11 23:27:43 +02:00
marcin mikołajczak
ffe14d9aa7 Merge branch 'notifications-empty-messages' into 'develop'
Show different 'empty notifications' message if category is selected

See merge request soapbox-pub/soapbox-fe!1627
2022-07-11 20:20:44 +00:00
c9edf20ab7 Show different 'empty notifications' message if category is selected
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-11 20:10:14 +02:00
marcin mikołajczak
30bf4a04b3 Merge branch 'styles-' into 'develop'
Federation restrictions page styles

See merge request soapbox-pub/soapbox-fe!1622
2022-07-11 17:53:47 +00:00
Alex Gleason
70cd4148e6 Merge branch 'subscription-button-no-tooltip' into 'develop'
SubscriptionButton: remove tooltip warning about web push

See merge request soapbox-pub/soapbox-fe!1618
2022-07-11 17:15:03 +00:00
Alex Gleason
641c87866e
SettingsStore: add advanced quickfilter toggle 2022-07-11 12:10:02 -05:00
Alex Gleason
c8004a7532
SettingsStore: add advanced settings toggles 2022-07-11 12:04:00 -05:00
Alex Gleason
faa02ecc3d
Preferences: prefer custom hooks 2022-07-11 11:54:51 -05:00
Alex Gleason
5a8bae5126
Rename developers modules with hypens 2022-07-11 11:44:03 -05:00
Alex Gleason
55cff5638f
CreateApp: manage params with POJO 2022-07-11 11:42:10 -05:00
Alex Gleason
104c2305fb
CreateApp: convert to TSX+FC 2022-07-11 11:34:14 -05:00
Alex Gleason
930a10a63e
SettingsStore: convert to TSX+FC 2022-07-11 10:48:25 -05:00
Justin
96e47962c9 Hide carousel if no avatars 2022-07-11 09:10:10 -04:00
Justin
1254f8a3f3 Merge branch 'feed-suggestions' into 'develop'
Feed suggestions

See merge request soapbox-pub/soapbox-fe!1595
2022-07-11 13:00:41 +00:00
604ad37c11 Federation restrictions page styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-11 00:02:08 +02:00
f6a0d31b54 Disable announcements reactions on Pleroma
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-10 23:35:22 +02:00
724fe8b765 statuses links
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-10 00:15:14 +02:00
1805dec968 remove onLinkClick
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:59:41 +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
cb26a515a2
Fix suggestions test types 2022-07-09 15:08:01 -05:00
Alex Gleason
3874d1d9ef
Merge remote-tracking branch 'origin/develop' into feed-suggestions 2022-07-09 15:02:45 -05:00
Alex Gleason
ef6510f03b
Merge remote-tracking branch 'origin/develop' into subscription-fixes 2022-07-09 14:46:47 -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
Alex Gleason
16c08b23a8
Fix improper import of Tabler icons 2022-07-09 11:22:38 -05:00
Alex Gleason
6ddb44f626
Upgrade Tabler to v1.73.0, use new import paths, remove Webpack hack 2022-07-09 11:20:02 -05:00
Alex Gleason
018117049e
Update icons in notifications filter bar 2022-07-08 18:33:10 -05:00
Alex Gleason
f66d65924a
Better enforcement of notification types 2022-07-08 18:09:57 -05:00
Alex Gleason
627e6c574f
Drop invalid notifications 2022-07-08 17:52:39 -05:00
Alex Gleason
463c9fc9f5
Please the linter gods 2022-07-08 17:49:30 -05:00
Alex Gleason
b10dc7ea6e
Notification: fix ariaLabel crash 2022-07-08 17:20:41 -05:00
8be4bb7409 Ensure attachment meta is not null
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 00:15:26 +02:00
Alex Gleason
48bd46cf92
Web push locales: add pleroma locales 2022-07-08 17:08:41 -05:00
Alex Gleason
143aa119d2
notification.chat_mention --> notification.pleroma:chat_mention 2022-07-08 17:07:38 -05:00
Alex Gleason
94cbffc194
Add missing web push locales 2022-07-08 17:05:19 -05:00
2925c88360 wip
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 00:01:25 +02:00
Alex Gleason
44d0a75044
SubscriptionButton: remove tooltip warning about web push 2022-07-08 16:54:23 -05:00
Alex Gleason
1b373fae97
Fix registration test 2022-07-08 15:08:24 -05:00
Alex Gleason
da9eaf2b82
verifyCredentials: do alert on failure 2022-07-08 14:48:06 -05:00
Alex Gleason
3fbc912dae
logIn: rethrow 403 for non-waitlisted account 2022-07-08 14:38:36 -05:00
Alex Gleason
ef6608341f Merge branch 'login-header-fix' into 'develop'
Public layout header: fix weird error where the header can disappear

See merge request soapbox-pub/soapbox-fe!1616
2022-07-08 19:04:54 +00:00
Alex Gleason
f37f4b9e6e
Public layout header: fix weird error where the header can disappear 2022-07-08 13:50:38 -05:00
Alex Gleason
8bc8137231
actions/auth: ignore the backend error message, always display "wrong username/password" 2022-07-08 13:02:07 -05:00
b3b6a7e4bc Announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-07 23:10:09 +02:00
Alex Gleason
334857045a Merge branch 'emoji-button' into 'develop'
Emoji reacts: show the emoji you reacted with on the button

See merge request soapbox-pub/soapbox-fe!1571
2022-07-07 16:10:59 +00:00
Alex Gleason
bcc9ff5066 Merge branch 'ts-tests' into 'develop'
Make TypeScript work correctly in tests

Closes #1010

See merge request soapbox-pub/soapbox-fe!1610
2022-07-07 13:39:51 +00:00
Justin
725b00039d Merge branch 'subscription-feedback' into 'develop'
Improve UX after subscribing to account if web notifications are disabled

See merge request soapbox-pub/soapbox-fe!1608
2022-07-07 01:01:58 +00:00
Alex Gleason
afe1edddf9
rootReducer(undefined, {} as any) --> rootState 2022-07-06 17:22:11 -05: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
Alex Gleason
8da7b8fe7a
Fix rootState type in tests 2022-07-06 15:25:07 -05:00
Alex Gleason
06d3f00170
Switch to @jedmao/redux-mock-store 2022-07-06 13:56:55 -05:00
Justin
cfcfb8e671 Improve alignment of actions 2022-07-06 14:36:28 -04:00
Justin
b706271687 Intl 2022-07-06 14:30:06 -04:00
Justin
c664844e3c Persist suggestions when filtering feed 2022-07-06 14:30:06 -04:00
Justin
2f465fbc14 Use same value as 'showProfileHoverCard' 2022-07-06 14:30:06 -04:00
Justin
7b9a9c8e34 Fix overflow of text in feed filtering 2022-07-06 14:30:06 -04:00
Justin
b46ccc8b3e Add tests for suggestions action 2022-07-06 14:30:06 -04:00
Justin
41d5769aa0 Lint 2022-07-06 14:30:06 -04:00
Justin
b9d05f546c Lint 2022-07-06 14:30:06 -04:00
Justin
da98a1e137 Build Feed Suggestions 2022-07-06 14:30:06 -04:00
Justin
1309521b9c Improve Stack and HStack components 2022-07-06 14:30:06 -04:00
Justin
f148cda74a Extend Account component 2022-07-06 14:30:03 -04:00
Justin
3e8ebb1661 Improve UX after subscribing to account 2022-07-06 14:20:20 -04:00
Justin
b2f2bcb833 Center tooltips and add arrow 2022-07-06 14:19:51 -04:00
Justin
3f74455484 Improve UI of IconButton when disabled 2022-07-06 14:19:42 -04:00
Alex Gleason
2dd1631162
More component test TS fixes 2022-07-06 13:12:35 -05:00
Alex Gleason
0c7f1628b0
Fix more types in tests 2022-07-06 12:31:11 -05:00
Alex Gleason
590e85ac59
Fix notification test types 2022-07-06 12:24:45 -05:00
Alex Gleason
bdf00bb692
Fix types in various component tests 2022-07-06 12:17:17 -05:00
Alex Gleason
354395501e
Fix verification tests types 2022-07-06 12:11:39 -05:00
Alex Gleason
882e4b2fda
Fix hooks tests types 2022-07-06 12:10:21 -05:00
Alex Gleason
9d85a9f863
Fix normalizer test types 2022-07-06 12:08:51 -05:00
Alex Gleason
c66f5c040f
Fix utils tests types 2022-07-06 11:57:32 -05:00
Alex Gleason
073dd4f37a
Fix types in reducer tests 2022-07-06 11:53:55 -05:00
Alex Gleason
8685b64f9d
utils/numbers: fix test 2022-07-06 11:36:01 -05:00
Alex Gleason
cc4c8a0188
Fix utils/tailwind test 2022-07-06 11:33:22 -05:00
Alex Gleason
a509428f97
utils/timelines test: remove fromJS calls 2022-07-06 11:32:14 -05:00
Alex Gleason
db953b1ec2 Merge branch 'account-grow' into 'develop'
Account: don't grow more than needed

Closes #891 and #1017

See merge request soapbox-pub/soapbox-fe!1601
2022-07-06 15:07:45 +00:00
Alex Gleason
9ce9a3f951
patchMe(): use multipart/form-data only optionally 2022-07-05 21:04:42 -05:00
Alex Gleason
d6d4fd2b91
Merge remote-tracking branch 'origin/develop' into edit-profile-fixes 2022-07-05 20:59:45 -05:00
Alex Gleason
bae21c9e00
Datepicker: fix test failing due to date matching today 2022-07-05 11:53:05 -05:00
Alex Gleason
997b709d8a Merge branch 'modal-overflow' into 'develop'
Modal: remove overflow-hidden

Closes #1021

See merge request soapbox-pub/soapbox-fe!1598
2022-07-05 14:04:41 +00:00
Alex Gleason
62ea445da5
StatusActionButton: use a black/white counter if emoji is present 2022-07-04 17:24:18 -05:00
Alex Gleason
82376d4b66
Merge remote-tracking branch 'origin/develop' into emoji-button 2022-07-04 16:52:59 -05:00
Alex Gleason
db56044f24
Revert "Remove react-router-scroll-4"
This reverts commit 01d9f918ce.
2022-07-04 16:21:35 -05:00
Alex Gleason
01b3223886
Account: don't grow more than needed 2022-07-04 15:13:19 -05:00
Alex Gleason
02f0c15a8c
Modal: remove overflow-hidden 2022-07-04 13:54:57 -05:00
Alex Gleason
cef4b16a69
Account normalizer: use '' as default birthday 2022-07-04 13:29:05 -05:00
Alex Gleason
d168302e72
EditProfile: reenable birthdays with TextInput (for now) 2022-07-04 13:24:55 -05:00
Alex Gleason
388d887583
Upgrade axios to v1.0.0-alpha.1, remove custom toFormData implementation 2022-07-04 12:53:25 -05:00
8e8329a7b0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-01 00:04:56 +02:00
Alex Gleason
2f78b9ccc6 Merge branch 'remove-unauth-setting' into 'develop'
Remove the guestExperience setting

See merge request soapbox-pub/soapbox-fe!1582
2022-06-30 15:15:23 +00:00
9a207c970f TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-30 16:51:36 +02:00
Justin
d4facbd3f5 Lint 2022-06-30 08:51:35 -04:00
Justin
7ecb8f8d35 Merge branch 'feed-replacement' into 'develop'
Build Feed Filtering feature into the Home Timeline

See merge request soapbox-pub/soapbox-fe!1558
2022-06-30 12:19:51 +00:00
marcin mikołajczak
891e844792 Merge branch 'poll-hint' into 'develop'
Polls: Hide multiple options hint if already voted

See merge request soapbox-pub/soapbox-fe!1587
2022-06-30 12:15:16 +00:00
marcin mikołajczak
afc933b3ef Merge branch 'preferences-features' into 'develop'
Don't display 'Always expand posts…' preference if spoilers feature not available

See merge request soapbox-pub/soapbox-fe!1589
2022-06-30 05:46:45 +00:00
dca0abed0f Don't display 'Always expand posts…' preference if spoilers feature not available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:54:56 +02:00
baaffa2d85 Allow up/down hotkey navigation in posts search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:50:45 +02:00
60f6bff306 Polls: Hide multiple options hint if already voted
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:05:26 +02:00
Alex Gleason
b3dc044ff3
Redirect /login when a user is signed in, add /login/add for multiple accounts 2022-06-29 13:32:59 -05:00
Alex Gleason
2e3718e548
Make /search a non-public route 2022-06-29 10:14:04 -05:00
Justin
8c581fc415 Skip dequeue when feed filtering 2022-06-29 11:10:00 -04:00
Justin
1e53c9f6d4 username -> acct 2022-06-29 11:10:00 -04:00
Justin
303ad10730 username -> acct 2022-06-29 11:10:00 -04:00
Justin
afabe9525d Fix test 2022-06-29 11:10:00 -04:00
Justin
5f2e2c7fa4 Add tests for FeedCarousel 2022-06-29 11:10:00 -04:00
Justin
9e6bb5264a Handle error state for carousels 2022-06-29 11:10:00 -04:00
Justin
14a9a2f4eb Update UI around Empty Message 2022-06-29 11:10:00 -04:00
Justin
1f3785c920 Add FeedCarousel 2022-06-29 11:10:00 -04:00
Justin
bdee28fd07 Add "useDimensions" hook 2022-06-29 11:10:00 -04:00