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
8dce32153f
ci: Fix test of 'Cron Test' workflow
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-24 10:17:01 -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
Sebastian Malton
799a3cbd1c
fix: Make sure that the @k8slens/core dep in @k8slens/extensions is exact
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-20 09:44:57 -04:00
Sebastian Malton
6528ce5215
Release 6.5.0-alpha.8
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-20 09:44:57 -04:00
Sebastian Malton
4bb37df1cd
chore: Expand withTooltip unit tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-20 09:01:21 -04:00
Sebastian Malton
192d8119db
docs: Add documentation for cluster connection flow
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 16:18:49 -04:00
Sebastian Malton
9656b8c577
chore: Fix unit tests by increasing coverage of tooltip to 100%
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 15:01:02 -04:00
Sebastian Malton
1eeddbb377
chore: Update package-lock to fix CI
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 12:42:37 -04:00
Sebastian Malton
46f7e70cb3
docs: Fix generating markdown for api docs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 12:42:37 -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
45574d49cc
docs: Fix generating docs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 12:42:37 -04:00
Sebastian Malton
98c371ef0c
chore: Bump typedoc and typedoc-plugin-markdown
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 12:42:37 -04:00
Sebastian Malton
23f124791a
chore: Fix test failing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 09:21:04 -04:00
Sebastian Malton
9f3550be14
chore: Update snapshots for tooltip
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 09:21:04 -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
Sebastian Malton
eac7691d75
chore: Revert only running one cluster page e2e test
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-18 13:08:32 -04:00
Sebastian Malton
03349c232b
fix: Fix running release tool
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-18 11:50:13 -04:00
Sebastian Malton
efa1853960
Release 6.5.0-alpha.7
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-18 11:50:13 -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
4fb21af57b
chore: Fix spelling of helper function
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-18 08:16:20 -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
Sebastian Malton
dd87fbf8ed
chore: Fix cron test workflow failing due to wrong reasons
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-17 11:48:30 -04:00
Sebastian Malton
45a99d6c10
chore: Bump monaco-editor-webpack-plugin to fix build
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 16:08:34 -04:00
Sebastian Malton
289d62caaa
fix: Fix generating tray icons and downloading binaries on windows
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
30f794d66d
chore: Update @k8slens/kubectl-versions file
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
58b8b4f1f9
fix: Revise paths for generating tray icons
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
58ad63bb40
chore: Change version of @k8slens/kubectl-versions
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
ecdb14c692
fix: Fix generating @k8slens/node-fetch
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
430bebaa6f
fix: Readd run-script-os to open-lens to fix build:app
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
d5acd57584
fix: Fix paths provided as parameters to workspace scripts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
3637c0a26a
chore: Add node invocation to package scripts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
2cf006435d
chore: Update snapshot for @k8slens/webpack
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
3aa6c1666a
chore: Remove most uses of "bin" from workspaces
...
- Replace with running scripts from a specific workspace
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
ed0eba548f
chore: update kubectl versions files
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
89be1943dd
chore: Update versions json
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04:00
Sebastian Malton
f8ac072df9
chore: fix some packages required prepare scripts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-14 14:42:00 -04: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
1e0cb9fc14
chore: Update lockfile to fix CI
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-13 11:13:26 -04:00
Sebastian Malton
97dbe5038c
chore: Update test to have more stable snapshot
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-13 11:13:26 -04:00
Sebastian Malton
d4e8b48b4a
fix: Disable cycle detection due to bug in ogre-tools
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-13 11:13:26 -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
adf67fb6a7
fix: Fix when github releases are marked as prereleases
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-12 15:50:04 -04:00
Sebastian Malton
6f59e1feb6
Release 6.5.0-alpha.6
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-12 15:49:30 -04:00
Sebastian Malton
9080725259
chore: Disable hiding exit code from e2e tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-12 15:15:36 -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
Sebastian Malton
d991838893
Release 6.5.0-alpha.5
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-12 14:36:13 -04:00
Sebastian Malton
f2f23109ba
feat: Add lint pass to prevent future issues
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-12 14:28:54 -04:00
Sebastian Malton
d1159e3c32
fix: Add publishConfig for new package
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-12 14:28:54 -04:00
Sebastian Malton
de36379a81
Release 6.5.0-alpha.4
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-12 09:06:17 -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