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

Create & Expose Settings Components #204

Open
ckanitz opened this issue Dec 2, 2024 · 0 comments
Open

Create & Expose Settings Components #204

ckanitz opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@ckanitz
Copy link
Collaborator

ckanitz commented Dec 2, 2024

As the "gutenberg data store" is not loaded automatically by using "rest-sensitive" components we had to rewrite some of our existing components in some of our latest projects:

  • Post/Entits Select Control -> Post Select Setting
  • Weblink Control -> Weblink Setting
  • Image Select Control -> Media Select Setting

Those Setting Components are basically the same as the Control counter-part. They differ in data fetching:

  • Controls: Data-Store
  • Setting: fetch(REST_URL ...)

For future development we might want to transfer those Setting Components to the Basic Plugin and expose them.
Thus we won't need to add the to every project in the future.

If you green light this just assign me and change the label(s).

@ckanitz ckanitz added the question Further information is requested label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants