Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce provideWidgets utility #10466

Open
1 task
aaemnnosttv opened this issue Mar 17, 2025 · 0 comments
Open
1 task

Introduce provideWidgets utility #10466

aaemnnosttv opened this issue Mar 17, 2025 · 0 comments
Assignees
Labels
Next Up Issues to prioritize for definition Type: Infrastructure Engineering infrastructure & tooling

Comments

@aaemnnosttv
Copy link
Collaborator

Feature Description

A new utility should be introduced for the purpose of providing all default/core widget registrations while allowing for overrides as per our convention.


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

Acceptance criteria

  • A new provideWidgets utility should be introduced in tests/js/utils that follows our conventions with the following signature:
provideWidgets( registry: WPDataRegistry, extraData: Object[] = [] ) : void
  • It should register all widgets and widget areas as per its registerDefaults while allowing for overrides & additions via extraData

Implementation Brief

Test Coverage

QA Brief

Changelog entry

@aaemnnosttv aaemnnosttv self-assigned this Mar 17, 2025
@aaemnnosttv aaemnnosttv added the Type: Infrastructure Engineering infrastructure & tooling label Mar 17, 2025
@binnieshah binnieshah added the Next Up Issues to prioritize for definition label Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Next Up Issues to prioritize for definition Type: Infrastructure Engineering infrastructure & tooling
Projects
None yet
Development

No branches or pull requests

2 participants