1) Fix typo in name of environment (#7318) Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> (jansav) (SHA: a29e45875f245b5c53dbec87db407f2c633fa0cc) 2) Update link in README (#7314) Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> (jansav) (SHA: 443620a6a4f7a66c222fe327daac6a79bb1f333a) 3) Bump mini-css-extract-plugin from 2.7.2 to 2.7.3 (#7313) Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.7.2 to 2.7.3. - [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases) - [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.7.2...v2.7.3) --- updated-dependencies: - dependency-name: mini-css-extract-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (dependabot[bot]) (SHA: 48ce558420d2f80e9b0a47c8b7c320b52cebfd55) 4) Copy detected metadata from cluster to catalog cluster (#7316) * Copy detected metadata from cluster to catalog cluster Signed-off-by: Juho Heikka <juho.heikka@gmail.com> * Remove duplicate copyright comment Signed-off-by: Juho Heikka <juho.heikka@gmail.com> * Lint fixes Signed-off-by: Juho Heikka <juho.heikka@gmail.com> * Typescript fix Signed-off-by: Juho Heikka <juho.heikka@gmail.com> --------- Signed-off-by: Juho Heikka <juho.heikka@gmail.com> (jweak) (SHA: d5a124bd7925d8288f9db09150819cafc4b72be7) 5) Exporting ResourceMetrics and PodCharts to extension API (#7326) Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> (aleksfront) (SHA: e6d6d1d8f7cbf8a5be998d7ee93f68daf5c7d781) 6) Cleanup 'Cluster' to remove environment specific details (#6951) - requestNamespaceListPermissions is infallable so no need to have the extra try/catch - Refactor isMetricHidden method away from Cluster - Refactor shouldShowResource out of Cluster - Refactor isInLocalKubeconfig out of Cluster - Remove depecrated and unused workspace from Cluster - Refactor out kubectl as a dependency of Cluster - Remove from cluster getter used only once - Split out ClusterConnection from Cluster - Also split out KubeAuthProxyServer from ContextHandler - Rename ContextHandler to PrometheusHandler - Cleanup onNetworkOffline/Online impls within ClusterManager - Remove annotations from ClusterConnection - Remove mobx annotations from Cluster - Rename loadConfigFromFileInjectable - Remove all uses of dead createClusterInjectionToken - Fix type errors related to broadcastConnectionUpdate Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: ad9bafe2a5aea5cf9944492d46d2cecf87b310bf) 7) Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) * Convert runMany and runManySync to use injectManyWithMeta Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fixup type errors due to new Runnable requirements Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add documentation for verifyRunnablesAreDAG Signed-off-by: Sebastian Malton <sebastian@malton.name> * Simplify convertToWithIdWith Signed-off-by: Sebastian Malton <sebastian@malton.name> * Move all utility functions to separate package Signed-off-by: Sebastian Malton <sebastian@malton.name> * Move testing utilities to separate package Signed-off-by: Sebastian Malton <sebastian@malton.name> * Move run-many and run-many-sync to separate package Signed-off-by: Sebastian Malton <sebastian@malton.name> * Replace all internal uses of utilities with new packages Signed-off-by: Sebastian Malton <sebastian@malton.name> * Use new @k8slens/run-many package in core Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add dep to open-lens Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fixup type errors Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fixup uses of @k8slens/test-utils Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fixup getGlobalOverride Signed-off-by: Sebastian Malton <sebastian@malton.name> * Move tests to new package too Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix type errors Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fixup uses of AsyncResult and autoBind Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fixup remaining import issues Signed-off-by: Sebastian Malton <sebastian@malton.name> * Finial fixups to fix build Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix lint Signed-off-by: Sebastian Malton <sebastian@malton.name> * Revert moving "testUsingFakeTime" to separate package - This fixes tests Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix integration tests Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix unit test failing due to spelling fix Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 2789bcebcbc31a9bea483eaa69484a951a480647) 8) Introduce eslint and prettier for features and start using it (#7306) * Introduce package for sharing eslint and prettier configurations Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Start using eslint and prettier in packages Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> --------- Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> (jansav) (SHA: 699fc0309ead6275dc359769ce845f131551d1f4) 9) Fix update button being visible when download for update fails (#7336) Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> (jansav) (SHA: a5928d09cda42f97dcc9a1b876c13f9512b04b93) 10) Better displaying container's info for Pods (#7331) * Better displaying container's info for Pods and all tooltips with `formatters={{tableView: true}}` Signed-off-by: Roman <ixrock@gmail.com> * fix: keep containerID on a single line Signed-off-by: Roman <ixrock@gmail.com> * nope, i can :P (make it perfect) Signed-off-by: Roman <ixrock@gmail.com> --------- Signed-off-by: Roman <ixrock@gmail.com> (ixrock) (SHA: 34aed58ff0818c7db994d7f5c977807196702bd5) 11) Bump webpack from 5.75.0 to 5.76.0 (#7325) Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (dependabot[bot]) (SHA: 0095c0a4e762dbd0e0e494d88eb9ab20011c61e8) 12) Bump rimraf from 4.3.1 to 4.4.0 (#7324) Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (dependabot[bot]) (SHA: 74f679eb42205131b37cc28093f123618d564b99) 13) Update repository in statefulset template from k8s.gcr.io to registry.k8s (#7338) Signed-off-by: EnriqueTejeda <quique.tejeda.68@gmail.com> (EnriqueTejeda) (SHA: b99b06980ec87f3234cba4fda31c917bda1914f5) 14) Change typing for after/before window/application start (#7342) - Now the callback is provided with an object containing either `mainDi` or `windowDi` fields. This should help with confusion over which environment the `di` is for Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: a63f737adbf010bb62333fadb08ba19423c0efb9) 15) Keep up-to-date resource in the details view (Drawer) (#7224) * alternative to https://github.com/lensapp/lens/pull/7187 Signed-off-by: Roman <ixrock@gmail.com> * update snapshots with `jest src -u` from `packages/core` Signed-off-by: Roman <ixrock@gmail.com> * skipping some tests cause i have no idea how to fix those and what is wrong Signed-off-by: Roman <ixrock@gmail.com> * fix tests Signed-off-by: Roman <ixrock@gmail.com> --------- Signed-off-by: Roman <ixrock@gmail.com> (ixrock) (SHA: 79a4eb32a368508f63980e5c4abdf3d4a67f1f79) 16) Fix cluster view broken scrolling (#7349) Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> (aleksfront) (SHA: 0ee81ce636b59601e71bb40c431fd650039f3e80) 17) Fine-tune light theme hotbar colors (#7351) Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> (aleksfront) (SHA: 85268bf12bae21b777f8a78673825ee151a76fbd) 18) Fix cluster disconnect not working (#7352) Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 21352b3c6da4643348e1cdddb74255002b165788) 19) Release 6.5.0-alpha.1 (#7345) * Release 6.5.0-alpha.1 Signed-off-by: Sebastian Malton <sebastian@malton.name> * Switch to having lerna in independent mode Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix package versions Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update snapshot Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 3649070ca3fc3bbd1416e8852ffa4672e66abe07) 20) Fix release process in light of changing to independent versioning (#7357) * Remove workflow - Not applicable anymore since each package has its own version Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix daily-alpha to be based on core version Signed-off-by: Sebastian Malton <sebastian@malton.name> * lerna.json no longer will be updated during releases Signed-off-by: Sebastian Malton <sebastian@malton.name> * Use the prerelease parts of @k8slens/core to determine dist tag Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: e89ac54cd389e930cc2a0b3198c8ae2a5120367d) 21) Release 6.5.0-alpha.2 (#7358) * Release 6.5.0-alpha.2 Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update package-lock Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 572d7ba237c2b0f49ee67692adcaf836116a50b2) 22) Adding cluster settings icon menu items using injection token (#7341) * Take cluster settings menu icon items from computedInjectMany Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fixing changed cluster preference typing: using tuple array Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Export data from cluster-settings-menu-injection-token Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Exporting ClusterPreferences to extensions Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Linter fixes Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Adding tests Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Remove legacy api token export Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing legacy exports part 2 Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Cleaning up Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> --------- Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> (aleksfront) (SHA: 121a50ecf3947f8f563312681998b8102baf8fbe) 23) Move activating cluster into injectable IPC (#7355) Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 497f63fde630098d6322842f835b52cc5d61f766) 24) Move deactivating a cluster into injectable IPC (#7356) * Move activating cluster into injectable IPC Signed-off-by: Sebastian Malton <sebastian@malton.name> * Move deactivating a cluster into injectable IPC Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix type error Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: ae9a8c3c41535c49f1f91aa1ef7429541a901cdc) 25) Fix bundled extensions not being loaded (#7359) * Fix bundled extensions not being loaded - Also show that this fixes it by added an example bundled extension to 'open-lens' Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix build Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add explanatory comment for inline require Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 2c3c88be0420439520d5bb9c9ec83162702dad9a) 26) Release 6.5.0-alpha.3 (#7361) * Release 6.5.0-alpha.3 Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update lock-file Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 1a6b11525d7a732484d828eca92099e4e04361bf) 27) Respect cluster avatars entity background color (#7365) * Add iconBackgroundColor cluster preference type Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Set custom backround for hotbar entities Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Remove unused code from Catalog Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Update entity background if preferences background changes Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Set avatar backgrounds from entity Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Clean up Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Clean up in hotbar entity icon Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fix setting up entity background Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Use single icon prop Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Cleaning up hotbar entity icon Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fixing test to ensure icon has data:image Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Add more test cases Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> --------- Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> (aleksfront) (SHA: 763816f71f6e0cf8788c25439799527363da6295) 28) Fix findClosestVersionTagLessThanVersion in release tool (#7374) Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 8035f92dbdeee5659bc3b0fca36c2068d2b1f07f) 29) Fix catalog & workloads table view (#7371) * Fix catalog list table view Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Wrap ingresses rules Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Reduce Badge sizing Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Do not text-overflow:ellipsis in Pod names Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Save a room to table head cells Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Update snapshots Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> --------- Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> (aleksfront) (SHA: d7b2202c1f9e72683174645a3d876a6f94f8697c) 30) Remove direct dependency on 'abort-controller' package (#7366) Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 37513dee29bbf94cc0c755b96a87e1a7ecc6a7a2) 31) Fix resolve system proxy error when no windows available (#7375) * fix resolve system proxy error when no windows available Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * fix electronBrowserWindowInjectable id Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> --------- Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> (jakolehm) (SHA: 52ede670bb7d39a996f62874051b9b7e72bff62b) 32) Fix resolveSystemProxyFromElectron causing a crash on quit (#7379) * destroy resolve system proxy window on before quit Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * resolve system proxy window: load blank page Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * disable paintWhenInitiallyHidden Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> --------- Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> (jakolehm) (SHA: 7ed99255cd144d7f3f07c151d68540ed76d15e23) 33) Add note about major version bumps in release guide (#7382) Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 991da149f904b2088fbc04736fd935598aa46004) 34) Fix problems when using 'npm link' (#7380) * Fix problems when using 'npm link' - Add missing peerDependencies and devDependencies - Move 'overrides' to root package to fix audit issues Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix type issue and remove deprecated @types/* deps Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fixing type errors harder Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: df49ff9b96c38082484ac5c71211d491d95292bf) 35) Switch to using messaging and startable stoppable from NPM package (#7368) * Add custom jest resolver to fix requiring "uuid" module Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Update dependencies Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Introduce test utils for rendering and running with thrown mobx reactions Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Extract startable-stoppable to NPM package Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Extract messaging to NPM package Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Switch to using startable-stoppable from NPM package Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Switch to using messaging from the Feature Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Remove old implementation of messaging Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Make setupping app paths happen earlier in renderer Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Fix typo Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Add kludge to make testing-library work properly from test-utils package Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Fix code style Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Add lint:fix -root script Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Fix unrelated failing unit tests Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Turn of no-floating-promises from typescript linting for being broken Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Make linting not happen for dist -directories Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Make linting failures appear as failure Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Stop running prettier twice It already gets ran as eslint-plugin. Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Make CI run unit tests for all packages by consolidating name of NPM script Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Add missing unit tests for coverage Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Skip coverage for test utils Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Remove check for coverage in packages which are not ready for it Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Stop collecting coverage from index.ts files them being indirections to the implementation Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Implement sending message to channel in main Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Add missing feature dependencies Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Add dummy implementations for requesting in main from renderer Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Re-enable communicating from main to cluster frames Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Ignore trivial files from coverage Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Update package-lock Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Extract message-bridge to separate NPM package to prevent dev dependencies being in the production bundle Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Extract computed channel to own NPM package for clear dependencies Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Consolidate electron related stuff to a directory Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Add missing publish configurations Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Ignore test implementation from coverage being not interesting Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> --------- Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> (jansav) (SHA: 0f1f030a06cb3625eb62194696547d4c4fb0d703) 36) Electron 22.3.3 (#7389) * electron 22.3.3. Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * fix typo Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * fix crash on quit Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * fix sessionData app path Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * Fix errors after merging new feature Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> Signed-off-by: Sebastian Malton <sebastian@malton.name> Co-authored-by: Sebastian Malton <sebastian@malton.name> (jakolehm) (SHA: a920f2c057a53e38e6627faf273b2a67d80e749e) 37) Fix type error in new @k8slens/messaging (#7392) * Fix type error in new @k8slens/messaging Signed-off-by: Sebastian Malton <sebastian@malton.name> * Better fix to conform to tests Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 517e2fe17d07a5e91109ea448db6defb3f65737c) 38) Renderer file logging through IPC (#7300) * Renderer file logging through IPC Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Remove pagehide event listener as it may cause UI to freeze Pagehide was needed in cluster frame to better handle main frame close/reload situation. But even empty pagehide listener in cluster frame seems to freeze the UI at least on some situations (multiple clusters open). Beforeunload is not always executed in cluster frame when main frame is reloaded/closed, leaving log files open. To fix that, `stopIpcLoggingInjectable` is introduced to close all log files. Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Remove unnecessary formatting changes Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Lint fix Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Winston logger override Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Remove usage of doGeneralOverrides as it has been removed Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Update imports to match the new base Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Remove unnecessary id Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Review improvements Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Extract beforeunload listener to injectable Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Typo fix Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> --------- Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> (samitiilikainen) (SHA: 48db54ec9e42b712d97a67b8a8b85f8096e1422d) 39) Revert "Renderer file logging through IPC" (#7393) This reverts commit 48db54ec9e42b712d97a67b8a8b85f8096e1422d. (Nokel81) (SHA: 54093242367717292312df01905d052b66017953) 40) Add behavioural tests for Cluster Menu K8s Resources in Sidebar menu not being shown (#7280) * Add behavioural tests to cover bug fix Signed-off-by: Sebastian Malton <sebastian@malton.name> * Remove previous fix to fix last test Signed-off-by: Sebastian Malton <sebastian@malton.name> * More consistent impl of flushPromises Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fixup tests Signed-off-by: Sebastian Malton <sebastian@malton.name> * Remove ContextHandler test (dead code) Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix PrometheusHandler describe text Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix type errors Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add useful case test-utils helper Signed-off-by: Sebastian Malton <sebastian@malton.name> * Rename file to match token Signed-off-by: Sebastian Malton <sebastian@malton.name> * Cleanup tests to fix type errors and use tables Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 8a80607d8516736128dd22bde83d8e3351cb00db) 41) Fix behaviour of auto generated CRD KubeApis and KubeObjectStores (#7384) * Simplify CRD KubeApi registrations - Switch to auto injectable registrations Signed-off-by: Sebastian Malton <sebastian@malton.name> * Make sure that stores can still be retrieved Signed-off-by: Sebastian Malton <sebastian@malton.name> * Cleanup get extension fake to simplify impl Signed-off-by: Sebastian Malton <sebastian@malton.name> * Simplify logic for extensionInjectable Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix test in differencing registrator Signed-off-by: Sebastian Malton <sebastian@malton.name> * Cleanup code style Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix some tests Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix HPA details tests Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: 4b1d740d6154d06b655cc106b09b5a39aad2703a) 42) Fix Check for updates menu item title capitalisation (#7396) * Check for updates -> Check for Updates Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Revert debugging changes Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Adding ellipsis to every Check for Updates items Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> --------- Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> (aleksfront) (SHA: 4a3f08d798dd535b6b6e1749f562c38a715b7acd) 43) Adding package exporting injection tokens for cluster settings (#7395) * Add clusterIconSettingsComponentInjectionToken Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Adding tests for new token Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Create cluster-settings package Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fix cluster-settings package build process Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Use tolens from @k8slens/cluster-settings Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Linter fixes Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Remove typescript 5.x.x from cluster-settings package Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Adding prepare:test command to package.json Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Test small cleanup Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fix getByText check Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Clean up Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Linter fix Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> --------- Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> (aleksfront) (SHA: a0d13e80031c7424607b6c50135ec0e0a49df5ae) 44) Fix formatting in release guide (#7398) Signed-off-by: Sebastian Malton <sebastian@malton.name> (Nokel81) (SHA: a6e0da12971e3a763ff33dac14079c8a06e15eed) 45) Support using Eviction API where applicable (#7372) * Support using Eviction API when deleting Pods and Deployments, fix #5602 Signed-off-by: Roman <ixrock@gmail.com> * fix: `KubeStatus` message/status/info full explanation Signed-off-by: Roman <ixrock@gmail.com> * added some tests for `PodApi.evict(resourceDescriptor)` Signed-off-by: Roman <ixrock@gmail.com> * revert props.editable & props.removable for `KubeObjectMenu` Signed-off-by: Roman <ixrock@gmail.com> * revert props.editable & props.removable for `KubeObjectMenu` -- missing parts Signed-off-by: Roman <ixrock@gmail.com> --------- Signed-off-by: Roman <ixrock@gmail.com> (ixrock) (SHA: 3931c90d301d2b2480d3771b8dad060b24c3a335) 46) Export `getPodsByOwnerId` to extension API (#7225) Signed-off-by: Sebastian Malton <sebastian@malton.name> Co-authored-by: Sebastian Malton <sebastian@malton.name> (apialaviiva) (SHA: 8dc0177cb2ee6a0e40127dfde527141e3a9ae005)