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

Summary sections can be updated #718

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

bryanl
Copy link
Contributor

@bryanl bryanl commented Feb 20, 2020

Update Summary component to allow its summary sections to
be updated. To update a section, add a new item with an
existing name.

This change will allow plugins to update existing config and
status items in the object summary. This is useful for
converting text components to link components.

Fixes: #717

Signed-off-by: bryanl bryanliles@gmail.com

@bryanl bryanl requested a review from a team February 20, 2020 14:14
@bryanl bryanl self-assigned this Feb 20, 2020
Update Summary component to allow its summary sections to
be updated. To update a section, add a new item with an
existing name.

This change will allow plugins to update existing config and
status items in the object summary. This is useful for
converting text components to link components.

Signed-off-by: bryanl <bryanliles@gmail.com>
@bryanl
Copy link
Contributor Author

bryanl commented Feb 21, 2020

@vmware-tanzu/octant-reviewers ping!

@wwitzel3
Copy link
Contributor

I worried about what happens when every plugin wants to write their own custom message to a well defined section, it is basically what ever plugin gets there last wins.

@bryanl
Copy link
Contributor Author

bryanl commented Feb 21, 2020

I worried about what happens when every plugin wants to write their own custom message to a well defined section, it is basically what ever plugin gets there last wins.

@wwitzel3 Yes. The last one written wins. There's not an easy way to stop it from happening other than public shaming.

@wwitzel3 wwitzel3 merged commit 05543ea into vmware-archive:master Feb 21, 2020
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.

Replace summary sections
2 participants