google / google/site-kit-wp

Decouple widget displaying logic out of the datastore

Open
#9,645 0 comments 0 reactions 1 assignee Claimed by @jimmymadon View on GitHub
P2 Type: Enhancement
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 14h
Merged PRs (30d)
77

Description

## Feature Description

In #9548, we refactored the key metric widget rendering to use an additional callback. However, such callbacks are now being called in the datastore which can be decoupled as mentioned in the Code Review comments in PR #9581. This issue is a follow up to implement those CR comments and any other potential improvements.

---------------

_Do not alter or remove anything below. The following sections will be managed by moderators only._

## Acceptance criteria

*

## Implementation Brief

* [ ]

### Test Coverage

*

## QA Brief

*

## Changelog entry

*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.