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

Visualizing content of components #3

Open
wout opened this issue Feb 24, 2019 · 3 comments
Open

Visualizing content of components #3

wout opened this issue Feb 24, 2019 · 3 comments

Comments

@wout
Copy link

wout commented Feb 24, 2019

Hi,

I just discovered cockpit and really love it. It has everything required for a project I am working on. One of the last hurdles is a UX issue with this add-on. Is there a way to visualize something of the content of a component? Like a small thumbnail for an image, the first sentence of a text element, ... Currently the UI is sober, which I personally like, but the people I work with will need a more visual reference.

image

I know the components can be named, but showing the actual content will make it a bit better. :)

UPDATE:

If this is not something you plan or want to implement, could you at least give me some pointers on how to approach if I want to implement it myself?

@pauloamgomes
Copy link

That make sense to me, proposed already something similar - https://discourse.getcockpit.com/t/layout-field-type/303/5

@fredrikkarlsson-pervanovo
Copy link

fredrikkarlsson-pervanovo commented Apr 12, 2021

I know this is an old issue, but I just published an addon to add previews to custom layout components.
Check it out: https://github.com/Pervanovo/CockpitLayoutComponentPreviews
ps. It requires a PR on Cockpit which is not accepted yet

@TulioAbreu
Copy link

TulioAbreu commented Oct 25, 2021

I think cockpit CMS already implemented Text/Image preview. I think the problem is, is it possible to show container/text/image preview from a custom LayoutComponent?

Is is possible to create a custom Grid component and show it just like the Grid component? (for example)

This is an old issue but still relevant

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

4 participants