Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings page: Add "Content Helper" tab #2554

Merged
merged 18 commits into from
Jul 4, 2024

Conversation

acicovic
Copy link
Collaborator

@acicovic acicovic commented Jun 14, 2024

Description

This PR adds a "Content Helper" UI in the plugin's settings page. From there, AI features can be disabled all at once, or configured individually. Access to features can be limited to specific user roles, including custom ones. Only user roles that support theedit_posts capability are shown.

This PR only implements the UI and the logic for creating and saving the settings. The actual permissions system that manages the features according to the set preferences will be implemented in another PR.

Motivation and context

We concluded from user feedback that disabling specific features in the PCH Sidebar is a desired feature.

How has this been tested?

Manual testing.

Screenshots

image
image

Summary by CodeRabbit

  • New Features

    • Introduced Content Helper settings, including options for smart linking, title suggestions, and excerpt suggestions.
    • Added AI feature management in the UI, including new event handlers for easier interaction.
    • New method to retrieve user roles with edit post capabilities.
  • Enhancements

    • Updated styles for admin settings pages to improve user experience.
    • Improved validation and form handling for new settings options.
  • Bug Fixes

    • Ensured all form data is correctly submitted and processed.

@acicovic acicovic added this to the 3.17.0 milestone Jun 14, 2024
@acicovic acicovic self-assigned this Jun 14, 2024
Copy link
Contributor

coderabbitai bot commented Jun 14, 2024

Walkthrough

The recent updates add and adjust functionalities related to the Content Helper feature in the Parsely plugin. Key changes include the introduction of a content_helper settings array to handle AI features, new methods and modifications in existing methods to initialize and validate these settings, enhancements in JavaScript for better UI handling, and new CSS styles. These updates enhance the configuration, initialization, and display of AI-related settings within the plugin.

Changes

Files Change Summaries
phpstan.neon Adjusted param_type value under type_coverage from 79.7 to 79.2. No changes to exported or public entities.
src/UI/class-settings-page.php Added new content_helper settings and related methods, modified existing methods for initialization and validation of these settings.
src/class-parsely.php Introduced a new content_helper option and get_nested_option_value method for nested option retrieval.
src/css/admin-settings.scss Added styles for fieldset.user-role-permissions and .disabled-before-posting, replaced styles for fieldset:disabled and tr:has(fieldset:disabled).
src/js/admin-settings.ts Added addContentHelperTabEventHandlers function and related functions to handle AI features checkboxes and UI updates.
src/class-permissions.php Added Permissions class with get_user_roles_with_edit_posts_cap method.
wp-parsely.php Required the new class-permissions.php file.

Sequence Diagram(s)

sequenceDiagram
    participant Admin as Admin User
    participant SettingsPage as Settings Page
    participant Parsely as Parsely Class
    participant JSHandler as JS Event Handler

    Admin->>SettingsPage: Access settings page
    SettingsPage->>SettingsPage: Initialize content helper section
    alt Add/Edit AI Features
        Admin->>SettingsPage: Add/Modify settings
        SettingsPage->>Parsely: Save settings
        Parsely-->>SettingsPage: Confirm save
    end
    Admin->>JSHandler: Interact with AI feature checkboxes
    JSHandler->>JSHandler: Update UI based on interactions
    JSHandler-->>Admin: Reflect updated settings in UI
Loading

This diagram outlines the key interactions for initializing and configuring the new content helper features via the settings page and JavaScript event handlers.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@acicovic
Copy link
Collaborator Author

SonarCloud complains about duplicate code. Can be ignored.

@acicovic acicovic marked this pull request as ready for review June 17, 2024 06:39
@acicovic acicovic requested a review from a team as a code owner June 17, 2024 06:39
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 7

Outside diff range and nitpick comments (2)
src/css/admin-settings.scss (2)

7-12: Ensure the use of rem units for dimensions and utilize variables for colors.

The margin-right in line 10 could utilize a variable for consistency and ease of maintenance. Consider using a color variable for any hardcoded color values if present elsewhere in the file.


14-24: Review the use of CSS selectors and ensure compatibility with supported browsers.

The use of the :has() pseudo-class in line 16 is cutting-edge CSS that is not widely supported across all browsers. Consider a JavaScript-based solution or an alternative CSS method for broader compatibility.

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between d0e1c95 and 5ea4084.

Files ignored due to path filters (4)
  • build/admin-settings-rtl.css is excluded by !build/**
  • build/admin-settings.asset.php is excluded by !build/**
  • build/admin-settings.css is excluded by !build/**
  • build/admin-settings.js is excluded by !build/**
Files selected for processing (5)
  • phpstan.neon (1 hunks)
  • src/UI/class-settings-page.php (8 hunks)
  • src/class-parsely.php (4 hunks)
  • src/css/admin-settings.scss (2 hunks)
  • src/js/admin-settings.ts (2 hunks)
Files skipped from review due to trivial changes (1)
  • phpstan.neon
Additional context used
Path-based instructions (4)
src/css/admin-settings.scss (1)

Pattern **/*.{css,scss}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the SCSS code to ensure it is well-structured and adheres to best practices.
  • Convert dimensions greater than or equal to 3px to rem units using the to_rem function.
  • Utilize variables for sizes and colors defined in src/content-helper/common/css/variables.scss instead of hardcoding values."
src/js/admin-settings.ts (1)

Pattern **/*.{js,ts,tsx,jsx}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the code to ensure it is well-structured and adheres to best practices.
  • Verify compliance with WordPress coding standards.
  • Ensure the code is well-documented.
  • Check for security vulnerabilities and confirm the code is secure.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate JSDoc comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Confirm every JSDoc comment includes a @SInCE tag indicating the next version of the plugin to include the code.
  • Guarantee compatibility with the latest version of WordPress, avoiding deprecated functions or features."
src/class-parsely.php (1)

Pattern **/*.{html,php}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the HTML and PHP code to ensure it is well-structured and adheres to best practices.
  • Ensure the code follows WordPress coding standards and is well-documented.
  • Confirm the code is secure and free from vulnerabilities.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Verify code compatibility with the latest version of WordPress, avoiding deprecated functions or features."
src/UI/class-settings-page.php (1)

Pattern **/*.{html,php}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the HTML and PHP code to ensure it is well-structured and adheres to best practices.
  • Ensure the code follows WordPress coding standards and is well-documented.
  • Confirm the code is secure and free from vulnerabilities.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Verify code compatibility with the latest version of WordPress, avoiding deprecated functions or features."
Biome
src/js/admin-settings.ts

[error] 44-52: This function expression can be turned into an arrow function. (lint/complexity/useArrowFunction)

Function expressions that don't use this can be turned into arrow functions.
Safe fix: Use an arrow function instead.

Additional comments not posted (3)
src/js/admin-settings.ts (1)

2-2: Confirm the addition of new event handlers aligns with existing application architecture.

Verify that the new event handlers added in line 2 do not conflict with existing ones, especially considering the dynamic nature of the Content Helper UI.

src/class-parsely.php (1)

Line range hint 30-61: Ensure the new content_helper option structure adheres to expected data types and default values.

Verify that the default values and types for the new content_helper option match the expected specifications and that they are being correctly initialized in the class constructor or relevant methods.

src/UI/class-settings-page.php (1)

120-124: Ensure that the new global variable $configurable_pch_features is used appropriately throughout the code.

src/js/admin-settings.ts Outdated Show resolved Hide resolved
src/class-parsely.php Outdated Show resolved Hide resolved
src/UI/class-settings-page.php Show resolved Hide resolved
src/UI/class-settings-page.php Outdated Show resolved Hide resolved
src/UI/class-settings-page.php Outdated Show resolved Hide resolved
src/UI/class-settings-page.php Outdated Show resolved Hide resolved
src/UI/class-settings-page.php Outdated Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range and nitpick comments (1)
src/UI/class-settings-page.php (1)

28-29: Ensure all new properties in @phpstan-type Setting_Arguments are documented.

Please add PHPDoc comments for add_fieldset and legend properties to enhance clarity and maintainability.

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 5ea4084 and 25220f7.

Files selected for processing (1)
  • src/UI/class-settings-page.php (8 hunks)
Additional context used
Path-based instructions (1)
src/UI/class-settings-page.php (1)

Pattern **/*.{html,php}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the HTML and PHP code to ensure it is well-structured and adheres to best practices.
  • Ensure the code follows WordPress coding standards and is well-documented.
  • Confirm the code is secure and free from vulnerabilities.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Verify code compatibility with the latest version of WordPress, avoiding deprecated functions or features."
Additional comments not posted (4)
src/UI/class-settings-page.php (4)

65-79: Add explicit PHPDoc comments for newly added properties in @phpstan-type ParselySettingOptions.

The new properties content_helper with its nested arrays for AI features like smart_linking, title_suggestions, and excerpt_suggestions are missing explicit PHPDoc comments. This might lead to less clarity and more difficulty in maintenance. Consider adding detailed comments explaining each property.


113-124: Review the declaration of the global variable $configurable_pch_features.

The declaration of the $configurable_pch_features array is clear and follows good coding practices. The array is properly initialized, and the use of a simple array structure is appropriate for the intended use case.


434-509: Review the implementation of initialize_content_helper_section for potential optimizations.

The method initialize_content_helper_section defines and initializes settings for various AI features. Each block of code within this method is quite repetitive, especially the setup for different AI features like smart linking, title suggestions, etc. Consider refactoring this to use a more dynamic approach, possibly a loop that iterates over an array of feature settings to reduce redundancy and improve maintainability.


920-979: Check the handling of user roles in the print_content_helper_ai_feature_section method.

The method print_content_helper_ai_feature_section modifies the allowed_user_roles directly within the options array, which could lead to unintended side effects if the options are used elsewhere in the code before this modification takes place. Consider using a local copy or a different approach to handle modifications to avoid potential issues with global state changes.

@Parsely Parsely deleted a comment from coderabbitai bot Jun 18, 2024
@acicovic acicovic modified the milestones: 3.17.0, 3.16.0 Jun 20, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 25220f7 and e89ab9f.

Files selected for processing (3)
  • src/UI/class-settings-page.php (8 hunks)
  • src/class-parsely.php (4 hunks)
  • src/js/admin-settings.ts (2 hunks)
Additional context used
Path-based instructions (3)
src/js/admin-settings.ts (1)

Pattern **/*.{js,ts,tsx,jsx}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the code to ensure it is well-structured and adheres to best practices.
  • Verify compliance with WordPress coding standards.
  • Ensure the code is well-documented.
  • Check for security vulnerabilities and confirm the code is secure.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate JSDoc comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Confirm every JSDoc comment includes a @SInCE tag indicating the next version of the plugin to include the code.
  • Guarantee compatibility with the latest version of WordPress, avoiding deprecated functions or features."
src/class-parsely.php (1)

Pattern **/*.{html,php}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the HTML and PHP code to ensure it is well-structured and adheres to best practices.
  • Ensure the code follows WordPress coding standards and is well-documented.
  • Confirm the code is secure and free from vulnerabilities.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Verify code compatibility with the latest version of WordPress, avoiding deprecated functions or features."
src/UI/class-settings-page.php (1)

Pattern **/*.{html,php}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the HTML and PHP code to ensure it is well-structured and adheres to best practices.
  • Ensure the code follows WordPress coding standards and is well-documented.
  • Confirm the code is secure and free from vulnerabilities.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Verify code compatibility with the latest version of WordPress, avoiding deprecated functions or features."
Learnings (1)
src/UI/class-settings-page.php (1)
User: acicovic
PR: Parsely/wp-parsely#2554
File: src/UI/class-settings-page.php:28-29
Timestamp: 2024-06-18T09:33:19.519Z
Learning: acicovic prefers to use the term "resolve" to indicate that an issue or request has been addressed satisfactorily.
Additional comments not posted (12)
src/js/admin-settings.ts (4)

62-87: Review of Event Handlers Setup

The function addContentHelperTabEventHandlers is well-structured and correctly sets up the event handlers for the Content Helper tab. However, consider using a more specific selector for featureCheckboxes to ensure that only relevant checkboxes are selected, which can improve performance by reducing the scope of the query.


149-165: Enhance Documentation for setPreventDisable

The function setPreventDisable is implemented correctly. Consider enhancing the JSDoc comments to explain the purpose of the 'prevent-disable' class and how it interacts with the CSS.


167-187: Review of setDisabled Function

The function setDisabled is well-implemented and handles both single elements and arrays, which enhances its flexibility. For improved readability, consider using a more descriptive variable name than el in the forEach loop.


189-223: Important Function for Form Submission

The function enableAllFormFieldsOnSubmit plays a crucial role in ensuring that all form fields are enabled at the time of submission, preventing any data from being excluded. This is an important feature for user experience and data integrity.

src/class-parsely.php (1)

463-483: Review of get_nested_option_value Method

The method get_nested_option_value is implemented correctly and efficiently retrieves nested configuration values. The decision to not include error handling was previously discussed and is aligned with the intended design.

src/UI/class-settings-page.php (7)

65-79: Well-documented addition to ParselySettingOptions type definition.

The addition of content_helper properties is well-documented, enhancing clarity and maintainability of the codebase.


120-124: Good use of centralized configuration for feature names.

The introduction of $configurable_pch_features centralizes the names of configurable features, facilitating easier management and potential modifications in the future.


434-509: Initialization of Content Helper section is clear but could be refactored.

The method initialize_content_helper_section is clear and consistent, but it involves repetitive code that could be refactored in the future to reduce redundancy. However, as per the previous discussion with acicovic, this code is not intended to be permanent, so this is marked as resolved.


1312-1380: Robust validation logic in validate_content_helper_section.

The recursive sanitization function within validate_content_helper_section provides a thorough and flexible way to clean input data. This method ensures that settings are correctly validated, particularly the user roles, which are checked against valid roles with the edit_posts capability.


982-1004: Correct implementation of user role retrieval in get_user_roles_with_edit_posts_cap.

The method get_user_roles_with_edit_posts_cap effectively retrieves user roles with the edit_posts capability, which is essential for the Content Helper's role-based access control.


864-915: Well-implemented method for printing checkbox tags.

The print_checkbox_tag method handles various scenarios, including fieldsets, legends, and accessibility considerations such as aria-describedby. This approach enhances the usability and accessibility of the settings page.


920-980: Dynamic and efficient rendering of AI feature settings in print_content_helper_ai_feature_section.

The method print_content_helper_ai_feature_section dynamically handles the rendering of various AI feature settings, including user role permissions. It effectively reuses the print_checkbox_tag method to ensure consistency and reduce code duplication.

src/js/admin-settings.ts Outdated Show resolved Hide resolved
src/js/admin-settings.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between e89ab9f and 322fed7.

Files selected for processing (1)
  • src/UI/class-settings-page.php (8 hunks)
Additional context used
Path-based instructions (1)
src/UI/class-settings-page.php (1)

Pattern **/*.{html,php}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the HTML and PHP code to ensure it is well-structured and adheres to best practices.
  • Ensure the code follows WordPress coding standards and is well-documented.
  • Confirm the code is secure and free from vulnerabilities.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Verify code compatibility with the latest version of WordPress, avoiding deprecated functions or features."
Learnings (1)
src/UI/class-settings-page.php (1)
User: acicovic
PR: Parsely/wp-parsely#2554
File: src/UI/class-settings-page.php:28-29
Timestamp: 2024-06-18T09:33:19.519Z
Learning: acicovic prefers to use the term "resolve" to indicate that an issue or request has been addressed satisfactorily.
Additional comments not posted (3)
src/UI/class-settings-page.php (3)

28-29: Clarify PHPDoc for new fields.

The PHPDoc comments for Setting_Arguments have been updated with new fields add_fieldset and legend. Ensure these fields are described properly to maintain clarity and assist other developers in understanding their usage.


65-79: Review PHPDoc for content_helper configuration.

The PHPDoc for content_helper in ParselySettingOptions includes detailed configurations for AI features, smart linking, title suggestions, and excerpt suggestions. Ensure that these descriptions are accurate and provide clear information about what each setting controls. This is crucial for maintainability and ease of understanding for future modifications.


113-124: Validate the implementation of configurable features.

The declaration of the $configurable_pch_features array includes smart_linking, title_suggestions, and excerpt_suggestions. Confirm that these features align with the intended functionality and check if all necessary features are included. This setup should be flexible enough to accommodate future additions or modifications without significant restructuring.

src/UI/class-settings-page.php Outdated Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range and nitpick comments (1)
src/class-permissions.php (1)

1-42: Well-structured and secure implementation of role fetching.

The implementation of get_user_roles_with_edit_posts_cap method in the Permissions class is well-structured and adheres to WordPress coding standards. It securely fetches user roles with the edit_posts capability, which is crucial for the feature being implemented. The use of wp_roles() is appropriate here and the method is efficient in checking capabilities.

  • Security: The method uses core WordPress functions, which are generally secure. However, ensure that this method is only called in contexts where appropriate permissions checks are in place to avoid unauthorized access.
  • Performance: The method iterates over roles and checks capabilities, which is efficient given the context. However, consider caching the result if this method is called frequently.
  • Documentation: The documentation is clear and follows WordPress standards. Each line comment concludes with a period, adhering to the specified guidelines.
  • Compatibility: Ensure that the wp_roles() function is compatible with the current and upcoming WordPress versions to avoid deprecation issues.

Overall, the changes are approved, but keep an eye on security and performance aspects as usage scales.

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 322fed7 and 8c0c89f.

Files selected for processing (3)
  • src/UI/class-settings-page.php (9 hunks)
  • src/class-permissions.php (1 hunks)
  • wp-parsely.php (1 hunks)
Files skipped from review due to trivial changes (1)
  • wp-parsely.php
Files skipped from review as they are similar to previous changes (1)
  • src/UI/class-settings-page.php
Additional context used
Path-based instructions (1)
src/class-permissions.php (1)

Pattern **/*.{html,php}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the HTML and PHP code to ensure it is well-structured and adheres to best practices.
  • Ensure the code follows WordPress coding standards and is well-documented.
  • Confirm the code is secure and free from vulnerabilities.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Verify code compatibility with the latest version of WordPress, avoiding deprecated functions or features."

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 8c0c89f and 0950aed.

Files selected for processing (2)
  • src/UI/class-settings-page.php (9 hunks)
  • src/class-parsely.php (4 hunks)
Files skipped from review as they are similar to previous changes (2)
  • src/UI/class-settings-page.php
  • src/class-parsely.php

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 0950aed and 70421d1.

Files selected for processing (1)
  • src/js/admin-settings.ts (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • src/js/admin-settings.ts

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 70421d1 and a8a0012.

Files ignored due to path filters (2)
  • build/admin-settings.asset.php is excluded by !build/**
  • build/admin-settings.js is excluded by !build/**
Files selected for processing (1)
  • src/js/admin-settings.ts (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • src/js/admin-settings.ts

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between a8a0012 and 312afd1.

Files selected for processing (1)
  • src/UI/class-settings-page.php (9 hunks)
Files skipped from review as they are similar to previous changes (1)
  • src/UI/class-settings-page.php

Copy link
Contributor

@vaurdan vaurdan left a comment

Choose a reason for hiding this comment

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

Looks good to me! I added a question, but nonetheless, approved the PR.

src/class-parsely.php Show resolved Hide resolved
@acicovic acicovic merged commit 30d766e into develop Jul 4, 2024
36 of 37 checks passed
@acicovic acicovic deleted the add/content-helper-ui-in-settings-page branch July 4, 2024 11:16
@acicovic acicovic changed the title Settings page: Add "Content Helper" UI Settings page: Add "Content Helper" tab Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants