Commit graph

3972 commits

Author SHA1 Message Date
Alex Gleason
4edd28a08b
Clean up _properStatus() nonsense 2022-08-08 22:46:09 -05:00
Alex Gleason
82d717d8ce
Move getActualStatus logic to utils 2022-08-08 22:28:01 -05:00
Alex Gleason
89390083a9
Move textForScreenReader to utils/status 2022-08-08 21:42:07 -05:00
Alex Gleason
1cfc16c477
Status: convert to React.FC 2022-08-08 21:39:08 -05:00
Alex Gleason
748b48f84c
DetailedStatus: clean up unused props 2022-08-08 20:22:15 -05:00
Alex Gleason
3ced53a948
DetailedStatus: convert to React.FC 2022-08-08 20:13:43 -05:00
Alex Gleason
f4d1cb93cd
Status --> Thread 2022-08-08 19:54:27 -05:00
Alex Gleason
e0e64f0f5c
Thread: convert to functional component 2022-08-08 19:49:23 -05:00
Alex Gleason
85786bc07d
Delete unused SettingsCheckbox component 2022-08-08 17:44:12 -05:00
Alex Gleason
d511b673ae
Convert About page to TSX 2022-08-08 17:43:47 -05:00
Alex Gleason
f68730de20
RumbleAdProvider: send Accept-Language header with request 2022-08-08 16:18:34 -05:00
Justin
6b297c3a7e Add tests 2022-08-08 15:53:21 -04:00
2e47180c08 Change color of edited status indicator icon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 17:40:05 +02: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
Alex Gleason
3866b104db Merge branch 'marker-fix' into 'develop'
Fix notification markers on Mastodon

Closes #1061

See merge request soapbox-pub/soapbox-fe!1706
2022-08-08 14:44:19 +00:00
marcin mikołajczak
a2f9c7d97b Merge branch 'search-from-account' into 'develop'
Allow to search for posts from given account

See merge request soapbox-pub/soapbox-fe!1710
2022-08-08 14:41:34 +00:00
Justin
7ac18c0951 Lint 2022-08-08 10:29:03 -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
69c37c4594 Show 'public poll' label
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 12:48:42 +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
Alex Gleason
027c871814
Add compare_id tests 2022-08-05 10:59:48 -05:00
Alex Gleason
19ce510233
Notifications: fix markers string ID comparison 2022-08-05 10:56:03 -05:00
51190a9943 Refetch birthday reminders on midnight
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 14:49:21 +02:00
marcin mikołajczak
e4919f0be5 Merge branch 'notifications-types' into 'develop'
Use `types` param in /api/v1/notifications

See merge request soapbox-pub/soapbox-fe!1696
2022-08-05 05:30:52 +00:00
marcin mikołajczak
89cb1432dd Merge branch 'edits-confirmation' into 'develop'
Use different confirmation modal/snackbar messages for post editing

See merge request soapbox-pub/soapbox-fe!1701
2022-08-04 22:45:36 +00: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
marcin mikołajczak
592f248596 Merge branch 'language-pl' into 'develop'
Update Polish translation

See merge request soapbox-pub/soapbox-fe!1700
2022-08-03 21:50:30 +00:00
10fd358f9a Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-03 23:38:30 +02:00
Alex Gleason
01bddbce4d
Ad: dismiss the infobox when clicked outside 2022-08-03 11:53:17 -05:00
Alex Gleason
c0f4130edf
Display popover in ad 2022-08-03 11:42:54 -05:00
Alex Gleason
3971d724d3
Status Card: shrink link text size 2022-08-03 11:15:30 -05:00
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