Skip to content

feat: add watermark to the advanced submenu#969

Merged
selul merged 3 commits into
developmentfrom
feat/watermark_submenu
Sep 30, 2025
Merged

feat: add watermark to the advanced submenu#969
selul merged 3 commits into
developmentfrom
feat/watermark_submenu

Conversation

@RaduCristianPopescu

Copy link
Copy Markdown
Contributor

All Submissions:

Changes proposed in this Pull Request:

Added exposure in the dashboard for the watermark feature.
CleanShot 2025-09-25 at 17 50 32@2x

Closes https://github.com/Codeinwp/optimole-service/issues/1509

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 watermark functionality to the Optimole WordPress plugin's dashboard interface, allowing users to access watermark settings through a new submenu item under Advanced Settings.

  • Adds a new "Watermark" menu item to the Advanced Settings submenu
  • Creates a dedicated Watermark component with informational content and links to external configuration
  • Integrates watermark strings and UI elements into the existing dashboard structure

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
inc/admin.php Adds localization strings for watermark UI elements and descriptions
assets/src/dashboard/parts/connected/settings/index.js Integrates Watermark component into settings tabs and conditionally hides save button
assets/src/dashboard/parts/connected/settings/Watermark.js Creates new Watermark component with feature information and external links
assets/src/dashboard/parts/connected/settings/Menu.js Adds watermark menu item to Advanced Settings submenu

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

Comment thread assets/src/dashboard/parts/connected/settings/Watermark.js Outdated
Comment thread assets/src/dashboard/parts/connected/settings/Watermark.js Outdated
Comment thread assets/src/dashboard/parts/connected/settings/Watermark.js Outdated
Comment thread assets/src/dashboard/parts/connected/settings/Watermark.js Outdated
Comment thread assets/src/dashboard/parts/connected/settings/Watermark.js Outdated
@pirate-bot

pirate-bot commented Sep 25, 2025

Copy link
Copy Markdown
Collaborator

Plugin build for f5636ef is ready 🛎️!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 4 out of 4 changed files in this pull request and generated 3 comments.


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

<h1 className="text-xl font-bold">
{options_strings.watermark_media_title}
</h1>
<p className="text-gray-600 mt-2 mb-2" >

Copilot AI Sep 26, 2025

Copy link

Choose a reason for hiding this comment

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

Extra space before the closing angle bracket. Remove the space before >.

Copilot uses AI. Check for mistakes.
</div>
<div className="flex items-center gap-2 align-center">
<div className="w-2 h-2 bg-gray-900 rounded-full flex-shrink-0"></div>
<span className="text-gray-700 text-left ">{options_strings.watermark_info_2}</span>

Copilot AI Sep 26, 2025

Copy link

Choose a reason for hiding this comment

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

Extra space in the className attribute before the closing quote. Remove the trailing space after text-left.

Copilot uses AI. Check for mistakes.
Comment thread inc/admin.php Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@selul selul merged commit d912ac3 into development Sep 30, 2025
11 checks passed
@selul selul deleted the feat/watermark_submenu branch September 30, 2025 13:59
@pirate-bot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 4.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Indicate that an issue has been resolved and released in a particular version of the product.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants