ibericode / ibericode/mailchimp-for-wordpress

Modernize form JavaScript

Open
#843 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
138
Forks
72
Avg merge
3h 51m
Merged PRs (30d)
1

Description

Goals:

  • No JavaScript by default, unless AJAX is enabled. See #835.
  • Native browser events using addEventListener().
  • We should have an upgrade path for users using the current JS API. Grace period, deprecation warnings, etc.
  • Conditional elements JS printed inline in case form is using it. Otherwise, not loaded at all.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; start by locating the current form JavaScript API and the AJAX and conditional-elements handling, then review issue #835. Done means JavaScript is omitted unless needed, native browser events are used, and an upgrade path exists for users of the current API.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php, wordpress
Domain
frontend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.