-
Notifications
You must be signed in to change notification settings - Fork 193
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: extract the feature flag for option-based form editor from campaigns domain into the core #7593
Conversation
@jonwaldstein Gentle ping here to remind you about the double-check that we talked another day related to the settings options audit that should be visible only when the Option-based form editor is enabled. So, when you have the chance please let me know if we have hidden all necessary v2 options or if something was left behind. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@glaubersilva this is great! I noted some changes to settings that have changed since my last audit 😄
src/FeatureFlags/OptionBasedFormEditor/Settings/DefaultOptions.php
Outdated
Show resolved
Hide resolved
src/FeatureFlags/OptionBasedFormEditor/Settings/DefaultOptions.php
Outdated
Show resolved
Hide resolved
@jonwaldstein I implemented the changes based on your last audit. Let me know if there is something else. |
@jonwaldstein This is ready for a new review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! @glaubersilva
There was a problem hiding this 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.
Resolves GIVE-1345
Description
This PR extracts from the campaigns epic branch the feature to enable or disable the Option-Based Form editor. The main goal here is to be able to release this new feature as soon as possible, without the need to wait until the Campaigns project is finished.
This PR adds a new option to the
Give > Settings > Advanced
page that allows users to enable or disable the Option-Based Form Editor. This new option is enabled by default if the website has any Option-Based forms on DB and disabled by default if it has only Visual Form Builder forms on DB.Affects
The "Settings" page and the "Switch to Legacy View" button from the "All Forms" page.
Visuals
Demo video:
https://www.loom.com/share/6b1063475387458a9621a24c920b8077?sid=914ffc3f-19a2-4159-be82-ed2868e90eca
Testing Instructions
Go to the
Give > Settings > Advanced
page to enable or disable theOption-Based Form Editor
option and make sure the expected behaviors occur.Expected behaviors with the legacy editor disabled:
Expected behaviors with the legacy editor enabled:
Pre-review Checklist
@unreleased
tags included in DocBlocks