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

Improve UX for CRs #955

Open
5 tasks
gberche-orange opened this issue Feb 13, 2023 · 2 comments
Open
5 tasks

Improve UX for CRs #955

gberche-orange opened this issue Feb 13, 2023 · 2 comments
Assignees

Comments

@gberche-orange
Copy link
Contributor

gberche-orange commented Feb 13, 2023

Expected behavior

As an headlamp user
In order to list/read/edit/update/delete custom resources
I need headlamp to make it as easy to deal with CR than with built-in K8S resources

See related screenshots of current similar support in lens that leverages the CRDs additionalPrinterColumns to display the CR fields to display in the table view

image
image
image

See related snapshots in k9s
image
browsing down provides the describe view
image
or the full yaml view

See related snapshot of structural schema support for creating/updating CRs in openshift
openshift2

Current behavior

In version 1.25.3, it is hard to discover CRs are indeed listed:

Once one the CRD list
image
The CRD page displays some details of the CRD
image
and only after scrolling at the bottom of the page, the CR are displayed in the "Objects" section
imagebut without honoring the additionalPrinterColumn
image

image

Suggested enhancements

@Guilamb
Copy link
Contributor

Guilamb commented Apr 18, 2024

Hello, I'm part of @gberche-orange team, and I'm in charge of finding a Webui to consume custom [Crossplane] K8S CR apis.

After looking up to multiple services, we've choosen to use Headlamp.

Our needs are :

  • Discover CRDs and associated CRs

  • Filter CRDs by CR's namespace and categories

  • Differenciates CR with different CRDs version

  • Create a CR from a CRD

    • From a form (generated using the json schema)

    • From editor with completion and instant feedback

    • With documentation

  • Edit and delete CRDs and CRs

  • Get the additional printer columns of a CR

  • View CR status

  • View secrets generated using the CRD

Ultimately, our objective is to use Headlamp as an interface for our clients to provision themselves with services through Crossplane.

And as a tool to demonstrate service provisionning as service provider.

To develop and integrate the missing parts to fulfill our needs, which would include imo:

I've created the following mockup on Figma :
https://www.figma.com/proto/qvLeAUXzq6AmSTj6U00e1G/Headlamp?type=design&node-id=14-1629&t=4ks8Wf5TSZBWU2Mw-1&scaling=min-zoom&page-id=0%3A1&starting-point-node-id=14%3A1629&mode=design

For now, I don't know whether I should contribute these changes in the form of a plugin or directly as PR on Headlamp itself.
I've already played a bit with the plugins which are great, and I think it would be sufficient for our needs, but contributing those changes, could benefit Headlamp's UX regarding Custom Resources.

@joaquimrocha
Copy link
Collaborator

joaquimrocha commented Apr 18, 2024

Hi @Guilamb . I'm happy to see you chose Headlamp.
Regarding the needs you suggest for the CR/CRDs, at first glance I think they are changes that would benefit all users of Headlamp and therefore they could be in Headlamp Base (core, not a plugin).

Let me look in more detail at the mockup you provide and I should check with our design team but I think these are great changes that will improve the CRs UX and I'm looking forward to having them.

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

3 participants