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

feature: Add Form Extension #4

Merged
merged 5 commits into from
Apr 25, 2024
Merged

feature: Add Form Extension #4

merged 5 commits into from
Apr 25, 2024

Conversation

kjohnson
Copy link
Member

@kjohnson kjohnson commented Dec 4, 2023

Description

This PR adds a form extension for v3 compatibility.

Related:
Refactor: ActiveCampaign has block requirements #5

Refactor: block design improvements #6

Visuals

image

Testing Instructions

  • Add API URL and API Key
  • Create a v3 form
  • Add an ActiveCampaign opt-in field

Copy link
Member

@alaca alaca 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 👍

@kjohnson
Copy link
Member Author

kjohnson commented Dec 7, 2023

* feature: add block placeholder and notice

* feature: add window declaration

* refactor: remove inline window declaration, update list and tag options, use new placeholder and notice

* refactor: use credential test prior to api calls, add method for tags, update localized script.

* feature: add credential test prior to adding new block

* refactor: replace blocknotice

* refactor; reformat, update strings.

* refactor: reformat remove spaces in src/FormExtension/Actions/EnqueueFormBuilderScripts.php

* doc: update unreleased tags

* doc: update unreleased tags

* refactor: replace relative url path with admin_url for better WP support
* feature: add block placeholder and notice

* feature: add window declaration

* refactor: remove inline window declaration, update list and tag options, use new placeholder and notice

* refactor: use credential test prior to api calls, add method for tags, update localized script.

* feature: add credential test prior to adding new block

* refactor: replace blocknotice

* refactor; reformat, update strings.

* refactor: reformat remove spaces in src/FormExtension/Actions/EnqueueFormBuilderScripts.php

* doc: update unreleased tags

* doc: update unreleased tags

* refactor: replace relative url path with admin_url for better WP support

* refactor: update template styles for consistency

* refactor: reformat

* refactor: update & export window types

* feature: add tag & list controls. Split InspectorControls into new directory

* refactor: use update inspectorControls

* chore: remove debug log

* chore: formatting

* refactor: add ending bracket

* refactor: update metadata default label

* refactor: update template defaultChecked prop to checkeda

* refactor: replace selectedEmailList attribute to selectedLists

* refactor: update list control label

* refactor: fix translation domain on subscriber tags

* refactor: update listControl to always have one list selected

* refactor: use array fallback on selectedLists

* refactor: update domain names

* refactor: return early on methods requiring credential tests

* Refactor: use early return on add block to new form

* refactor: fix double negative conditonal

* refactor: update conditionals
Copy link
Member

@rickalday rickalday left a comment

Choose a reason for hiding this comment

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

Passed manual QA tests.

Copy link
Member

@rickalday rickalday left a comment

Choose a reason for hiding this comment

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

Passed manual QA tests.

@JoshuaHungDinh JoshuaHungDinh merged commit 3be6c99 into develop Apr 25, 2024
@JoshuaHungDinh JoshuaHungDinh deleted the GIVE-61 branch April 28, 2024 22:58
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.

4 participants