everettraven/buoy

Add ability to edit a resource from the table and item panels

Closed this issue · 1 comments

While the table and item panels are great for viewing information about resources, it would be nice to provide the option to edit the contents of a resource from the table with a simple key press. This should switch to a lightweight text editor that is initialized with the contents of the currently selected table item or the resource that is shown in the item panel's view

Acceptance Criteria:

  • Key press triggers a switch from the table/item view to a text editor with the appropriate YAML
  • Input to the table/item panel should be disabled and input should only affect the text editor
  • Another key press (either the same key that triggered the edit mode or a different key. Leaving as an implementation detail) should close the edit mode and return to the table/item panel view.
  • Closing out of edit mode should apply the changes to the cluster

I was toying around with this and performance took a big hit. I think for now it's okay to not have this functionality and leave buoy as a read-only dashboard until there have been some performance improvements made