Skip to content

Conversation

pfefferle
Copy link
Member

@pfefferle pfefferle commented Sep 30, 2025

Updated the Jetpack integration to add the 'activitypub-external' class to the reader feed link, and added CSS to display a dashicon after external links. This visually indicates external links in the admin interface.

Screenshot 2025-09-30 at 13 30 44

Proposed changes:

Other information:

  • Have you written new tests for your changes, if applicable?

Testing instructions:

  • Go to '..'

Changelog entry

  • Automatically create a changelog entry from the details below.
Changelog Entry Details

Significance

  • Patch
  • Minor
  • Major

Type

  • Added - for new features
  • Changed - for changes in existing functionality
  • Deprecated - for soon-to-be removed features
  • Removed - for now removed features
  • Fixed - for any bug fixes
  • Security - in case of vulnerabilities

Message

Updated the Jetpack integration to add the 'activitypub-external' class to the reader feed link, and added CSS to display a dashicon after external links. This visually indicates external links in the admin interface.
@pfefferle pfefferle requested a review from jeherve September 30, 2025 11:14
@pfefferle pfefferle self-assigned this Sep 30, 2025
@Copilot Copilot AI review requested due to automatic review settings September 30, 2025 11:15
@pfefferle pfefferle added the Skip Changelog Disables the "Changelog Updated" action for PRs where changelog entries are not necessary. label Sep 30, 2025
@github-actions github-actions bot added the [Focus] Compatibility Ensuring the plugin plays well with other plugins label Sep 30, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds visual indication for external links in the Jetpack integration by applying CSS styling to display a dashicon after external links in the admin interface.

  • Updated Jetpack connection check to use the modern Manager class
  • Added 'activitypub-external' class to the reader feed link
  • Added CSS rule to display a dashicon after elements with the 'activitypub-external' class

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
integration/class-jetpack.php Updated Jetpack connection detection and added CSS class to reader link
assets/css/activitypub-admin.css Added CSS styling for external link icon

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@pfefferle pfefferle requested a review from Copilot September 30, 2025 11:18
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Replaces the use of Automattic\Jetpack\Connection\Manager for checking user connection with Jetpack::is_connection_ready(). This simplifies the connection check and removes an unnecessary use statement.
The Reader link in the Jetpack integration now includes an aria-label attribute to improve accessibility for screen readers.
Removes the CSS-based external link icon and updates the Jetpack integration to use a Dashicons icon within the link markup. Improves accessibility by adding screen reader text indicating the link opens in a new tab.
@pfefferle pfefferle requested a review from jeherve September 30, 2025 11:32
Set font size and line height for dashicons within the followings table to improve visual consistency.
@pfefferle pfefferle merged commit ba1caef into trunk Sep 30, 2025
13 checks passed
@pfefferle pfefferle deleted the add/external-icon branch September 30, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Compatibility Ensuring the plugin plays well with other plugins Skip Changelog Disables the "Changelog Updated" action for PRs where changelog entries are not necessary.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants