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

Consider how L&L can leverage DataViews #125

Open
GabrielGallagher opened this issue Aug 27, 2024 · 2 comments
Open

Consider how L&L can leverage DataViews #125

GabrielGallagher opened this issue Aug 27, 2024 · 2 comments
Assignees
Labels
Ideas and Requests New feature or request

Comments

@GabrielGallagher
Copy link

https://developer.wordpress.org/block-editor/reference-guides/packages/packages-dataviews/
https://www.datakit.org/

Seems like the kind of thing that might be useful to interact with in some way

@eliot-akira
Copy link
Contributor

eliot-akira commented Aug 28, 2024

Oh that's very interesting. I found some related links:

This could be a good replacement for the existing Table module in L&L, which is undocumented yet. Its internals are somewhat complicated because it's based on a React table library that uses hooks for everything.


I like the idea of leveraging available Gutenberg blocks/components, and other features bundled with WordPress, to extend L&L.

Especially if they can be used independently or without pulling in too many dependencies. I'm guessing any Gutenberg block will depend on loading wp.element, a proxy/wrapper for React, on the frontend. I just checked and it's actually a small library, wp-includes/js/dist/element.min.js (12K minified).

So theoretically we can look at other Gutenberg packages and core blocks, to consider if/how L&L can make use of them.

@GabrielGallagher
Copy link
Author

@eliot-akira this also seems worth a look: https://github.com/Automattic/create-content-model/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ideas and Requests New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants