- Remove CatalogEntityItem as it is a needless abstraction
- Refix transparent background bug after bad rebase
- Improve type safety around CatalogEntities by having CatalogEntitySpec
be Partial<Record<string, unknown>>
- Cleanup implementation of catalogSyncToRendererInjectable
- Always use EntityPreferencesStore as an injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Make CatalogEntityRegistry.init redundent
- Make all IPC injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Ensure that catalog is initialized during startFrame
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Fix tests that overroad catalog sync
- Actually use the catalog sync
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Add behavioural tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Don't assign in a computed
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Make each store have a seperate migration version
- Allows each store to only bump its version when necessary
- Allows more decoupling from the extension API version so that PRs go stale slower
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Add behavioural tests for short name length
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Fix uses of testUsingTakeTime
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Fix test flakiness by removing animate delay in tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Update snapshots after removing timing sideeffects
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move files to features/ to simplify structure
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Request string CAs from main on renderer
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix override
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* First sketch of hpav2 metrics
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* HPA metrics initial tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Receive target Object metrics for v2
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* External target metrics
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add more types for ObjectMetricStatus
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Move metrics parsing from HPA object to separate injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add metric parser for HPA v2
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Using metrics parser in hpa list and details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add more test cases for HPA v2
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add HorizontalPodAutoscalerV1MetricParser
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding injectable for hpa v1 metric parser
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding test cases for autoscaling/v1 metrics
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add test cases for hpa beta versions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Check for legacy targetCPUUtilizationPercentage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix external metirc parser output
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Small clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing fallbackApiBases
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove left comments
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Making metric parser classes as not injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix metrics in hpa details for newer versions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Spreading types to V2 and V2Beta1
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Move getMetricName() to its own file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Improve the injectability of cluster metadata detection
- Remove unnecessary and complex base class
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove last usages of request in our code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove more deps
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lensFetch
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Improve the injectability of cluster metadata detection
- Remove unnecessary and complex base class
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add flat TableHead param
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Use flat headers across details panel tables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* - <NamespaceSelectBadge/> new component refactored out from multiple resource views with excessive dependencies (e.g updating global namespace filter)
- better UX to and visibility for user on click action (sometimes namespace-filter might not be visible in app/UI)
- updated some snapshots with `jest --updateSnapshot src` (somehow affected `helm-charts/releases/*`)
* Cleanup loading terminal fonts
- Make list of possible fonts fully OCP
- Only mark the loading of a font as 'causesSideEffects'
- Make a view model for the terminal font preferences component
- Move the TTF files next to where they are registered to help with finding them
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup formatting and change model to presenter
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
- Make sure that dependency constructors are not exported
- Readd `KubeJsonApi.forCluster`
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Make sure secrets get passed through
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix bump master version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
- Don't create a PR if the previous release was just an alpha or beta
- Correct the label used on the PR
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>