Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Added properties pane to Resource Viewer #2481

Merged
merged 2 commits into from
Jun 1, 2021

Conversation

mklanjsek
Copy link
Contributor

Properties are now displayed for selected node in Resource Viewer:

Screen Shot 2021-05-20 at 2 20 39 PM

Properties are created and merged together like this:

  1. Version and Kind are always present at the top. These were already passed down to client, so they are simply just directly added there,
  2. Namespace, Created and Labels (if present) are added for all resource types,
  3. Next group depends on resource type, for example for Pods we are adding Service Account, Node and Controlled By fields,
  4. Lastly, at the very bottom are properties that are added by plugins. In screenshot above, you can see that our sample plugin has added the ID field (example how to do that is included for plugin authors),

Special notes for your reviewer:
Please let me know if there are certain properties that are better suited for a specific resource. We may need a second pass to tweak what exactly shows up for each resource type.

Signed-off-by: Milan Klanjsek [email protected]

Copy link
Contributor

@xtreme-vikram-yadav xtreme-vikram-yadav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an amazing new feature. Thank you for bringing it in.

internal/objectstatus/deployment.go Outdated Show resolved Hide resolved
internal/objectstatus/pod.go Outdated Show resolved Hide resolved
internal/objectstatus/pod.go Outdated Show resolved Hide resolved
@mklanjsek
Copy link
Contributor Author

@xtreme-vikram-yadav PTAL

@xtreme-vikram-yadav
Copy link
Contributor

Please squash the commits before merging.

…ent, restructured replicas, cleaned and refactored code

Signed-off-by: Milan Klanjsek <[email protected]>
@mklanjsek mklanjsek merged commit d916100 into vmware-archive:master Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resource Viewer: show resource details in details pane
2 participants