* Add missing dev script
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Inline all shared scripts to make them work in all environments
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Switch to using deterministic fake for path.join in unit test
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Make multi export config for webpack not fail when used in windows
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* 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>
* 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>
* 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>
* Add package for shared jest configurations for Lens applications, Features and libraries.
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Add root level script for running unit tests in monorepo mindset
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Ignore coverage files from VCS
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* 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>
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>
* Switch to using npm over yarn
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove reference to `yarn` from documentation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Enable NPM workspaces
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Introduce script for installing all dependencies
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove usage of lerna bootstrap for no longer being used
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Fix build by not bundling libraries for application in node environment (main) as Electron does that
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Tweak evil static import paths in build of application
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Consolidate npmrc configs to root since required by workspaces
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Make application build not fail for not detecting electron version
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Update package-lock
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Make sure native dependencies are rebuilt for electron
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove unused binary for causing trouble when installing dependencies
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Update package-lock
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Disable caching in CI for Windows
Installing Electron in Windows seems to be broken in this regards.
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
* Replace logsViewModelInjectable lifecycle
to keyedSingleton
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Await logs view model to instantiate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove async from instantiating LogTabViewModel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix LogList overflow (#7178)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Export requestMetrics to extension api
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup typing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Revert change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Make diff smaller
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* New resource view: ReplicationController -- scaffolding files
Signed-off-by: Roman <ixrock@gmail.com>
* fix: inappropriate names after copy-pasting
Signed-off-by: Roman <ixrock@gmail.com>
* update replication controller api types/spec, fix menu title
Signed-off-by: Roman <ixrock@gmail.com>
* items list + details list views (added contents from replication controllers), lint fixes
Signed-off-by: Roman <ixrock@gmail.com>
* allow to scale replication controllers
Signed-off-by: Roman <ixrock@gmail.com>
* switched for scaling replicas with `Slider` component instead of `Buttons+Input`
Signed-off-by: Roman <ixrock@gmail.com>
---------
Signed-off-by: Roman <ixrock@gmail.com>
* Enable extension to specify storeName for persisting data
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Add unit tests and update injectables
Signed-off-by: Antti Lustila <antti.lustila@luotocompany.fi>
* Remove unnecessary mock
Signed-off-by: Antti Lustila <antti.lustila@luotocompany.fi>
---------
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
Signed-off-by: Antti Lustila <antti.lustila@luotocompany.fi>
Co-authored-by: Antti Lustila <antti.lustila@luotocompany.fi>
* Add a bit of spacing before Installed extensions title
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Update snapshot
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix daily-cron failing to bump version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix variable name
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Close dock tab only if submit() resolved
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Close dock tab only if all resources successfully created
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Simpler error throw
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>