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

Rating field and single submit #387

Merged
merged 36 commits into from
Mar 11, 2024
Merged

Rating field and single submit #387

merged 36 commits into from
Mar 11, 2024

Conversation

iruzevic
Copy link
Member

@iruzevic iruzevic commented Feb 29, 2024

Added

  • range field for the forms.
  • singleSubmit attribute on all fields to allow only one submit per form to be used as calculation form.
  • Result output custom post type.
  • Blocks for the result output.
  • Calculator form type and necessary filters.
  • Forms can now use single submit option to send data without submit button.
  • Setting for single form to hide global msg on submit success.

Changed

  • Input field now output email and url as a correct type so it can be user on mobile devices.
  • Admin listing url can now support additional type.
  • All icons are now used from utils lib.

Fixed

  • Js errors when missing data.
  • Broken url for admin listing when using custom post type.

Removed

  • Unnecessary options in the rating field.

Screenshot 2024-02-29 at 19 25 20

Summary by CodeRabbit

  • New Features
    • Enhanced the InputEditor component to support additional input properties for the 'range' input type.
    • Introduced React components for configuring result output blocks and managing connected forms.
    • Implemented a class for registering a custom post type "Result" with specific configurations.
  • Enhancements
    • Refactored the getEditorBackLink method to handle multiple post types and URL redirection.
    • Added new constants in the SettingsGeneral class for improved global settings management.
  • Bug Fixes
    • Improved clarity by updating text strings related to form processing messages.

@iruzevic iruzevic self-assigned this Feb 29, 2024
Copy link

coderabbitai bot commented Feb 29, 2024

Walkthrough

The recent update introduces significant enhancements to form handling and integrations. It includes new functionality for handling actions based on a parent parameter, adds custom links to the sidebar menu, implements React components for result output items, and registers a custom post type for "Result." Additionally, it refactors methods for improved post type handling and introduces new constants and settings for global configurations.

Changes

File Path Change Summary
src/AdminMenus/FormAdminMenu.php - Added handling for a new parent parameter.
- Updated logic and messages based on the parent parameter.
src/AdminMenus/FormListingAdminSubMenu.php - Added a method to add custom links to the sidebar menu.
src/Blocks/components/form/assets/utils.js,
src/Blocks/custom/result-output-item/components/result-output-item-editor.js,
src/Blocks/custom/result-output-item/components/result-output-item-options.js,
src/Blocks/custom/result-output-item/result-output-item-editor.scss,
src/Blocks/custom/result-output/components/result-output-editor.js,
src/Blocks/custom/result-output/components/result-output-options.js,
src/Blocks/custom/result-output/result-output-editor.scss
- Added new methods and components for handling result output items.
- Introduced styling for custom block components.
src/CustomPostType/Result.php - Introduced a class for registering a custom post type "Result."
src/Editor/Editor.php - Refactored method for handling multiple post types and redirects.
src/General/SettingsGeneral.php - Added new constants for global settings.
src/Integrations/Calculator/SettingsCalculator.php - Added a class for managing global settings for a calculator feature.
src/Labels/Labels.php - Added integration with SettingsCalculator and new labels related to calculators.
src/Listing/FormsListing.php - Updated method to accept additional parameters.
src/Rest/Routes/AbstractFormSubmit.php - Added logic for filtering result output items and parts.
src/Rest/Routes/Integrations/Calculator/FormSubmitCalculatorRoute.php - Implemented a route for calculator form submissions.
src/Rest/Routes/Integrations/Mailer/FormSubmitCustomRoute.php,
src/Rest/Routes/Integrations/Mailer/FormSubmitMailer.php
- Introduced usage of UtilsHelper for additional output handling.
src/Rest/Routes/Settings/BulkRoute.php - Updated text strings related to form processing messages.

Poem

🐰🌟
In the code's garden, new features take flight,
React components bloom, styling shines bright.
Calculators compute, mailers deliver with might,
CodeRabbit hops, in the digital realm's light.

With each line of code, a story weaves,
As the data dances, the CodeRabbit achieves.
🌼📬🐇

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-tests 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 tests 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 tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

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 a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @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.
  • The JSON schema for the configuration file is available here.
  • 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/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

@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.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 07d64c3 and 0ef2277.
Files ignored due to path filters (4)
  • composer.json is excluded by: !**/*.json
  • composer.lock is excluded by: !**/*.lock
  • src/Blocks/components/input/manifest.json is excluded by: !**/*.json
  • src/Blocks/components/rating/manifest.json is excluded by: !**/*.json
Files selected for processing (9)
  • src/Blocks/components/form/assets/form.js (1 hunks)
  • src/Blocks/components/form/assets/state.js (1 hunks)
  • src/Blocks/components/input/components/input-editor.js (1 hunks)
  • src/Blocks/components/input/components/input-options.js (7 hunks)
  • src/Blocks/components/input/input-admin.scss (1 hunks)
  • src/Blocks/components/input/input-editor.scss (1 hunks)
  • src/Blocks/components/input/input-style.scss (1 hunks)
  • src/Blocks/components/input/input.php (2 hunks)
  • src/Blocks/components/phone/components/phone-options.js (1 hunks)
Files skipped from review due to trivial changes (1)
  • src/Blocks/components/input/input-admin.scss
Additional comments: 12
src/Blocks/components/input/input-style.scss (1)
  • 4-18: The styling for the 'range' input type looks good, ensuring a custom appearance for the slider thumb. It's important to verify cross-browser compatibility, especially for the appearance property and the ::-webkit-slider-thumb and ::-moz-range-thumb pseudo-elements.
src/Blocks/components/input/input-editor.scss (1)
  • 6-7: The use of !important to remove padding for 'range' input types is noted. While the use of !important is generally discouraged due to its impact on CSS specificity and maintenance, its application here seems necessary to ensure style overrides. Please ensure this is the only viable solution and consider documenting the reason for its use.
src/Blocks/components/input/components/input-editor.js (1)
  • 26-57: The implementation of the 'range' input type, including handling of inputMin, inputMax, and inputStep attributes, is well done. The conditional rendering based on inputType is clear and effective. Please ensure that the use of readOnly for the 'range' input is intentional and consider adding comments to clarify the reasoning behind certain decisions, such as the default value handling and readOnly state.
src/Blocks/components/input/input.php (1)
  • 60-68: The implementation for supporting the 'range' input type, including handling of min, max, and step attributes, is correctly done. The use of esc_attr for attribute sanitization is good practice. Ensure that the default value handling and attribute sanitization meet all expected use cases.
src/Blocks/components/phone/components/phone-options.js (1)
  • 27-27: The addition of a comment to clarify the use of the phoneIsNumber attribute is a good practice, enhancing code readability and maintainability. Well done on adding clear documentation.
src/Blocks/components/input/components/input-options.js (1)
  • 341-357: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [84-349]

The introduction of the formatNumber function and its application to inputMin, inputMax, and inputStep attributes is a valuable enhancement for consistent number formatting. The updated conditions for setting attributes based on the 'number' and 'range' input types are well-implemented. Consider adding unit tests for the formatNumber function to ensure its correctness across a variety of inputs.

src/Blocks/components/form/assets/state.js (5)
  • 539-539: The use of optional chaining when accessing element.closest in getFormElementByChild method is a good practice to prevent potential runtime errors when element is null or undefined. This change enhances the robustness of the code.
  • 542-542: Adding optional chaining in getFormFieldElementByChild method for element.closest call is a prudent enhancement. It ensures that the code gracefully handles cases where element might be null or undefined, avoiding possible runtime exceptions.
  • 545-545: The introduction of optional chaining in getFormId for element.getAttribute call is a solid improvement. It safeguards against null or undefined element, preventing the code from throwing an error in such scenarios.
  • 548-548: Utilizing optional chaining in getFormIdByElement when invoking this.getFormElementByChild(element)?.getAttribute is an excellent way to ensure the code's resilience against null or undefined values. This change contributes to the overall stability of the application.
  • 551-551: Implementing optional chaining in getFieldNameByElement for the this.getFormFieldElementByChild(element)?.getAttribute call is a wise decision. It effectively prevents errors if element is null or undefined, enhancing the code's error handling capabilities.
src/Blocks/components/form/assets/form.js (1)
  • 1506-1506: The use of optional chaining (?.) when accessing the submitter property of the event object is a good practice to handle potential null or undefined values safely. This change enhances the robustness of the event handling logic.

Copy link

@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.

Review Status

Actionable comments generated: 2

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 0ef2277 and 434cd9b.
Files selected for processing (1)
  • CHANGELOG.md (1 hunks)
Additional comments: 2
CHANGELOG.md (2)
  • 7-8: The addition of the new range field for forms is well-documented. It's crucial to ensure that the documentation elsewhere in the project, such as the user guide or API documentation, is also updated to reflect this new feature.
  • 17-17: The removal of unnecessary options in the rating field suggests a simplification of the user interface. It's important to communicate these changes to users, possibly through a user guide update or release notes, to ensure they are aware of the streamlined options.

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@iruzevic iruzevic requested a review from a team February 29, 2024 18:33
@iruzevic iruzevic marked this pull request as draft February 29, 2024 18:45
@iruzevic iruzevic changed the title Rating field Rating field and single submit Feb 29, 2024
dadadavorin
dadadavorin previously approved these changes Mar 1, 2024
Copy link
Contributor

@piqusy piqusy left a comment

Choose a reason for hiding this comment

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

Nice work 👏🏼

Left a few suggestions

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
src/Blocks/components/input/components/input-options.js Outdated Show resolved Hide resolved
src/Blocks/components/input/input-style.scss Outdated Show resolved Hide resolved
src/Blocks/custom/calculator/calculator-hooks.js Outdated Show resolved Hide resolved
src/Blocks/custom/calculator/manifest.json Outdated Show resolved Hide resolved
Copy link

@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.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 432df7d and f7b4318.
Files selected for processing (1)
  • src/Blocks/custom/form-selector/form-selector-editor.scss (2 hunks)
Files not summarized due to errors (1)
  • src/Blocks/custom/form-selector/form-selector-editor.scss: Error: Message exceeds token limit
Additional comments: 3
src/Blocks/custom/form-selector/form-selector-editor.scss (3)
  • 35-55: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-37]

The use of !important in CSS properties can make future maintenance and overrides more challenging due to increased specificity. While it's sometimes necessary, consider if there are alternative approaches to achieve the desired styling without !important, such as more specific selectors or reordering CSS rules.

  • 35-55: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [38-71]

The addition of base64 encoded SVGs as background images is a neat way to embed images directly into the stylesheet, reducing HTTP requests. However, ensure that these images are optimized for size to avoid unnecessarily increasing the CSS file size. Additionally, using meaningful placeholders for form names enhances user experience by providing clear context.

  • 35-55: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-73]

The overall structure of the file is well-organized, and the use of CSS custom properties for theme colors is a commendable practice. This approach enhances maintainability and consistency across the project. Keep up with these best practices for future development.

Copy link
Collaborator

@dingo-d dingo-d left a comment

Choose a reason for hiding this comment

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

Left some questions and suggestions.

The main question I have: why are you using shortcodes? They seem antiquated a bit.

Also, once you've addressed all the issues, you can either squash some of the commits, or squash all into one. There are a lot of 'update' commits that aren't saying much.

composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
src/AdminMenus/FormAdminMenu.php Outdated Show resolved Hide resolved
src/AdminMenus/FormAdminMenu.php Outdated Show resolved Hide resolved
src/Integrations/Calculator/SettingsCalculator.php Outdated Show resolved Hide resolved
src/Integrations/Calculator/SettingsCalculator.php Outdated Show resolved Hide resolved
src/Labels/Labels.php Show resolved Hide resolved
src/Rest/Routes/Settings/BulkRoute.php Outdated Show resolved Hide resolved
src/Shortcode/Link.php Show resolved Hide resolved
Copy link

@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.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between f7b4318 and e309b8c.
Files selected for processing (1)
  • src/Shortcode/ResultOutputItemPart.php (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • src/Shortcode/ResultOutputItemPart.php

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
src/AdminMenus/FormListingAdminSubMenu.php Outdated Show resolved Hide resolved
src/Blocks/components/input/input-style.scss Show resolved Hide resolved
Copy link
Contributor

@piqusy piqusy left a comment

Choose a reason for hiding this comment

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

Nice work 👏🏼

Left a few suggestions

CHANGELOG.md Show resolved Hide resolved
src/AdminMenus/FormAdminMenu.php Show resolved Hide resolved
src/Blocks/components/form/assets/utils.js Outdated Show resolved Hide resolved
src/General/SettingsGeneral.php Outdated Show resolved Hide resolved
src/Integrations/Calculator/SettingsCalculator.php Outdated Show resolved Hide resolved
src/Listing/FormsListing.php Outdated Show resolved Hide resolved
src/Rest/Routes/AbstractFormSubmit.php Outdated Show resolved Hide resolved
src/Rest/Routes/Settings/BulkRoute.php Outdated Show resolved Hide resolved
Copy link

@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.

Review Status

Actionable comments generated: 12

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between e309b8c and 058e1dc.
Files ignored due to path filters (1)
  • composer.json is excluded by: !**/*.json
Files selected for processing (1)
  • CHANGELOG.md (2 hunks)
Additional comments: 2
CHANGELOG.md (2)
  • 10-10: The term singleSubmit is correctly used in the context of an attribute name. The suggestion to split it into "single Submit" is not applicable here.
  • 282-282: The version comparison links at the bottom of the file are a helpful addition for navigating changes between versions. No action is needed here, but it's good to acknowledge these thoughtful details.

CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
iruzevic and others added 3 commits March 11, 2024 08:43
Co-authored-by: Denis Žoljom <[email protected]>
Co-authored-by: Ivan Ramljak <[email protected]>
Co-authored-by: Goran Alković <[email protected]>
Copy link

@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.

Review Status

Actionable comments generated: 2

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 058e1dc and 9c70861.
Files ignored due to path filters (1)
  • composer.json is excluded by: !**/*.json
Files selected for processing (16)
  • src/AdminMenus/FormAdminMenu.php (22 hunks)
  • src/AdminMenus/FormListingAdminSubMenu.php (3 hunks)
  • src/Blocks/components/form/assets/utils.js (2 hunks)
  • src/Blocks/custom/result-output-item/components/result-output-item-editor.js (1 hunks)
  • src/Blocks/custom/result-output-item/components/result-output-item-options.js (1 hunks)
  • src/Blocks/custom/result-output-item/result-output-item-editor.scss (1 hunks)
  • src/Blocks/custom/result-output/components/result-output-editor.js (1 hunks)
  • src/Blocks/custom/result-output/components/result-output-options.js (1 hunks)
  • src/Blocks/custom/result-output/result-output-editor.scss (1 hunks)
  • src/CustomPostType/Result.php (1 hunks)
  • src/Editor/Editor.php (2 hunks)
  • src/General/SettingsGeneral.php (3 hunks)
  • src/Integrations/Calculator/SettingsCalculator.php (1 hunks)
  • src/Listing/FormsListing.php (3 hunks)
  • src/Rest/Routes/AbstractFormSubmit.php (1 hunks)
  • src/Rest/Routes/Settings/BulkRoute.php (6 hunks)
Files skipped from review as they are similar to previous changes (14)
  • src/AdminMenus/FormListingAdminSubMenu.php
  • src/Blocks/custom/result-output-item/components/result-output-item-editor.js
  • src/Blocks/custom/result-output-item/components/result-output-item-options.js
  • src/Blocks/custom/result-output-item/result-output-item-editor.scss
  • src/Blocks/custom/result-output/components/result-output-editor.js
  • src/Blocks/custom/result-output/components/result-output-options.js
  • src/Blocks/custom/result-output/result-output-editor.scss
  • src/CustomPostType/Result.php
  • src/Editor/Editor.php
  • src/General/SettingsGeneral.php
  • src/Integrations/Calculator/SettingsCalculator.php
  • src/Listing/FormsListing.php
  • src/Rest/Routes/AbstractFormSubmit.php
  • src/Rest/Routes/Settings/BulkRoute.php
Additional comments: 6
src/AdminMenus/FormAdminMenu.php (6)
  • 13-14: Added imports for Result and Forms from EightshiftForms\CustomPostType are correctly placed at the top of the file, following PSR-4 autoloading standards.
  • 193-193: The addition of handling for a new parent parameter in the processAttributes method is a good practice for extending functionality. However, ensure that the parent parameter is properly sanitized and validated before use to prevent security vulnerabilities.
  • 218-280: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [197-257]

The updated cases in the switch statement to use constants from UtilsConfig improve code readability and maintainability by replacing magic strings with meaningful constant names.

  • 225-255: The logic modification based on the parent parameter in the processAttributes method is well-implemented. It allows for more granular control over the output based on the context, enhancing the flexibility of the method. Ensure that all possible values of parent are accounted for and handled appropriately.
  • 292-294: The addition of new functionality for handling different actions based on the parent parameter is a significant improvement. It's important to ensure that these actions are thoroughly tested, especially in edge cases where the parent parameter might not be set or could have unexpected values.
  • 538-586: Regarding the existing comments on lines 538-586 about the indentation in the provided suggestion, it's crucial to maintain consistent code formatting throughout the project. While the decision to leave the code as is for easier understanding is understandable, consider using a code formatter or linter to ensure consistency without sacrificing readability.

src/Blocks/components/form/assets/utils.js Outdated Show resolved Hide resolved
src/Blocks/components/form/assets/utils.js Show resolved Hide resolved
Copy link
Contributor

@goranalkovic-infinum goranalkovic-infinum left a comment

Choose a reason for hiding this comment

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

For an approve at least fix the textdomains, but consider the other comments as well

Copy link

@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.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 9c70861 and d444677.
Files selected for processing (2)
  • src/Blocks/custom/result-output/components/result-output-options.js (1 hunks)
  • src/Editor/Editor.php (2 hunks)
Files skipped from review as they are similar to previous changes (2)
  • src/Blocks/custom/result-output/components/result-output-options.js
  • src/Editor/Editor.php

Copy link

@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.

Review Status

Actionable comments generated: 3

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between d444677 and 55d91e4.
Files selected for processing (6)
  • src/Blocks/components/form/assets/utils.js (2 hunks)
  • src/Blocks/components/input/components/input-editor.js (2 hunks)
  • src/Blocks/custom/form-selector/components/form-selector-editor.js (1 hunks)
  • src/Blocks/custom/forms/components/forms-editor.js (2 hunks)
  • src/Blocks/custom/result-output-item/components/result-output-item-options.js (1 hunks)
  • src/Blocks/custom/result-output/components/result-output-editor.js (1 hunks)
Files skipped from review as they are similar to previous changes (3)
  • src/Blocks/custom/forms/components/forms-editor.js
  • src/Blocks/custom/result-output-item/components/result-output-item-options.js
  • src/Blocks/custom/result-output/components/result-output-editor.js
Additional comments: 4
src/Blocks/components/input/components/input-editor.js (2)
  • 26-29: The addition of inputMin, inputMax, and inputStep attributes is a good enhancement for supporting range inputs. It's important to ensure that these attributes are properly validated and sanitized before use to prevent any potential security issues.
  • 33-36: As previously noted by a reviewer, using classnames from the classnames package directly is not preferred due to tree-shaking concerns. It's good to see there's already an issue opened to address this in the future. Keep this in mind for upcoming changes.
src/Blocks/custom/form-selector/components/form-selector-editor.js (2)
  • 29-29: Updating the placeholder label to reference 'Eightshift Forms' correctly aligns with the project's branding. This change enhances clarity and consistency in the UI.
  • 32-32: The updated prompt text asking about the type of the new form is clear and user-friendly. This change should help guide users more effectively when creating new forms.

@iruzevic iruzevic merged commit a32c143 into develop Mar 11, 2024
1 of 3 checks passed
@iruzevic iruzevic deleted the feature/calculator branch March 11, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants