Skip to content

Commit

Permalink
Social: Show Bluesky below Threads. (#40020)
Browse files Browse the repository at this point in the history
* Social: List bluesky below threads.

* changelog
  • Loading branch information
spsiddarthan authored Nov 4, 2024
1 parent 03c41e4 commit e5d1bcb
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: changed

Changed order of social connections.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,23 @@ export function useSupportedServices(): Array< SupportedService > {
() => <img src={ connectionsThreads } alt={ __( 'Add Threads connection', 'jetpack' ) } />,
],
},
{
...availableServices.bluesky,
needsCustomInputs: true,
icon: props => <SocialServiceIcon serviceName="bluesky" { ...props } />,
badges: [ badgeNew ],
description: __( 'Share with your network.', 'jetpack' ),
examples: [
() => (
<>
{ __(
'To share to Bluesky please enter your Bluesky handle and app password below, then click connect.',
'jetpack'
) }
</>
),
],
},
{
...availableServices.linkedin,
icon: props => <SocialServiceIcon serviceName="linkedin" { ...props } />,
Expand Down Expand Up @@ -207,23 +224,6 @@ export function useSupportedServices(): Array< SupportedService > {
),
],
},
{
...availableServices.bluesky,
needsCustomInputs: true,
icon: props => <SocialServiceIcon serviceName="bluesky" { ...props } />,
badges: [ badgeNew ],
description: __( 'Share with your network.', 'jetpack' ),
examples: [
() => (
<>
{ __(
'To share to Bluesky please enter your Bluesky handle and app password below, then click connect.',
'jetpack'
) }
</>
),
],
},
];
return supportedServices.filter(
// Return only the ones that are present in the available services.
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/changelog/fix-order-of-services
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: enhancement

Changed order of jetpack social connections.
4 changes: 4 additions & 0 deletions projects/plugins/social/changelog/fix-order-of-services
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: changed

Change order of connections.

0 comments on commit e5d1bcb

Please sign in to comment.