1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

368 Commits

Author SHA1 Message Date
Sebastian Malton
9d51ef2aa6 fix: Don't crash when hovering hotbar menu index
- Remove all uses of React.ReactNode as it is unsafe, replace them with
  usages of SafeReactNode which doesn't contain the '{}' type

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Gabriel
0c7a0b3787 chore: remove commented code
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
3714fb24c1 chore: half remove unoverride, more to follow
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
cc94b69860 chore: half remove unoverride, more to follow
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Juho Heikka
4dcdd9152c
Add welcome page to hotbar (#7717)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-05-12 10:05:33 +03:00
Janne Savolainen
e8491ca2d3 fix: Kludge cluster settings not opening when extension introduces new settings without ID when title contains spaces
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 15:01:20 +03:00
Janne Savolainen
9c7be39eb1 fix: Bring back search filters for pods which were accidentally removed previously
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 14:21:20 +03:00
Janne Savolainen
f2cb51884f chore: Adapt unit tests for more strict API parsing
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 09:39:01 +03:00
Iku-turso
befbe62e63 chore: Refactor legacy code to use pattern matching
Also add missing unit tests to cover more.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-10 09:39:01 +03:00
Iku-turso
bba0759d27 chore: Introduce utility function to prepend strings
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-10 09:39:01 +03:00
Iku-turso
7ca54d8f07 chore: Introduce utility function for "pattern matching" using regex
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-10 09:39:01 +03:00
Janne Savolainen
ce31715cfd chore: Remove dead code in API parsing
apiPrefix is always at least "/", making the removed code unreachable.

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 09:39:01 +03:00
Janne Savolainen
bb400ae667 fix: Add test as repro, and fix bug about kube API details not opening
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 09:39:01 +03:00
Sebastian Malton
0a2bc6cf2c chore: Move describeIf and itIf to @k8slens/test-utils
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton
6167ad2c25 chore: Fixup unit tests calling 'allowKubeResource' at the wrong time
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:28:18 -04:00
Sebastian Malton
40af0d31c5 fix: Do not crash when opening details of a helm release
- Switch to using RequestChannel instead of LensProxy for better
  type safety

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:28:18 -04:00
Juho Heikka
da20a93d41 Change welcome icon to home
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-05-08 10:19:24 -04:00
Panu Horsmalahti
8634514c9a
Make StatefulSet dialog consistent with ReplicaSet (#7685)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2023-05-08 14:18:05 +03:00
Jari Kolehmainen
04a23fc4f9 chore: extract json-api from core
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-05-04 12:51:11 +03:00
Gabriel
f1f2634490 fix: removed as-legacy-globals-for-extension-api
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-03 14:24:14 -07:00
Gabriel
d27c6ff678 chore: added dependencies
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-03 14:24:14 -07:00
Gabriel
908d6b381d chore: loggerInjectionToken
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-03 14:24:14 -07:00
Gabriel
66f28046b9 @k8slens/logger
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-03 14:24:14 -07:00
Sebastian Malton
962ecddb3f chore: Fix deployment scale tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton
8461cde200 chore: Fix kube-api tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton
34a721a6f9 chore: Update snapshots for cluster-frame
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton
fd5f912ccf chore: Fix kube-object-list-layout tests to maintain snapshot shape
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton
dcc5495312 chore: Change refactoring of implementation to maintain behaviour
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton
8395c262ad chore: Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton
b4d5732071 chore: Use new typings of metrics components
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton
80458170ad chore: Use new typings for pod columns
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton
1bf24db797 chore: Extract @k8slens/kube-object package
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton
576373b16b chore: Extract legacy global di into separate package
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Jari Kolehmainen
1c23162b58 chore: extract event-emitter from core
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-05-02 17:07:39 +03:00
Sebastian Malton
b8abe07177 chore: Update snapshots to match new behaviour
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-26 09:43:47 -04:00
Sebastian Malton
43cedae7b0 fix: Only show Update Channel preferences when applicable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-26 09:43:47 -04:00
Sebastian Malton
a0953df4b1 chore: Flatten file hierarchy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-26 09:43:47 -04:00
Gabriel
161cfa7d2a chore: extract @k8slens/resizing-anchor
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-26 15:40:00 +02:00
Sebastian Malton
4379edf0c7 chore: Remove leading '+' on some directory names
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-26 09:26:39 -04:00
Gabriel
7dff8e31a6 chore: extract error-boundary
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-26 14:03:30 +02:00
Gabriel
815e9adfca chore: updated deps
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Gabriel
8c0220c353 fix: observableHistoryInjectionToken and 1 revert for GlobalOverride
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Iku-turso
db9a3675e1 chore: Extract an injectionToken
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-04-25 17:38:02 -04:00
Gabriel
0dae1594ba fix: removed dependencies: [reactApplicationFeature],
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Gabriel
b33a8b4960 fix: add routingFeature to getDiForUnitTesting
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Gabriel
e8c94abc0b feature @k8slens/routing
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Sebastian Malton
6ae078c91d chore: Add support for using injectionTokens in global overrides
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-25 14:27:30 -04:00
Alex Andreev
3532fc1dab
feat: Adjust container status colors to be distinguable with red/green filter (#7621)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-25 14:05:40 -04:00
Panu Horsmalahti
5f3a7a5873
Display zero minAvailable/maxUnavailable as 0 instead of N/A (#7620)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2023-04-25 15:15:44 +03:00
Sebastian Malton
1c8559013b chore: Add test verifying new notification formatting behaviour
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
bcf95a65f1 fix: Remove incorrect timeout on standard info notifications
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
561d8dbc09 feat: Never auto-close error notifications
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
43f3059c9b test: Fix kube-api-version-detection tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
5dc94f291b chore: Update tests to use more business logic
- To have a higher confidence in the code, given that the old tests didn't save us
  from modifying the code before.

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
bc149f0627 chore: Simplify requestPatchKubeResource impl
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
b90e04e02d fix: Fix selfLink being missing from requestKubeResource
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
5fb08960fe chore: Simplify global overrides of requestKubeResource and requestPatchKubeResource
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
4716dcc434 chore: Rename injectables to remove redundancy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
6c3e8e83c0 chore: Move files around to flatten hierarchy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
456d6ae94f Fix: Correct getEditSelfLinkFor to produce correct selfLink
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
3439472065 feat: Improve formatting error messages from apiKube
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
bf6af58d80 fix: Add checks to KubeObject constructor to ensure shape
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
4634643f93 chore: Cleanup formatting of imports
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
2f21ba51d1 chore: Change parseKubeApi into a no-throw version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
3d0b0b7bd1 chore: Fix showing-details-for-helm-release tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
6741b94220 chore: Fixup kube-object-menu tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
535bac4df9 chore: Update snapshots after adding new testid
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
bb5876b39c chore: Add behavioural tests for deleting sub namespaces
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
89cf491bc0 feat: Add deleting subNamespaces to contextMenu
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
aa950026a3 feat: Add removing subNamespaces to Namespace route
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
c5572257bd feat: Introduce injectables to remove subNamespaces
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
87598fc7d1 chore: Fix spelling of injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
bdc42901ba chore: Cleanup Namespace.isControlledByHNC
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
d984e9e305 chore: Fix unit tests failing due to using require.context in unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-20 10:58:08 -04:00
Jari Kolehmainen
e7b8e63053 chore: Move resource templates to @k8slens/resource-templates
- Switch to using webpack to bundle the templates instead of electron-builder

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-20 10:58:08 -04:00
Gabriel
ee4fbc37cc replaced with export from @k8slens/button to maintain backwards compatibility
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-20 09:02:46 -04:00
Gabriel
76c11aa697 fix: lint:fix
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-20 09:02:46 -04:00
Gabriel
5128730fd2 chore: extract button from core for error-boundary
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-20 09:02:46 -04:00
Panu Horsmalahti
63ad14d5d1 List more than 256 helm releases.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2023-04-20 09:02:08 -04:00
Sami Tiilikainen
5eb41e8a6c
List layout column injection token package (#7544)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-04-20 09:01:50 -04:00
Sebastian Malton
5d9cdee31f docs: Fix initial warnings from generating API docs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-19 12:42:37 -04:00
Sebastian Malton
9cafc8e6b1 chore: Fix spelling in ResizingAnchorProps
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-19 09:21:04 -04:00
Gabriel
01059d8cb1 chore: extract tooltip into package
- chore: add sanity check unit test
- chore: added tailwind.config.js to fix build
- chore: .swcrc added for tests to pass
- chore(deps): sass is not a dependency
- fix: manually import the tooltip css to fix tooltips not showing up
- chore: Run lint:fix against code
- chore: Fix use of mock in @k8slens/core

Signed-off-by: Gabriel <gaccettola@mirantis.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-19 09:21:04 -04:00
Sebastian Malton
eafd1efbc0 chore: Remove InitializableState for loosing competition
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
353da78d4b chore: Switch defaultUpdateChannel to not use Initializable at all
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
53920a7046 chore: Switch semanticBuildVersion to not use Initializable at all
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
fc18c61d36 chore: Switch releaseChannel to not use Initializable at all
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
6fa9e2cde6 chore: Switch semanticBuildVersion to use new Initializable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
8a3e204e74 chore: Allow specifying runnable phase directly from runAfter
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
1b96a94c14 chore: Switch buildVersion to use new Initializable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
72a01cdc17 chore: Introduce competition for InitializableState
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
82fdcf69c0 chore: Add log line for current version at start of application
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
bfb2b8e659 fix: change class name behaviour to limit snapshot diffs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:20 -04:00
Sebastian Malton
fef789bd49 chore: Expose api to only bundled extensions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:20 -04:00
Sebastian Malton
ebc63091a1 chore: Revert exposing api to legacy extension API
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:20 -04:00
Sebastian Malton
06a0dce612 feat: Introduce API for changing the status bar colour
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:20 -04:00
Jari Kolehmainen
f6977428da fix(core): hide update button if downloading of an update fails
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-04-18 15:10:11 +03:00
Alex Andreev
3baa42e17b
New resource view: ValidatingWebhookConfigurations (#7552)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-18 13:47:41 +03:00
Sebastian Malton
0bd7b1fe92 feat: Compute the kubectl download version map at build time
- Allows for bundled kubectl config to be changed without code changes

- Introduce @k8slens/kubectl-versions

  - Compile time fetching of versions

- Update @swc/* packages

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-14 14:42:00 -04:00
Sebastian Malton
5198cb6f27 chore: Fix unit tests failing due to bug in cycle detection
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-13 11:13:26 -04:00
Sebastian Malton
35c3d31f2a chore: Fix lint for @k8slens/application
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-13 11:13:26 -04:00
Sebastian Malton
1c48dda707 chore: Bump @ogre-tools/* to 15.3.1 and fixup telemetry decorator
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-13 11:13:26 -04:00
Sebastian Malton
672ddc7b8d chore: Convert show-details telemetry to instantiationDecoratorToken
- Fix bug about throwing error on some calls to showDetails

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-13 11:13:26 -04:00
Sebastian Malton
ba8f7f916d chore: Upgrade versions of @ogre-tools/* to 15.3.0
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-13 11:13:26 -04:00
Sebastian Malton
48ebda2f06 chore: add better overrides for app and autoUpdater
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
6c91224b17 Fix: Close current connections to LensProxy on quit
- This speeds up quitting

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
2c4a7ecfb4 chore: Replace all uses of stopServicesAndExitApp with requestQuitOfApp
- Also updated tests with new behaviour

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
4ff3186ca7 chore: Move logging on quit to runnable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
1581da458d chore: Move disconnecting cluster connections to own runnable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
980b054fad chore: Remove closing windows on quit
- Electron does this already

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
9d181ab6ab chore: Move stopping extensions to own runnable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
c0eb4c6dea chore: Split setupRunnablesBeforeClosingOfApplication
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
802cbdb096 chore: Rename exitApp to forceAppExit
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
8ee65f841e chore: Move is auto updating state to own injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Sebastian Malton
a81b0f961e chore: Rename tokens to be more correct
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 15:15:36 -04:00
Juho Heikka
53cb3a5d38
Add metrics Feature (#7507)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-04-12 14:40:00 +03:00
Henry Chen
01cc0186e5
Set status item padding-inline to 0 if there is no children elements (#7529)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2023-04-12 09:46:23 +03:00
Alex Andreev
2ada830418 Fix table header
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
03632626ce Clean up mutating webhook configs api
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
88f832012d Add styles for details panel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
6564f89db8 Removing <b> tags
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
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
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
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
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