* destroy resolve system proxy window on before quit
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* resolve system proxy window: load blank page
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* disable paintWhenInitiallyHidden
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
---------
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix resolve system proxy error when no windows available
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix electronBrowserWindowInjectable id
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
---------
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Fix catalog list table view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Wrap ingresses rules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Reduce Badge sizing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Do not text-overflow:ellipsis in Pod names
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Save a room to table head cells
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add iconBackgroundColor cluster preference type
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Set custom backround for hotbar entities
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove unused code from Catalog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Update entity background if preferences background changes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Set avatar backgrounds from entity
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Clean up in hotbar entity icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix setting up entity background
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Use single icon prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Cleaning up hotbar entity icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing test to ensure icon has data:image
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add more test cases
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix bundled extensions not being loaded
- Also show that this fixes it by added an example bundled
extension to 'open-lens'
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix build
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add explanatory comment for inline require
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move activating cluster into injectable IPC
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move deactivating a cluster into injectable IPC
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Take cluster settings menu icon items from computedInjectMany
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing changed cluster preference typing: using tuple array
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Export data from cluster-settings-menu-injection-token
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Exporting ClusterPreferences to extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove legacy api token export
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing legacy exports part 2
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove workflow
- Not applicable anymore since each package has its own version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix daily-alpha to be based on core version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* lerna.json no longer will be updated during releases
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Use the prerelease parts of @k8slens/core to determine dist tag
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Release 6.5.0-alpha.1
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Switch to having lerna in independent mode
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix package versions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* alternative to https://github.com/lensapp/lens/pull/7187
Signed-off-by: Roman <ixrock@gmail.com>
* update snapshots with `jest src -u` from `packages/core`
Signed-off-by: Roman <ixrock@gmail.com>
* skipping some tests cause i have no idea how to fix those and what is wrong
Signed-off-by: Roman <ixrock@gmail.com>
* fix tests
Signed-off-by: Roman <ixrock@gmail.com>
---------
Signed-off-by: Roman <ixrock@gmail.com>
- Now the callback is provided with an object containing either
`mainDi` or `windowDi` fields. This should help with confusion
over which environment the `di` is for
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Better displaying container's info for Pods and all tooltips with `formatters={{tableView: true}}`
Signed-off-by: Roman <ixrock@gmail.com>
* fix: keep containerID on a single line
Signed-off-by: Roman <ixrock@gmail.com>
* nope, i can :P (make it perfect)
Signed-off-by: Roman <ixrock@gmail.com>
---------
Signed-off-by: Roman <ixrock@gmail.com>
* Introduce package for sharing eslint and prettier configurations
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Start using eslint and prettier in packages
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Convert runMany and runManySync to use injectManyWithMeta
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup type errors due to new Runnable requirements
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add documentation for verifyRunnablesAreDAG
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Simplify convertToWithIdWith
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move all utility functions to separate package
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move testing utilities to separate package
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move run-many and run-many-sync to separate package
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Replace all internal uses of utilities with new packages
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Use new @k8slens/run-many package in core
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add dep to open-lens
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup uses of @k8slens/test-utils
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup getGlobalOverride
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move tests to new package too
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup uses of AsyncResult and autoBind
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup remaining import issues
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Finial fixups to fix build
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Revert moving "testUsingFakeTime" to separate package
- This fixes tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix integration tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix unit test failing due to spelling fix
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
- requestNamespaceListPermissions is infallable so no need to have the extra try/catch
- Refactor isMetricHidden method away from Cluster
- Refactor shouldShowResource out of Cluster
- Refactor isInLocalKubeconfig out of Cluster
- Remove depecrated and unused workspace from Cluster
- Refactor out kubectl as a dependency of Cluster
- Remove from cluster getter used only once
- Split out ClusterConnection from Cluster
- Also split out KubeAuthProxyServer from ContextHandler
- Rename ContextHandler to PrometheusHandler
- Cleanup onNetworkOffline/Online impls within ClusterManager
- Remove annotations from ClusterConnection
- Remove mobx annotations from Cluster
- Rename loadConfigFromFileInjectable
- Remove all uses of dead createClusterInjectionToken
- Fix type errors related to broadcastConnectionUpdate
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add support for using release branch targetted PRs (#7291)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix namespaces not respecting accessible namespace config (#7279)
* Fix namespaces not respecting accessible namespace config
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix warning hover text formatting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Log state after refresh accessibility
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix NamespaceStore.allowedNamespaces
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove unnecessary '?'
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add deprecation messages
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move selected_namespaces storage to injectable
- And its initialization
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Implement contextNamespaces logic in forNamespacedResources
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix formatting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix formatting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix test
- This was a side effect of the previous bug fixes where
the clusterContext.hasAllSelected was previously erroneously 'false'
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Change log level
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix another test suite
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix not showing some non-core kinds (#7303)
* Fix not showing some non-core kinds
- Specifically if a Kind is not present within the preferredVersion of
a group then we don't know that resource exists
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add technical tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove option to doGeneralOverrides and do it always
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Override telemetry by default to optimize and simplify testing
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Simplify more usages of getDiForUnitTesting
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Fix code style
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Navigate to catalog explicitly on cluster disconnect
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Extract CatalogEntityDetails to seperate root component
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Expose entity details to extension API
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add behavioural tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup catalog technical tests to use ApplicationBuilder
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update test and then fix it
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
The fix was to defer injection. The error was made possible in master by git-merging a PR which was
falsely green.
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Drop support for adding telemetry by tagging
This was not used, and would make development of future feature more difficult.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Introduce white-listing for params of telemetry
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Fix linting
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Make misconfigured telemetry for function parameters log the error, and not blow up fatally
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
---------
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Introduce an agnostic way to start application is the Feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Introduce directory for application-packages
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove non agnostic timeslots from agnostic application
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Introduce empty package for electron main specific stuff for Application Feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Introduce electron-main specific timeslots
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Update injectable version
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Update README
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Tweak export names to make them easier to import
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Make starting of application synchronous for Electron main
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Tweak versions in package jsons
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Consolidate name of feature file
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>