Commit graph

4804 commits

Author SHA1 Message Date
Alex Gleason
3a010fa60d
Don't add title to Rumble ads provider 2022-08-03 11:12:22 -05:00
Alex Gleason
0bffe4a227
Refactor status Card description with UI components 2022-08-03 11:05:57 -05:00
Alex Gleason
19ffcd2233
Merge remote-tracking branch 'origin/develop' into ads 2022-08-03 10:51:07 -05:00
Alex Gleason
1c78a2ea46
Refactor status Card description 2022-08-03 10:48:50 -05:00
Alex Gleason
77ad89bc48
Fix height of horizontal link cards 2022-08-03 10:33:35 -05:00
Justin
9474afd765 Merge branch 'improve-branding-and-dark-mode' into 'develop'
Improve visuals with branding

See merge request soapbox-pub/soapbox-fe!1675
2022-08-03 12:56:57 +00:00
Alex Gleason
c74721f1e1
Ads: display tooltip 2022-08-02 20:52:27 -05:00
Alex Gleason
ad7ec8b1a6
Make ads horizontal cards 2022-08-02 20:14:28 -05:00
Alex Gleason
d26e814472 Merge branch 'empty-timeline' into 'develop'
ScrollableList: use Virtuoso's native EmptyComponent again, fix timeline pagination when items are filtered

See merge request soapbox-pub/soapbox-fe!1692
2022-08-02 13:53:18 +00:00
marcin mikołajczak
ba45dba216 Merge branch 'stream-markers' into 'develop'
streaming: Handle marker updates

See merge request soapbox-pub/soapbox-fe!1697
2022-08-02 08:03:56 +00:00
Alex Gleason
f6e5df2278
Jest: include QueryClientProvider in tests 2022-08-01 23:42:13 -05:00
Alex Gleason
0eeca2be5c
Add Rumble AdProvider 2022-08-01 23:12:11 -05:00
Alex Gleason
b02141874e
Show ads in feed 2022-08-01 22:49:16 -05:00
Alex Gleason
92a5893f83
Add react-query 2022-08-01 20:13:02 -05:00
Alex Gleason
f112dd980b
AdProvider boilerplate 2022-08-01 18:50:46 -05:00
Alex Gleason
d5fd3af903
Ad: use card.width, card.height 2022-08-01 18:02:23 -05:00
Alex Gleason
21ac46bada
Ad: fetch impression URL 2022-08-01 17:55:13 -05:00
Alex Gleason
a509f72c40
Create Ad component 2022-08-01 17:36:15 -05:00
Justin
20209c81ab Improve visuals with branding
Co-authored-by: Alex Gleason <alex@alexgleason.me>
2022-08-01 14:40:07 -04:00
a9aae8fbe8 Use types param in /api/v1/notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-01 18:56:11 +02:00
16544e7151 Do not require build === soapbox for account moving
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-01 18:35:32 +02:00
560f4592e7 Stream marker updates
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-01 18:31:49 +02:00
Alex Gleason
7f14dd2331
Notification: treat follow differently from follow_request 2022-07-30 18:37:48 -05:00
e45623eef6 Fix: Unable to approve follower requests from notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-30 23:34:18 +02:00
Alex Gleason
3082555c5f
ScrollableList: use Virtuoso's native EmptyComponent again, fix timeline pagination when items are filtered 2022-07-30 13:54:43 -05:00
d7967882a0 Allow to paste attachments in chat box
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-29 22:03:45 +02:00
Justin
e7cefaa6ed Merge branch 'banner-tweak' into 'develop'
Add support for shadow-3xl

See merge request soapbox-pub/soapbox-fe!1690
2022-07-28 13:52:04 +00:00
marcin mikołajczak
f05ca46138 Merge branch 'edit-notifications' into 'develop'
Status edits notifications

See merge request soapbox-pub/soapbox-fe!1689
2022-07-28 13:39:43 +00:00
Justin
cec3573253 Add support for shadow-3xl 2022-07-28 09:38:05 -04:00
Justin
dc0624916a Merge branch 'improve-positioning' into 'develop'
Improve center position of cards for the Auth Layout

See merge request soapbox-pub/soapbox-fe!1688
2022-07-28 12:06:07 +00:00
217b97cf4a Remove Move notifications from filter bar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-27 23:47:30 +02:00
d05cabe9a8 Status edits notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-27 23:47:16 +02:00
Alex Gleason
7d134fcca3 Merge branch 'to-test' into 'develop'
Compose: add mentions from text test

See merge request soapbox-pub/soapbox-fe!1684
2022-07-27 12:44:50 +00:00
Justin
0e9aa9c62a Improve center position of cards for the Auth Layout 2022-07-27 08:22:45 -04:00
Alex Gleason
7a223d481a
Merge remote-tracking branch 'origin/develop' into gdpr-banner-buttons 2022-07-26 14:08:02 -05:00
Alex Gleason
0016bf1457
GdprBanner: fix multiline buttons 2022-07-26 13:54:19 -05:00
Justin
032735bac4 Lint 2022-07-26 14:53:17 -04:00
Alex Gleason
50d60b7bb4 Merge branch 'gdpr' into 'develop'
GDPR banner

See merge request soapbox-pub/soapbox-fe!1678
2022-07-26 18:34:23 +00:00
Justin
309c8bee80 Merge branch 'tos' into 'develop'
Add ToS acceptance to registration

See merge request soapbox-pub/soapbox-fe!1680
2022-07-26 18:23:50 +00:00
Justin
0b06731b07 Simplify the Banner width across usage 2022-07-26 14:22:13 -04:00
Alex Gleason
33f20564c7
Compose: add mentions from text test 2022-07-26 12:53:08 -05:00
Alex Gleason
aab3497f46
Banner: improve mobile styles 2022-07-26 11:52:58 -05:00
Alex Gleason
f13cfcaf8c
GdprBanner: slideout on accept 2022-07-26 11:37:02 -05:00
Alex Gleason
4f0e104fc4
GdprBanner: conditionally show "Learn more" button 2022-07-26 11:15:04 -05:00
Alex Gleason
d422bdf3d3
Add GdprBanner component, remove useGdpr hook 2022-07-26 10:58:17 -05:00
Alex Gleason
a984bfd76a Merge branch 'to-fix' into 'develop'
Always send the "to" field

See merge request soapbox-pub/soapbox-fe!1679
2022-07-26 15:48:47 +00:00
Alex Gleason
af6cb3a4c2
Merge remote-tracking branch 'origin/develop' into gdpr 2022-07-26 10:32:15 -05:00
Alex Gleason
0480bfab94
Add Banner UI component 2022-07-26 10:30:48 -05:00
Justin
090a93a6c3 Add back locale 2022-07-26 10:51:30 -04:00
marcin mikołajczak
fa8f4b7a2a Merge branch 'icons' into 'develop'
Replace LineAwesome with Tabler in some places

See merge request soapbox-pub/soapbox-fe!1683
2022-07-26 14:07:53 +00:00
df136bb8c8 Use file-spreadsheet icon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 12:56:31 +02:00
eb62ebfa52 Replace LineAwesome with Tabler in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 12:30:51 +02:00
58952f0ab2 Add break-words to profile fields content
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 11:53:36 +02:00
Alex Gleason
83329d0887
Copy react-notification's source code directly into the project 2022-07-25 22:58:09 -05:00
Alex Gleason
8cce389568
Use a perfect regex 2022-07-25 17:41:28 -05:00
Justin
40562248e0 Add ToS acceptance to registration 2022-07-25 15:41:23 -04:00
Alex Gleason
46de5efc69
Always send the "to" field 2022-07-25 12:24:03 -05:00
Alex Gleason
2db72c2a58 Merge branch 'developers-commithash' into 'develop'
Developers: display Soapbox version and commit hash in developers menu

See merge request soapbox-pub/soapbox-fe!1673
2022-07-25 15:44:47 +00:00
Alex Gleason
5916041fec
Add useTheme hook 2022-07-22 17:25:52 -05:00
Alex Gleason
7bbb9839ba
SoapboxMount: break even more out into SoapboxHead 2022-07-22 17:14:49 -05:00
Alex Gleason
dcd32e32a4
Add configurable GDPR alert 2022-07-22 17:04:53 -05:00
Alex Gleason
e3db81d652
SoapboxMount: break SoapboxLoad into a separate component 2022-07-22 17:01:26 -05:00
da1caf93dd For multi-response polls, show the number of people that voted instead of the sum of all votes submitted
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-22 23:48:27 +02:00
Alex Gleason
24ab5cd19a Merge branch 'external-login-errors' into 'develop'
ExternalLogin: display snackbar errors

See merge request soapbox-pub/soapbox-fe!1672
2022-07-22 17:41:57 +00:00
Alex Gleason
6be7c58883 Merge branch 'mastodon-admin-scopes' into 'develop'
Add Mastodon admin scopes

See merge request soapbox-pub/soapbox-fe!1668
2022-07-22 14:15:16 +00:00
marcin mikołajczak
f12fc96eb9 Merge branch 'restore-account-endorsements' into 'develop'
Restore featured accounts

See merge request soapbox-pub/soapbox-fe!1670
2022-07-22 13:37:59 +00:00
045a73f1d9 conditionally show endorse toggle
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-22 13:29:00 +02:00
Alex Gleason
1ffd61af67
DevelopersMenu: display source code version 2022-07-21 19:53:43 -05:00
Alex Gleason
cbd9dd52ee
DevelopersMenu: refactor DashWidget into a React.FC 2022-07-21 19:46:37 -05:00
Alex Gleason
131c783ea9
ExternalLogin: display snackbar errors 2022-07-21 17:16:46 -05:00
a3afeb6c54 Fix: When I visit a link to a status, the user's avatar is focused
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:47:21 +02:00
3c835cf724 Restore featured accounts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:14:23 +02:00
Alex Gleason
cff1762cc3
Add Mastodon admin scopes 2022-07-21 15:26:46 -05:00
Alex Gleason
8a392c187f
Add eslint-plugin-compat 2022-07-21 12:19:36 -05:00
Justin
2dcf42e2c8 Merge branch 'improve-mobile-suggestions' into 'develop'
Improve mobile display of feed suggestions

See merge request soapbox-pub/soapbox-fe!1664
2022-07-21 14:57:26 +00:00
Alex Gleason
d32b6bca83 Merge branch 'autofill' into 'develop'
Restore autocomplete in some cases

See merge request soapbox-pub/soapbox-fe!1662
2022-07-21 14:45:22 +00:00
Justin
e6a1b20005 Merge branch 'timeline-fix' into 'develop'
Refetch timeline if user stops following someone

See merge request soapbox-pub/soapbox-fe!1663
2022-07-21 13:56:07 +00:00
Justin
a5b8837a4d Improve mobile display of feed suggestions 2022-07-21 09:54:58 -04:00
Justin
c53b7a984f Refetch timeline if user stops following someone 2022-07-20 14:23:11 -04:00
Alex Gleason
287429d651
Restore autocomplete in some cases 2022-07-20 12:41:39 -05:00
b294769dfe Merge remote-tracking branch 'soapbox/develop' into styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-20 19:21:53 +02:00
Justin
25b8835e6a Fix backdrop-blur for Firefox 2022-07-20 09:13:12 -04:00
Justin
c30e8f1fd9 Set the ref on the actual carousel div 2022-07-20 09:01:36 -04:00
f6900ed6ca Pullable: Remove pullingContent={undefined}
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 23:44:11 +02:00
Alex Gleason
077b2398ba Merge branch 'normalize-username' into 'develop'
Login: strip whitespace around username, strip leading @

See merge request soapbox-pub/soapbox-fe!1655
2022-07-19 19:57:31 +00:00
Alex Gleason
edfd498b7f
Sync up TruthSocial features 2022-07-19 14:22:19 -05:00
marcin mikołajczak
d6f3cc7442 Merge branch 'emoji-pointer' into 'develop'
Add cursor-pointer to emoji reactions in StatusInteractionBar

See merge request soapbox-pub/soapbox-fe!1656
2022-07-19 13:47:19 +00:00
Justin
04a4e82df3 Merge branch 'carousel-cutoff' into 'develop'
Carousel cutoff

See merge request soapbox-pub/soapbox-fe!1649
2022-07-19 13:12:13 +00:00
c43ad4fe88 Add cursor-pointer to emoji reactions in StatusInteractionBar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 12:35:41 +02:00
marcin mikołajczak
87e39f52e6 Merge branch 'color-picker' into 'develop'
Fix color picker closing on toggle

See merge request soapbox-pub/soapbox-fe!1653
2022-07-19 05:11:51 +00:00
marcin mikołajczak
6b23aee703 Merge branch 'edit-media-attachments' into 'develop'
Allow reusing media_attachments if editing posts

See merge request soapbox-pub/soapbox-fe!1652
2022-07-19 05:11:38 +00:00
marcin mikołajczak
5d45c5dd95 Merge branch 'chats-autosuggest' into 'develop'
Chats account autosuggest fixes

See merge request soapbox-pub/soapbox-fe!1651
2022-07-19 05:11:30 +00:00
marcin mikołajczak
0f94fd3cec Merge branch 'chats-empty-message' into 'develop'
Display 'No chats found' in a card

See merge request soapbox-pub/soapbox-fe!1650
2022-07-19 05:11:18 +00:00
marcin mikołajczak
5edcc0459c Merge branch 'birthday-input-clear' into 'develop'
Allow to clear BirthdayInput

See merge request soapbox-pub/soapbox-fe!1654
2022-07-19 05:11:07 +00:00
Alex Gleason
0a74c64bb7
Actually, remove pattern from login inputs (it can be an email too) 2022-07-18 21:52:27 -05:00
Alex Gleason
fb45d62d70
Login: strip whitespace around username, strip leading @ 2022-07-18 21:50:02 -05:00
marcin mikołajczak
b0a9244782 Update index.tsx 2022-07-18 22:35:07 +00:00
4af99de109 Allow to clear BirthdayInput
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 00:11:12 +02:00
15852154c5 Fix color picker closing on toggle
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:44:37 +02: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
81e14962ca Chats account autosuggest fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:28:48 +02:00
2f5ca7c740 Display 'No chats found' in a card
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:01:09 +02:00
marcin mikołajczak
547bb0a9e9 Merge branch 'feed-suggestions-hide-empty' into 'develop'
Hide FeedSuggestions if empty

See merge request soapbox-pub/soapbox-fe!1647
2022-07-18 19:56:15 +00:00
Justin
0de3da4302 Ensure no cuttoff in Feed Carousel 2022-07-18 15:23:39 -04:00
b92cdabd62 Hide FeedSuggestions if empty
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 21:10:05 +02:00
bd05f8a245 Add object-cover to avatars in FeedSuggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 21:08:43 +02:00
Justin
d807aae502 Add test for 'patchMe' action 2022-07-18 12:53:57 -04:00
Justin
781639bde8 Add test for 'fetchMe' action 2022-07-18 12:50:18 -04:00
marcin mikołajczak
9de46333b2 Merge branch 'hide-profile-tabs' into 'develop'
Hide tabs on Followers, Following… pages

See merge request soapbox-pub/soapbox-fe!1630
2022-07-18 15:41:01 +00:00
Justin
a6122d0527 refactor 2022-07-18 10:26:51 -04:00
Justin
6b2027cba5 Fix test 2022-07-18 10:16:56 -04:00
Justin
d8a1545ee8 Query account on hover for follow stats 2022-07-18 09:54:56 -04:00
marcin mikołajczak
32db37029c Merge branch 'edit-quotes' into 'develop'
Show quoted post when editing a quote

See merge request soapbox-pub/soapbox-fe!1643
2022-07-17 18:34:26 +00: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
66168f5ad9 Merge branch 'break-words-reply-indicator' into 'develop'
Fix: post content is not truncated or wrapped in reply box

Closes #1041

See merge request soapbox-pub/soapbox-fe!1642
2022-07-17 17:53:17 +00:00
marcin mikołajczak
7ef9686e92 Merge branch 'quotes-text-formatting' into 'develop'
Fix: markdown dropped from quote replies

Closes #1038

See merge request soapbox-pub/soapbox-fe!1641
2022-07-17 17:48:24 +00:00
c7fc5e65f8 Fix: post content is not truncated or wrapped in reply box
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-17 19:41:01 +02:00
448da6347a Fix: markdown dropped from quote replies
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-17 19:36:42 +02:00
ff1b63f796 Fix notifications loading
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-17 19:15:59 +02:00
marcin mikołajczak
c2d511bcd5 Merge branch 'announcements' into 'develop'
Announcements: Fix emoji url

See merge request soapbox-pub/soapbox-fe!1639
2022-07-16 20:36:24 +00:00
1eca63faa6 Announcements: Fix emoji url
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 22:24:27 +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
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
d2540b3596 Merge branch 'xl-breakpoint' into 'develop'
Tailwind: reduce xl breakpoint to 1280px

Closes #1013

See merge request soapbox-pub/soapbox-fe!1600
2022-07-06 15:21:50 +00:00
Alex Gleason
53629737b1
CSS: 1440px --> 1280px 2022-07-06 10:13:34 -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