Alex Andreev
831c1f1d1e
Webhook Config initial details page
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
c6b1306d9a
Adding webhook sidebar items injectable
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
18ea6c2a4f
Adding webhook list and store
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
1d96760a3a
Adding mutating-webhook-configuration.api export to endpoints index.ts file
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
34f7b2f6b1
Adding routes and navigate-to injectables
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
704a642276
Add mutatingWebhookConfigurationApiInjectable
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
626fe1a890
Add MutatingWebhookConfiguration api
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
dependabot[bot]
9ea01a4062
Bump immer from 9.0.19 to 9.0.21
...
Bumps [immer](https://github.com/immerjs/immer ) from 9.0.19 to 9.0.21.
- [Release notes](https://github.com/immerjs/immer/releases )
- [Commits](https://github.com/immerjs/immer/compare/v9.0.19...v9.0.21 )
---
updated-dependencies:
- dependency-name: immer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-06 10:10:09 -04:00
dependabot[bot]
aaaf982ed7
Bump @typescript-eslint/eslint-plugin from 5.55.0 to 5.57.1
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.55.0 to 5.57.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.57.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-06 10:09:40 -04:00
Sebastian Malton
c9cd1cd8e0
chore: Update snapshots due to behaviour changes
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-06 09:05:27 -04:00
Sebastian Malton
82bf67cc9e
chore: Simplify extension dependency injection
...
- Has better typing
- Removes use of unnusual unique symbol
- Fix welcome banner tests
- Update associated snapshots
- Start converting custom column tests to use ApplicationBuilder
- Remove old and unnused RecursiveTreeView
- Introduce new TreeView for use in CatalogMenu to fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-06 09:05:27 -04:00
Sebastian Malton
5db8fc1342
chore: Remove explicit throw when finding platformSpecificVersion
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 16:17:50 -04:00
Sebastian Malton
c0ebe605c4
fix: Fix tests by recreating non-specific injection token
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 16:17:50 -04:00
Sebastian Malton
477ad3caa4
chore: fix lint for main webpack
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 16:17:50 -04:00
Sebastian Malton
3c8839151c
chore: move test-env specific versions to own folder
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 16:17:50 -04:00
Sebastian Malton
5fc32c0b27
chore: convert request-system-cas to use PlatformSpecific
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 16:17:50 -04:00
Sebastian Malton
75a1b0a983
chore: move PlatformSpecific back to core
...
- This is needed in 6.4 and this will make that transition easier
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 16:17:50 -04:00
Sebastian Malton
0bc3d9f8b2
feat: Introduce PlatformSpecific as a new wrapper type for injectables
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 16:17:50 -04:00
Sebastian Malton
9b0318b493
fix: remove platform specific injectable file names
...
- Causes issues due to a single platform being used to build the library
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 16:17:50 -04:00
Sebastian Malton
630928d6ba
chore: fix spelling
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 16:17:50 -04:00
Sebastian Malton
15d3829319
Fix cherry-pick of #7504
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 14:41:38 -04:00
dependabot[bot]
87453b2f14
Bump joi from 17.8.4 to 17.9.1
...
Bumps [joi](https://github.com/hapijs/joi ) from 17.8.4 to 17.9.1.
- [Release notes](https://github.com/hapijs/joi/releases )
- [Commits](https://github.com/hapijs/joi/compare/v17.8.4...v17.9.1 )
---
updated-dependencies:
- dependency-name: joi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-05 13:49:18 -04:00
Janne Savolainen
a3716baaf0
Stop file system watchers on application quit to prevent exit code !== 0 ( #7504 )
...
* fix: Dispose the kubeconfig watcher when application quits
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* fix: Dispose the extension watcher when application quits
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2023-04-05 13:35:13 -04:00
Sebastian Malton
807f98ed1b
Persist apiVersion when editing resources in monaco ( #4406 )
...
* Persist apiVersion when editing resources in monaco
- Use a new custom k8slens prefixed label
- Means that users aren't surprised when they use lens to update a
resource to a new apiVersionWithGroup
- Doesn't touch the versions in the stores
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix: Fix lint issues
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* chore: make lint not bail on failure
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* chore: Run lint:fix on all files
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 10:56:23 -04:00
Sebastian Malton
058494bc73
Introduce clearer boundry between extensions ( #7164 )
...
- Bundled extensions are always enabled, and are always compatible
- Have bundled extensions be loaded asyncronously to support
typescript dynamic import (which is typed) as opposed to require
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 10:21:38 -04:00
Sebastian Malton
351f9d492f
fix: Referencing apiManager should not throw ( #7468 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 10:17:35 -04:00
Sebastian Malton
128b05d4d4
feat: Allow built versions to specify an environment ( #7495 )
...
* feat: Allow built versions to specify an environment
- This should be hard coded at build time
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* chore: Add default value to open-lens
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* chore: Add --no-bail to test script invocations
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* chore: Add tests for coverage of new code
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-05 10:17:21 -04:00
dependabot[bot]
af1808dbb3
Bump @ogre-tools/injectable-extension-for-mobx from 15.1.2 to 15.3.0 ( #7503 )
...
Bumps [@ogre-tools/injectable-extension-for-mobx](https://github.com/ogre-works/ogre-tools ) from 15.1.2 to 15.3.0.
- [Release notes](https://github.com/ogre-works/ogre-tools/releases )
- [Changelog](https://github.com/ogre-works/ogre-tools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ogre-works/ogre-tools/compare/v15.1.2...v15.3.0 )
---
updated-dependencies:
- dependency-name: "@ogre-tools/injectable-extension-for-mobx"
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>
2023-04-05 10:04:55 +03:00
dependabot[bot]
1e6c859539
Bump tailwindcss from 3.2.7 to 3.3.1 ( #7458 )
...
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss ) from 3.2.7 to 3.3.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.7...v3.3.1 )
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:development
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>
2023-04-04 08:14:55 -04:00
Sami Tiilikainen
69b132300c
Renderer file logging through IPC ( #7499 )
...
* 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 >
* Behavioural tests and log file rename
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com >
* Update messaging to work with new base
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com >
* Move files to feature
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com >
---------
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com >
2023-04-04 08:11:06 -04:00
Sebastian Malton
173a667466
Auto cancel stale workflows ( #7494 )
...
* chore: rename workflow file
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* chore: Add concurrency rules for workflows
- test
- Electronegativity
- linter
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-04 07:33:18 -04:00
Alex Andreev
2cf8a2f188
Add workload 'kind' param to 'show-details' event ( #7464 )
...
* Introduce getWorkloadKindFromUrl() method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Whitelist kind param to 'show-details' event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using parseKubeApi instead of new utility
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding checks for empty selfLink
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-04 09:59:36 +03:00
dependabot[bot]
df9db01be5
Bump ansi_up from 5.1.0 to 5.2.1 ( #7497 )
...
Bumps [ansi_up](https://github.com/drudru/ansi_up ) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/drudru/ansi_up/releases )
- [Commits](https://github.com/drudru/ansi_up/compare/v5.1.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: ansi_up
dependency-type: direct:development
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>
2023-04-04 09:55:46 +03:00
Juho Heikka
1308b5ed6c
Webpack config fixes ( #7423 )
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2023-04-04 09:36:02 +03:00
dependabot[bot]
7116e55d5a
Bump @typescript-eslint/parser from 5.55.0 to 5.57.1 ( #7496 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.55.0 to 5.57.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.57.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
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>
2023-04-04 09:25:09 +03:00
Gabriel Accettola
e790757302
Show Message Box when no update is available after manually checking for updates ( #7390 )
...
* no updates available
Signed-off-by: Gabriel <gaccettola@mirantis.com >
* lint fix
Signed-off-by: Gabriel <gaccettola@mirantis.com >
* lint padding-line-between-statements
Signed-off-by: Gabriel <gaccettola@mirantis.com >
* test stubs - wip
Signed-off-by: Gabriel <gaccettola@mirantis.com >
* tray - when no new update is discovered showMessagePopupMock toHaveBeenCalled & toHaveBeenCalledWith
Signed-off-by: Gabriel <gaccettola@mirantis.com >
* fake tray and fake menu parity
Signed-off-by: Gabriel <gaccettola@mirantis.com >
* tray and menu passing tests and lint
Signed-off-by: Gabriel <gaccettola@mirantis.com >
---------
Signed-off-by: Gabriel <gaccettola@mirantis.com >
2023-04-03 15:36:25 -04:00
Sebastian Malton
4856e3c5aa
chore: Add notes about picking PRs in release guide ( #7492 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-03 14:19:20 -04:00
Sebastian Malton
b22d7af291
fix: Add check in release-tool for no relevant PRs ( #7478 )
...
* fix: Add check in release-tool for no relevant PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix: Change wording of message while picking PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-03 13:05:04 -04:00
Juho Heikka
fef9443064
Fix node metrics line progress ( #7466 )
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2023-04-03 16:12:35 +03:00
dependabot[bot]
47796228d0
Bump @types/react-beautiful-dnd from 13.1.3 to 13.1.4 ( #7459 )
...
Bumps [@types/react-beautiful-dnd](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-beautiful-dnd ) from 13.1.3 to 13.1.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-beautiful-dnd )
---
updated-dependencies:
- dependency-name: "@types/react-beautiful-dnd"
dependency-type: direct:development
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>
2023-04-03 08:28:49 -04:00
dependabot[bot]
8872b2f94a
Bump playwright from 1.31.2 to 1.32.1 ( #7460 )
...
Bumps [playwright](https://github.com/Microsoft/playwright ) from 1.31.2 to 1.32.1.
- [Release notes](https://github.com/Microsoft/playwright/releases )
- [Commits](https://github.com/Microsoft/playwright/compare/v1.31.2...v1.32.1 )
---
updated-dependencies:
- dependency-name: playwright
dependency-type: direct:development
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>
2023-04-03 08:28:29 -04:00
dependabot[bot]
9d1464c39a
Bump webpack-dev-server from 4.11.1 to 4.13.2 ( #7457 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.11.1 to 4.13.2.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.11.1...v4.13.2 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
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>
2023-04-03 08:27:35 -04:00
Janne Savolainen
f4cb1d3ff4
Introduce Feature for Keyboard Shortcuts ( #7442 )
...
* Introduce feature for assigning keyboard shortcuts
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Enable keyboard shortcuts automatically instead of requiring explicit listener to be used in the application
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Start using keyboard shortcuts feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update package-lock after rebase
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak scripts for a package
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce modifier for ctrl or command based on platform in use
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2023-04-03 08:23:42 -04:00
Juho Heikka
a73586d844
Fix metrics visibility logic ( #7465 )
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2023-04-03 08:06:53 -04:00
Panu Horsmalahti
3b8ef07a9e
conf v10.2.0 ( #7462 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2023-04-03 13:44:57 +03:00
Sebastian Malton
b5a085b55c
Get dev mode fixed ( #7447 )
...
* Get dev mode fixed
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add empty scripts for windows to satisfy run-script-os
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-31 15:30:21 -04:00
Sebastian Malton
fe2fd4c1fd
Move Cluster.apiUrl to seperate injectable ( #7354 )
...
* Refactor out Cluster.apiUrl to direct reading
- Should help prevent using stale data
- Removes some uses of synchronous FS operations
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Rename helper function to better communicate intent
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Improve prometheus handler tests to override less things
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-31 15:28:14 -04:00
Sebastian Malton
18d660ea77
Add temporal dependency to initializeExtensions ( #7454 )
...
- So that extensions can ensure that the shell env is up to date
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-31 14:33:05 -04:00
Sebastian Malton
9b8d6e4e44
Fix crash due to non base64 encoded secrets ( #7448 )
...
* Fix crash due to non base64 encoded secrets
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 >
2023-03-31 14:21:40 -04:00
Sebastian Malton
908a3cabe1
Close Lens Proxy on quit of backend ( #7453 )
...
- Extract global shared state of shell sessions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-31 14:21:31 -04:00