Alex Andreev
61602d9628
Customize search input placeholder
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
dbd480212d
Add Rules details item
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
a3a16c42c9
Add namespace selector
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
86eda1d751
Set mutatingwebhookconfigs as cluster-scoped
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
f00c6129d7
Add object selector details item
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
a308320dd6
Remove namespace and labels columns
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
02e24735b8
Fix webhook field scoping
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
9c2884a671
Change sidebar link parent to Config item
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
78f9c2ec07
Add rbac rules
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
07d5ddfda8
Add detail item injectable
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
849e2b6397
Add index.ts for exporting list and details
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
afd7413849
Add mutatingWebhookConfigurationsRouteComponentInjectable
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
Alex Andreev
66252f068d
Add more fields to details panel
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-04-11 15:10:26 +03:00
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