WordPress / WordPress/wordpress-playground

Blueprints: Add a shorthand for the resetData step

Open
#2,139 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

[Package][@wp-playground] Blueprints [Type] Enhancement
Dominant language
JavaScript
Stars
2k
Forks
462
Avg merge
18h 44m
Merged PRs (30d)
33

Description

Now that we have quite a few shorthand for more verbose steps, I would suggest to make the resetData step also a shorthand, similar to the login step

{
    "steps": [
        {
            "step": "resetData"
        }
    ]
}

Becomes

`"resetData":true`

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

Start by locating Blueprint shorthand handling and compare it with the existing login step shorthand described in the issue. The work is done when a resetData step can be represented by the boolean shorthand shown and the existing behavior remains covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.