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

Including preview_image into gallery selection panel #2

Open
kolibril13 opened this issue Oct 21, 2022 · 1 comment
Open

Including preview_image into gallery selection panel #2

kolibril13 opened this issue Oct 21, 2022 · 1 comment

Comments

@kolibril13
Copy link
Contributor

It would be nice to use the social media preview image in gallery selection panel.
https://github.com/kolibril13/plywood-gallery-minimal-example/blob/e364cb73922018c9d3bbb09bf9fa9861befe3449/gallery_config.yaml#L5

Purposed design :
plywood2

Current:
plywood

@Rickaym
Copy link
Owner

Rickaym commented Oct 22, 2022

I like the proposal!

I think we should use this issue as part of the project from upgrading the TreeView into a WebView--which allows custom HTML rendering.

Currently, we're using the default implementation of VSCode's TreeDataProvider for our TreeViews: this does not allow custom HTML to be displayed. As part of a means to create a better user-friendly version for the TreeView, I've considered using a WebView rather than the data provider (pending implementation is at .../hub/hub.html containing the HTML code that should be rendered to display the TreeView)

Implementing a WebView means that we'll also have to factor in displaying the tree items (if the proposed implementation of the TreeView still wants to use it)

It would be awesome if you could contribute the HTML implementation for the TreeView--also do let me know if there's any confusion.

Ricky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants