Skip to content

Block settings updates #82

@jeffpaul

Description

@jeffpaul

Is your enhancement related to a problem? Please describe.

  1. Remove Header and Sub-header from display and turn into H2 and H3 if present.
  2. Allow Submit button to be editable, defaults to “Subscribe”.
  3. Move existing Color/Dimensions/Border to a Styles tab in the Block sidebar.
  4. Add Appearance, Line Height, Letter Spacing, and Letter Case options to the Typography section.
  5. Add Settings tab in the Block sidebar. Add “Audience” dropdown single-select with default to the value in “Update List” from plugin settings.
  6. Add “Form Fields” to Settings tab with default toggle enabled of “Show default fields”. If toggled to disabled, then expand to show full list of fields for the Audience selected with each field having its own toggle and each defaulted to enabled (based on the linked Mailchimp’s account Audience fields settings) which relates to enabled===visible and disabled===hidden. There’s also the concept of “Required field” on Mailchimp, so perhaps consider a checkbox for that alongside each field (though I worry that might get too cluttered in the sidebar, so perhaps a note at the bottom like “Update required fields in the Mailchimp.com form builder.”?). Alternatively two checkboxes for each field of “Required” and “Visible”?
  7. Add Advanced section (that’s collapsed by default) in the Settings tab of the Block sidebar. Add “Double Opt-In” with toggle defaulted to enabled. Helper text of “Before new your subscribers are added via the plugin, they'll need to confirm their email address.”
  8. Add “reCAPTCHA” with toggle defaulted to disabled to the Advanced settings. Helper text of “This helps prevent spambots from adding emails to your audience.”
  9. Add “Update existing subscribers” with toggle defaulted to enabled (this feels like the “right” default here?) to the Advanced settings. Helper text of “If an existing subscriber fills out this form, we will update their information with what's provided.”
  10. Add “Include Unsubscribe link” with toggle defaulted to disabled to the Advanced settings. Helper text of “We'll automatically add a link to your list's unsubscribe form.”
  11. Update existing plugin settings page to change “Your Lists” to “Form Shortcode Settings”. Probably worth noting above that and below the login/logout function something like “Form settings for the Mailchimp List Subscribe Form block are now located in the Block sidebar panel.”

Future: allow form labels to be editable (slight UX consideration here for how we make it clear what field label relates to what field in Mailchimp).
Future: add Groups, Segments, and Tags options to Block sidebar settings.

Designs

block form updates

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions