google / google/site-kit-wp

Pull `ViewContextProvider` in preview.js

Open
#11,245 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 14h
Merged PRs (30d)
77

Description

## Feature Description

Refer to the [comment](https://github.com/google/site-kit-wp/pull/11221#discussion_r2248937653) on #11221. `ViewContextProvider` can be pulled into the preview so that we don't have to use it explicitly in individual stories.

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

_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

Research direction

Start by reading preview.js and the discussion linked from #11221 to understand how ViewContextProvider is currently used in individual stories. The change is complete when the provider is available from the preview setup and individual stories no longer need to add it explicitly; verify the affected stories and visual regression coverage.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.