wordpress-mobile / wordpress-mobile/GutenbergKit

Deduplicate `showSpinner()` invocation alongside `loadEditor()`

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

Nobody has claimed this yet.

[Type] Code Quality Good First Issue
Dominant language
JavaScript
Stars
29
Forks
6
Avg merge
1d 9h
Merged PRs (30d)
41

Description

This may be duplicative since showSpinnerPhase() is invoked within loadEditor(). Remove it?

Originally posted by @dcalhoun in https://github.com/wordpress-mobile/GutenbergKit/pull/326#discussion_r2829592044

Contributor guide

Open the contributing guide

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 the showSpinner() and loadEditor() entry points and inspect how showSpinnerPhase() is invoked within loadEditor(). Remove the duplicated invocation if confirmed, then verify that the editor still displays its spinner during loading and that existing checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.