Jari Kolehmainen
7b8bd1e758
chore: move kube-api related tests from core
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-05-29 09:38:24 -04:00
Jari Kolehmainen
e8be89eb51
chore: fix kube-api dependency to core
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-05-29 09:38:24 -04:00
Jari Kolehmainen
1ab5323f68
chore: extract kube-api from core
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-05-29 09:38:24 -04:00
Alex Andreev
a22229ba60
Linter fix
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-05-29 12:00:33 +03:00
Alex Andreev
26b8ed66da
Reverting table injection tokens (7754)
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-05-29 12:00:33 +03:00
Sebastian Malton
79e4eaa394
Release 6.5.0
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-26 14:00:45 -04:00
Alex Andreev
1ffdb6c89f
Table component injection tokens ( #7754 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-05-26 13:32:25 +03:00
Juho Heikka
208262a447
Fix helm chart rollback API address
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-05-25 15:06:56 -04:00
Juho Heikka
6520f2d767
Add space to the Rollback dialog header
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-05-25 15:06:56 -04:00
K8s Lens Bot
e493f982d2
Release 6.5.0-alpha.16
...
Signed-off-by: K8s Lens Bot <info@k8slens.dev>
2023-05-25 09:57:41 -04:00
Sebastian Malton
74cf677b1b
chore: Fixup use of ServiceAccount to use getId
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-25 09:51:40 -04:00
Sami Tiilikainen
90c449cc0d
fix: Handle log responses as text ( #7776 )
...
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
2023-05-25 09:23:18 -04:00
Janne Savolainen
738985c9b7
fix: Make application size not blow up by consolidating dependencies in core package to peerDependencies
...
"dependencies" are going to be added in the app.asar, which means that e.g. "electron" gets added.
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-25 15:42:53 +03:00
Sebastian Malton
dd62e034b7
Release 6.5.0-alpha.15
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 15:33:41 -04:00
Sebastian Malton
ac0e384154
Release 6.5.0-alpha.14
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 11:34:49 -04:00
Sebastian Malton
8f4aa497cc
Revert "chore: Extract sidebar item injection token into separate package"
...
This reverts commit 8ac66380ad .
2023-05-23 10:08:42 -04:00
Sebastian Malton
cb0e8764ac
Revert "chore: Rename sidebar item injectable files"
...
This reverts commit 72a1e2aaa0 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
93bc41f9a3
Revert "chore: Convert sidebarItemInjectionToken to use InjectWithMetadata instead of duplicating the IDs"
...
This reverts commit 81293304a7 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
9276df0592
Revert "chore: Fixup tests snapshots to match new testid behaviour"
...
This reverts commit e6bef1a168 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
d90bdf6f14
Revert "chore: Fix lint"
...
This reverts commit 747f8cec94 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
813705fe90
Revert "chore: Fix more lint"
...
This reverts commit 83244ceefc .
2023-05-23 10:08:42 -04:00
Sebastian Malton
753c8bfa85
Revert "chore: Fix IDs for some sidebar items"
...
This reverts commit a267c0ee7d .
2023-05-23 10:08:42 -04:00
Sebastian Malton
d4c12becfc
Revert "chore: Improve title formatting for Horizontal/Vertical Pod Autoscalers"
...
This reverts commit d51ccb5dd5 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
5608a199be
Revert "fix: Fix formatting of custom resource sidebar items"
...
This reverts commit 86dcbb10c0 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
96b7ecbadd
Revert "chore: Fix integration tests failing due to helm testid's changing"
...
This reverts commit 6d4d331a41 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
1b43de50fe
Revert "chore: Fix tests after rebase"
...
This reverts commit 58426370de .
2023-05-23 10:08:42 -04:00
Sebastian Malton
1099e65c52
Revert "fix: Custom Resource Definitions should be the first entry in the side bar"
...
This reverts commit a8ff6ce095 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
7d46cb845d
Revert "fix: Custom Resource Definitions sidebar item should navigate to the correct route"
...
This reverts commit 897e289514 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
fda4b928d2
Revert "fix: The command pallet command for navigating to Custom Resource Definitions should navigate to the correct route"
...
This reverts commit 723cfe8ae8 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
40f1180579
Revert "chore: Cleanup custom resource route definition"
...
This reverts commit f65e5672b5 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
d3cf7088d6
Revert "chore: Factor out NavigateToCustomResources type"
...
This reverts commit 5ba2dbab81 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
5f4cdbc519
Revert "chore: Move around Custom Resource and Custom Resource Definition files to simplify names"
...
This reverts commit e0e2194b11 .
2023-05-23 10:08:42 -04:00
Sebastian Malton
e0e2194b11
chore: Move around Custom Resource and Custom Resource Definition files to simplify names
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
5ba2dbab81
chore: Factor out NavigateToCustomResources type
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
f65e5672b5
chore: Cleanup custom resource route definition
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
723cfe8ae8
fix: The command pallet command for navigating to Custom Resource Definitions should navigate to the correct route
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
897e289514
fix: Custom Resource Definitions sidebar item should navigate to the correct route
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
a8ff6ce095
fix: Custom Resource Definitions should be the first entry in the side bar
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
58426370de
chore: Fix tests after rebase
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
6d4d331a41
chore: Fix integration tests failing due to helm testid's changing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
86dcbb10c0
fix: Fix formatting of custom resource sidebar items
...
- The titles should better handle being line wrapped
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
d51ccb5dd5
chore: Improve title formatting for Horizontal/Vertical Pod Autoscalers
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
a267c0ee7d
chore: Fix IDs for some sidebar items
...
- Also cleanup formatting of the sidebar item titles
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
83244ceefc
chore: Fix more lint
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
747f8cec94
chore: Fix lint
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
e6bef1a168
chore: Fixup tests snapshots to match new testid behaviour
...
- Move order-of-sidebar-items to the new package
- Fix the extension sidebar item registrator
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
81293304a7
chore: Convert sidebarItemInjectionToken to use InjectWithMetadata instead of duplicating the IDs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
72a1e2aaa0
chore: Rename sidebar item injectable files
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
8ac66380ad
chore: Extract sidebar item injection token into separate package
...
- Add unit tests to cover custom resources sidebar items
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
99e6b77fc1
fix: Use correct path for node-shell shell PTY
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:19:49 +02:00
Sebastian Malton
a20a1eade1
chore: Bumps [electron]( https://github.com/electron/electron ) from 22.3.7 to 22.3.10
...
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](electron/electron@v22.3.7...v22.3.10)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 15:45:20 -04:00
Alex Andreev
2dfb5c00f7
Replace StatusBar bgcolor from --colorInfo to --primary ( #7738 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-05-17 14:26:13 +03:00
Iku-turso
2e4aba735f
chore: Bump ogre-tools to permit Feature-specific logging prefixes
...
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-17 11:55:05 +03:00
K8s Lens Bot
7c1c7d45e8
Release 6.5.0-alpha.13
...
Signed-off-by: K8s Lens Bot <info@k8slens.dev>
2023-05-16 16:47:36 -04:00
Sebastian Malton
618a1c7004
chore: Fixup dependencies and ensure no duplication between kinds of dependencies
...
- Also un-bump xterm-fit-addon as it is only compatible with xterm@^5
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:33 -04:00
Sebastian Malton
a9f48ee93a
chore: Simplify file route handling
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:27 -04:00
Sebastian Malton
14653c84e6
chore: Fix lint
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:15 -04:00
Sebastian Malton
4f8e4707f9
fix: Switch to using IAsyncComputed to resolve bad setState error within ClusterOverview from react
...
- The ClusterOverviewStore (now just ClusterStore) is not an exported type,
so removing the legacy and wrong-abstraction code from it is not
a breaking change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:15 -04:00
K8s Lens Bot
4a7eff1841
Release 6.5.0-alpha.12
...
Signed-off-by: K8s Lens Bot <info@k8slens.dev>
2023-05-16 08:10:45 -04:00
Sebastian Malton
f2247adfdb
chore: Fix dev mode of open-lens running is circles
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 15:58:35 -04:00
Sebastian Malton
1a817d314c
chore: Update snapshot after rebase with master
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
978015510a
chore: Add some behavioural tests for custom columns for custom resources
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
c76b30cf4a
chore: Fix typo in CRD view
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
05784f5dfe
chore: Fix spelling mistake in CRD type
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
7b57f0d52d
chore: Remove unnecessary use of toSafeReactChildrenArray
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
d8823085a8
chore: Change name from SafeReactNode to StrictReactNode
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
e88de58b5d
chore: Remove unnecessary use of SingleOrMany<SafeReactNode>
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
adb288e48a
chore: Update snapshots due to adding new data-testid
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
15b942aa39
chore: Add unit tests to cover the hovering bug
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
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
dependabot[bot]
f13a145a27
chore(deps-dev): Bump xterm-addon-fit from 0.5.0 to 0.7.0
...
Bumps [xterm-addon-fit](https://github.com/xtermjs/xterm.js ) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.5...0.7 )
---
updated-dependencies:
- dependency-name: xterm-addon-fit
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:58:32 -04:00
dependabot[bot]
5dd49c1c3c
chore(deps-dev): Bump xterm from 4.17.0 to 4.19.0
...
Bumps [xterm](https://github.com/xtermjs/xterm.js ) from 4.17.0 to 4.19.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.17.0...4.19.0 )
---
updated-dependencies:
- dependency-name: xterm
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:53:23 -04:00
dependabot[bot]
266ee3917d
chore(deps-dev): Bump monaco-editor from 0.37.1 to 0.38.0
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.37.1 to 0.38.0.
- [Release notes](https://github.com/microsoft/monaco-editor/releases )
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.37.1...v0.38.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:53:09 -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
Gabriel
c3bc1ff0d9
chore: revert version
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
5bc3f604d8
chore: revert version
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
7b28cf89f7
chore: unbump version
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
9fc07ab56c
chore: export ui-component styles
...
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
K8s Lens Bot
d73ef8fb1b
Release 6.5.0-alpha.11
...
Signed-off-by: K8s Lens Bot <info@k8slens.dev>
2023-05-11 08:23:35 -04: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
9f72b628be
chore: Remove use of glob in CopyPlugin to fix build
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton
2d19948a77
chore: Fix building open-lens on windows
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04: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
91354eae01
chore: Fix build of open-lens
...
- Remove need for using relative paths during build
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
K8s Lens Bot
b7ac14df73
Release 6.5.0-alpha.10
...
Signed-off-by: K8s Lens Bot <info@k8slens.dev>
2023-05-09 08:49:48 -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
Sebastian Malton
2b721ab1c9
Release 6.5.0-alpha.9
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-04 13:32:56 -07:00