Siege Lion
d38b20de64
Feat: add feature of refreshing resource view and fix the bug of stucking ( #4743 )
...
* Fix: add test cases
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix bugs in resource view switch
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: optimize the method of resource view render
1. Separate view loading and data rendering to optimize the view rendering speed
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix the bug of ctx value transmit in resource view switch
Signed-off-by: HanMengnan <1448189829@qq.com >
* Feat: Add the feature of auto refresh
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-09-20 11:28:51 +08:00
Siege Lion
67f1901015
Refactor: rename interfaces and functions in vela top to promote semanticity ( #4727 )
...
* Fix: rename two interface name to make the name more specific
1. rename the ResourceListener to ViewListener
2. rename the Component to View
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: update the type of ”Main“ field in component.app
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: rename some functions of pageStack to make the name more readable
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix some name
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add more test case
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix time format bug
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix test case in cluster_namespace_test.go
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-09-15 17:10:18 +08:00
Siege Lion
4d3ef75601
Feat: Add a new CLI command: vela top which can display system information and resource status in UI form ( #4556 )
...
* Feat: UI sketch init
Signed-off-by: HanMengnan <1448189829@qq.com >
* Feat: Resource data load finish
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: optimize code struct
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add test case and fix some bugs
1. add test case to package model
2. fix a bug of ListClusters
3. optimize code structure
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix go.mod package version
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix some bugs and optimize code structure
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix irregular code and add comments
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: supplement test cases and fix bugs
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: move the `vela status --ui` command out and add it as a new command `vela top`
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix package import sequence and go.mod
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add copyright header
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: update description and example of command `vela top`
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: convert color variables to const variables
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-08-09 10:56:22 +08:00