Sebastian Malton
edafcc916c
Conver catalog entity run to injectable IPC
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:34:46 -05:00
Sebastian Malton
b0e2660dfa
Convert request catalog entity reg state to injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:34:46 -05:00
Sebastian Malton
a1592ce2a5
Convert catalog entity registry broadcast to injectable IPC
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:34:46 -05:00
Sebastian Malton
fe86b79adb
Convert seting cluster frame to be IPC injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:34:46 -05:00
Sebastian Malton
1058113e90
Move initClusterFrame around
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:34:46 -05:00
Sebastian Malton
ac6e3e18e2
Fully convert ExtensionDiscovery to be injectable
...
- To fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:34:46 -05:00
Sebastian Malton
7f86a89cc2
Fully convert ExtensionLoader to be injectable
...
- To fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:34:46 -05:00
Sebastian Malton
90c37143bd
Make bundled loaded IPC injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:34:45 -05:00
Sebastian Malton
bf4b0f8994
Fix external extensions not loading initially
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:34:45 -05:00
Sebastian Malton
aeea8640ce
Fix tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 13:32:10 -05:00
Sebastian Malton
22b98ce3fc
Remove '?' uses
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
7cd4cdb5e0
Resolve comments
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
cfe2a2fbee
Add clarifying comment
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
2483a057f4
Update snapshots
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
7cda0792b7
Fix type errors
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
b79f906ad5
Fix tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
3b65009fb6
Finish fleshing out new custom-column tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
0f72c118f2
Introduce new TreeView for use in CatalogMenu to fix tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
8025471eee
Fixup scroll-spy
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
8f508d1582
Fix rebase
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
21e6dfd059
More attempting fixes to remove material-ui
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
e6ad46042b
Remove old and unnused RecursiveTreeView
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
9d9a314ae5
Update comment
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
bde02d99d1
Remove log
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:42 -05:00
Sebastian Malton
8068824ed3
Try to get more tests to pass
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:41 -05:00
Sebastian Malton
c588afb27f
Start converting custom column tests to use ApplicationBuilder
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:41 -05:00
Sebastian Malton
21c47e3f82
Fix welcome banner tests
...
- Update associated snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:41 -05:00
Sebastian Malton
d85a64a931
Fix lens-extension tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:41 -05:00
Sebastian Malton
a045006a02
Simplify extension dependency injection
...
- Has better typing
- Removes use of unnusual unique symbol
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 12:32:41 -05:00
Sebastian Malton
e3c0bc34fd
Introduce clearer boundry between extensions
...
- 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-03-01 12:32:33 -05:00
Juho Heikka
6df01ba468
Fix cluster metadata detectors ( #7255 )
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2023-03-01 11:49:18 -05:00
Sebastian Malton
c67230f322
Cleanup getDi and registering injectables ( #7251 )
...
* Cleanup getDi and registering injectables
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Create more explicit application
- Make testing use more production code
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix uses of getEnvironmentSpecificLegacyGlobalDiForExtensionApi
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 10:46:08 -05:00
Sebastian Malton
3433bc6fe0
Fix extension install ( #7247 )
...
* Fix extension install
- Remove old bundled extension dependencies
- Make sure external extensions are installed as optional
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Ignore ENOENT errors
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add comment
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-01 08:11:49 -05:00
Sami Tiilikainen
ec81af4e6c
Revert "Renderer file logging transport ( #6795 )" ( #7245 )
...
Renderer file logging still caused UI freezing (at least on apple silicon macs) when cluster frame was open and main frame was reloaded.
See #544
This reverts commit ac2d0e46ff .
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com >
2023-02-28 09:02:42 -05:00
Sebastian Malton
d29615c089
Quick fix for store migration version being wrong ( #7243 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-02-27 13:31:45 -08:00
Janne Savolainen
003dc44681
Upgrade and adapt to new version of libraries in ogre-tools ( #7241 )
...
* Update injectable version
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Adapt to new version of ogre-tools
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix "lint:fix" -command in core
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2023-02-27 14:27:36 -05:00
Panu Horsmalahti
b2160ae06c
Throw on errors in kubectlApplyFolder ( #7239 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2023-02-27 14:30:30 +07:00
Sebastian Malton
3067e82e02
Remove all references to slack ( #7233 )
...
* Remove all references to slack
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix readme
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Cleanup migration
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Remove existing slack link from weblink store
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix type error and wording on ErrorBoundary
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Don't export forumsUrl to extension API
- Also just remove slack URL
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update snapshots again
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update snapshots again v3
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Revert remove slackUrl
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix filtering
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix readme
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* More of a fix
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Try again
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Slightly better for now
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-02-24 17:04:15 -05:00
Sebastian Malton
dc39dc9c62
Allow extensions to opt-out of KubeApi auto registering ( #7217 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-02-24 10:44:35 -05:00
Sebastian Malton
f2a229cef6
Fix ApiManager not handling duplicate apiBases of KubeApis ( #7235 )
...
* Add failing unit test
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix failing unit test
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-02-24 10:44:19 -05:00
Juho Heikka
2550b1efbd
Fix catalog avatar font size ( #7226 )
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2023-02-23 16:03:45 +02:00
Sebastian Malton
f212c90b1a
Remove notarize as unused ( #7215 )
...
* Remove notarize as unused
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Remove electron-notarize
Signed-off-by: Sebastian Malton <sebastian@malton.name >
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-02-22 12:37:53 -05:00
Janne Savolainen
688336647d
Extract injection token for application information to separate NPM package ( #7211 )
...
* Introduce dummy package for application
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce application information token in application Feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using applicationInformationToken from application feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2023-02-22 11:58:05 -05:00
Alex Andreev
4e02bdce6d
Fix PodList TableHead overflow ( #7212 )
...
* Remove transparent bg on .flat TableHead
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix TableHeads not to be sticky
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-02-22 15:28:36 +03:00
Alex Andreev
52660ef75c
Fix dropdown items readability in Dock ( #7209 )
...
* Remove Select's outlined theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-02-22 14:47:05 +03:00
Janne Savolainen
c09c7125e5
Add package for sharing webpack configurations for upcoming Features ( #7199 )
...
* Add package for shared webpack configurations for Lens applications, Features and libraries
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove duplication from gitignores
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2023-02-22 12:28:07 +02:00
dependabot[bot] and Alex Andreev
114db72485
Bump @hapi/subtext from 7.0.4 to 7.1.0 ( #7194 )
...
Bumps [@hapi/subtext](https://github.com/hapijs/subtext ) from 7.0.4 to 7.1.0.
- [Release notes](https://github.com/hapijs/subtext/releases )
- [Commits](https://github.com/hapijs/subtext/compare/v7.0.4...v7.1.0 )
---
updated-dependencies:
- dependency-name: "@hapi/subtext"
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>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-02-22 12:14:37 +03:00
Roman
df1b947870
[UX]: allow to navigate to namespace-details from other resource details view ( #7203 )
...
* UX: allow to navigate to namespace (if available) in every kube-resource details view (via: `<KubeObjectMeta/>`)
2023-02-21 20:23:05 +04:00
Juho Heikka
d8acff67d1
Fix ensure hashed directory for extension ( #7188 )
...
* Fix ensure hashed directory for extension
Earlier open lens versions stored extension_data directory based on
path of extension's package.json. This causes problems
because extensions have moved to new location. This ensures
backward compatibility that extension will get the same
directory than before the change.
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
* Reconstruct the key for old hashed directories
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
* Remove unnecessary return
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
* Use sync version of random bytes
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
* Add migration to new type of key
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
* Fix global override for random bytes to not return a promise
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
* Make registeredExtensions a dependency
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
---------
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2023-02-21 16:09:03 +02:00
Roman
b3ae5a0446
Fix: removed duplicated labels & annotations for Node-details view. ( #7202 )
...
By default this info is shown in every resource-details view (`default-kube-meta-details-item.injectable.ts` injects `<KubeObjectMeta/>` at the top of details-view contents)
Signed-off-by: Roman <ixrock@gmail.com >
2023-02-21 07:49:57 -05:00