Commit graph

4804 commits

Author SHA1 Message Date
Alex Gleason
9cd19c2003
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-12 10:10:36 -05:00
Alex Gleason
0466c97863
Merge remote-tracking branch 'origin/develop' into account-refactoring 2022-08-12 10:01:23 -05:00
Alex Gleason
cb984bd925
Header: hide DM menu item unless privacyScopes are available 2022-08-12 10:01:02 -05:00
Alex Gleason
d54b3b1ec6 Merge branch 'status-fc' into 'develop'
Status refactoring

See merge request soapbox-pub/soapbox-fe!1717
2022-08-12 14:55:38 +00:00
66216bd5b6 Use Array.includes instead of indexOf
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 13:47:32 +02:00
d59fa05812 Add more context to post edit notification
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 13:42:19 +02:00
marcin mikołajczak
2d9ac9e22e Merge branch 'reply-indicator-styles' into 'develop'
Fix styles in reply indicator

Closes #1060

See merge request soapbox-pub/soapbox-fe!1724
2022-08-12 09:14:33 +00:00
Alex Gleason
bc72739dda
Normalize instance in login tests 2022-08-11 22:31:53 -05:00
Alex Gleason
386af1ea2c
i18n pepe locales 2022-08-11 22:10:16 -05:00
Alex Gleason
f2fc369877
Allow configuring authProvider in place of registrations 2022-08-11 22:08:28 -05:00
Alex Gleason
d6e809083b
Make consumer strategy buttons work 2022-08-11 21:50:08 -05:00
Alex Gleason
609eb543ba
Style ConsumersList 2022-08-11 19:57:51 -05:00
Alex Gleason
304e9aa880
Move oauth ConsumersList into its own component 2022-08-11 19:46:56 -05:00
Alex Gleason
b7e2d3e0a7
Add inert oauth consumer buttons 2022-08-11 19:38:09 -05:00
d9aee6d98e Fix styles in reply indicator
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-11 23:23:33 +02:00
Alex Gleason
e4c829da76
AccountTimeline: improve loading spinner 2022-08-11 14:09:27 -05:00
Alex Gleason
eccfdb90f8
Header: make account optional again 2022-08-11 14:02:01 -05:00
Alex Gleason
8c94a4b882
ProfilePage: more pathname.endsWith fixes 2022-08-11 13:59:06 -05:00
Alex Gleason
e37611d55b
ProfilePage: load full account correctly, fix hidden tabs from !1630 2022-08-11 13:57:33 -05:00
Alex Gleason
9a0531db37
Nuke HeaderContainer 2022-08-11 13:24:46 -05:00
Alex Gleason
6887852586
AccountTimeline: dirty TSX+FC conversion 2022-08-11 13:12:59 -05:00
Alex Gleason
7ab5ae6f1e
MediaItem: convert to TSX+FC 2022-08-11 12:20:51 -05:00
Alex Gleason
d84156219d
Delete unused account column settings components 2022-08-11 12:03:16 -05:00
Alex Gleason
632726ef1c
Header: hide message button again (for now) 2022-08-11 12:01:56 -05:00
Alex Gleason
d0ec2af4ee
Header: remove unused import 2022-08-11 12:00:15 -05:00
Alex Gleason
4d5a32edcb
Delete unnecessary middleman account Header component 2022-08-11 11:59:38 -05:00
Alex Gleason
f3f230aece
Simplify profile Header components 2022-08-11 11:57:09 -05:00
Justin
22294b8a6e Fix test 2022-08-10 14:45:58 -04:00
Justin
6c03b6ddd3 fix tests 2022-08-10 14:02:29 -04:00
Justin
4d98046627 Improve types 2022-08-10 13:27:09 -04:00
Justin
06d1ad2efe Remove sort 2022-08-10 11:33:23 -04:00
Justin
b377689ed2 Grammar fix 2022-08-10 10:34:12 -04:00
Justin
cbe9f47a59 Fix Trends Panel test 2022-08-10 10:31:09 -04:00
Justin
968ec3a7d2 Clear React Query cache before each test 2022-08-10 10:30:58 -04:00
Justin
b2530dadd5 Convert trends to React Query 2022-08-10 09:35:07 -04:00
Justin
e72476d577 Update suggestions query with new api hook 2022-08-10 08:46:00 -04:00
Justin
ae0fd07580 Use v2 suggestions endpoint for Onboarding 2022-08-10 08:39:39 -04:00
Alex Gleason
1bd2814aec
ProfilePage: clean up unused/legacy code 2022-08-09 19:17:11 -05:00
Alex Gleason
56568e2528
To crush your enemies, see them driven before you, and hear the lamentation of their women 2022-08-09 18:58:43 -05:00
Alex Gleason
d668bb370f
Fix Like button 2022-08-09 18:51:01 -05:00
Alex Gleason
168cee0636
StatusActionBar: fix styles in Thread 2022-08-09 18:49:05 -05:00
Alex Gleason
ca4821abf7
Nuke ActionBar component 2022-08-09 18:40:33 -05:00
Alex Gleason
518a813235
status_action_bar --> status-action-bar 2022-08-09 18:25:33 -05:00
Alex Gleason
4c7491d81d
Strip down StatusContainer, offload actions into Status component itself 2022-08-09 17:45:01 -05:00
Alex Gleason
522eba4b25
StatusActionBar: create toggle actions for status interactions 2022-08-09 17:05:55 -05:00
Alex Gleason
33fbb0f147
StatusActionBar: move action code directly into component, clean up 2022-08-09 14:34:08 -05:00
Alex Gleason
4970c6c307
StatusActionBar: convert to React.FC 2022-08-09 13:46:11 -05: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
Alex Gleason
8d089805ea
Don't export getAuthBaseURL 2022-08-09 11:15:22 -05:00
Alex Gleason
5f2532c3d7
Throw out unnedeed QueryClientProvider changes 2022-08-09 11:10:37 -05:00
Alex Gleason
28d5461295
Fix react-query tests 2022-08-09 11:05:00 -05:00
Justin
bec42a3633 Visual tweaks for new branding 2022-08-09 11:50:10 -04:00
Justin
b87768967b Fix badge color and quoted status border 2022-08-09 11:47:29 -04:00
marcin mikołajczak
070ca176a7 Merge branch 'actions-modal-center' into 'develop'
Do not justify-center actions modal items

See merge request soapbox-pub/soapbox-fe!1711
2022-08-09 15:36:53 +00:00
Alex Gleason
8eec8f3a09
react-query: use legacy API client with hooks 2022-08-09 10:24:43 -05:00
Alex Gleason
7d100193c3 Merge branch 'about-tsx' into 'develop'
Convert About page to TSX

See merge request soapbox-pub/soapbox-fe!1716
2022-08-09 15:06:07 +00:00
Alex Gleason
70a84d74ad Merge branch 'ads-locale' into 'develop'
RumbleAdProvider: send Accept-Language header with request

See merge request soapbox-pub/soapbox-fe!1715
2022-08-09 13:59:12 +00:00
marcin mikołajczak
0f4a755693 Merge branch 'search-from-account' into 'develop'
Fix debounce in search, clear accountId on submit from navbar

See merge request soapbox-pub/soapbox-fe!1712
2022-08-09 10:40:47 +00:00
marcin mikołajczak
10c03c9f56 Merge branch 'styles' into 'develop'
Minor dark theme improvements

See merge request soapbox-pub/soapbox-fe!1718
2022-08-09 10:09:23 +00:00
5c5113aff3 Minor dark theme improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-09 11:57:09 +02:00
Alex Gleason
f87be8ce9a
Use StatusActionBar for both types of statuses 2022-08-08 23:21:18 -05:00
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
acd0b13b26 Do not center actions modalitems
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 17:03:04 +02: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
2bc8cdc1bd Merge branch 'account-gallery-fix' into 'develop'
AccountGallery: fix thumbnails wrapping too soon, fixes #1057

Closes #1057

See merge request soapbox-pub/soapbox-fe!1699
2022-08-05 16:28:49 +00: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
be7bc65e4b Fix: markdown post background not distinguished
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-04 23:30:47 +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
97ea46c427
AccountGallery: fix thumbnails wrapping too soon, fixes #1057 2022-08-03 13:28:53 -05: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