Commit graph

2441 commits

Author SHA1 Message Date
Alex Gleason
491c0e9152
EmbedModal: react-query, add useEmbed 2022-08-21 12:37:14 -04:00
Alex Gleason
0dd0742752
EmbedModal: abstract embed code to new SafeEmbed component 2022-08-21 12:22:06 -04:00
Alex Gleason
6f38b19b5b
Restore using embeds from the API 2022-08-21 11:21:25 -04:00
Alex Gleason
c4849ad38d
Merge remote-tracking branch 'origin/develop' into embedded-status 2022-08-21 11:20:19 -04:00
259760311e Dark theme for consumers list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-18 16:32:50 +02:00
Justin
35d32e7391 Handle dyanmic error message of API 2022-08-16 09:48:58 -04:00
Alex Gleason
5dc5407c12
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-15 12:10:54 -05:00
marcin mikołajczak
ffba24bc94 Minor styles improvements
Signed-off-by: marcin mikołajczak <me@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-15 15:02:08 +02:00
62d90d9a8f Fetch accounttimeline when switching tabs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-14 19:01:44 +02:00
Alex Gleason
7b75faf74c
Notifications: actually, do still use the legacy StatusContainer as it does a selector we need 2022-08-13 10:40:56 -05:00
Alex Gleason
19b6973667
Notifications: StatusContainer --> Status, fix not being able to mute a conversation 2022-08-13 10:27:12 -05:00
Alex Gleason
30df3808e7
ConsumerButton: use 'outlined' theme 2022-08-13 09:40:51 -05:00
Alex Gleason
5b2894cd8d
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-13 09:39:32 -05:00
Alex Gleason
32b6c646cf Merge branch 'icon-button-themes' into 'develop'
IconButton: add themes

See merge request soapbox-pub/soapbox-fe!1729
2022-08-13 14:09:21 +00:00
Alex Gleason
34b7aad6dd Merge branch 'status-page-tsx' into 'develop'
StatusPage: convert to TSX

See merge request soapbox-pub/soapbox-fe!1728
2022-08-13 14:08:51 +00:00
marcin mikołajczak
67f5f5fb8b Merge branch 'cleanup' into 'develop'
Use Array.includes instead of indexOf

See merge request soapbox-pub/soapbox-fe!1727
2022-08-12 22:07:19 +00:00
marcin mikołajczak
6c54d50839 Merge branch 'feed-carousel-conditional' into 'develop'
Move condition for FeedCarousel to HomePage

Closes #1066

See merge request soapbox-pub/soapbox-fe!1732
2022-08-12 22:07:16 +00:00
771abfb8fb Move condition for FeedCarousel to HomePage
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 23:25:45 +02:00
541521ae6f Restore hotkey navigataion for statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 23:21:44 +02:00
12eeffecc4 Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 22:59:26 +02:00
Alex Gleason
ee754915aa
EmbeddedStatus: make it unclickable 2022-08-12 13:31:05 -05:00
Alex Gleason
5f8a22b452
Native status embeds from Soapbox 2022-08-12 12:58:35 -05:00
marcin mikołajczak
aa5b5dbaf6 Merge branch 'edits-notification' into 'develop'
Add more context to post edit notification

See merge request soapbox-pub/soapbox-fe!1726
2022-08-12 16:12:52 +00:00
Alex Gleason
7615111eb0
IconButton: add themes 2022-08-12 10:42:26 -05:00
Alex Gleason
5386135112
WrappedRoute: fix PageProps type to include children 2022-08-12 10:22:30 -05:00
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
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
06d1ad2efe Remove sort 2022-08-10 11:33:23 -04:00
Justin
cbe9f47a59 Fix Trends Panel test 2022-08-10 10:31:09 -04:00
Justin
b2530dadd5 Convert trends to React Query 2022-08-10 09:35:07 -04:00
Justin
ae0fd07580 Use v2 suggestions endpoint for Onboarding 2022-08-10 08:39:39 -04: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
33fbb0f147
StatusActionBar: move action code directly into component, clean up 2022-08-09 14:34:08 -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
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
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
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
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
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
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
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
7ac18c0951 Lint 2022-08-08 10:29:03 -04:00
Justin
7836698dc2 Add React Query 2022-08-08 10:29:02 -04: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
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
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
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
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
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