* Use monaco in config map details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add ability to set monaco initial height regarding to text lines
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Refactor get initialHeightClassName()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Rename injectable to getEditorHeightFromLinesCountInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Lint fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Better monaco editor view for the light theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Set initial height refactoring
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* unify build fs layout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use currentApp path for static files
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* allow to import open-lens
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* allow to customize both main & renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix compile-library script
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove bundled extensions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* similar interface for both main & renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use startApp on both sides
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix startApp import
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix startApp import
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Fix injection cycle (somehow)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* use cwd in download_binaries
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* introduce applicationInformationToken
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* register applicationInformationInjectable in main & renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* allow to define bundled extensions via appStart
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* compile node-fetch automatically via prepare
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* define peerDependencies
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* webpack fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* rename application-information-token.injectable.ts -> application-information-token.ts
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* monaco-editor as externals
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* refactor application-information
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* introduce bundledExtensionInjectionToken
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* mark library exports as experimental
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* move extension npm package files & add release automation
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* add missing build files to package
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix bad merge conflict resolve
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix package.json name
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* allow to set mode via startApp
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* revert unnecessary changes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* webpack: fix extensionOutDir
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove unnecessary peerDependencies
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* introduce nodeEnvInjectionToken
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove NODE_ENV from environmentVariablesInjectable
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix jest modulePathIgnorePatterns
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix duplicate injectable registration
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix build executableName
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
* Switch bundled extension declarations to injection token
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Change how bundled extensions are loaded
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix token file name
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix spelling
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Improve interface name
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Make request-api-resources flatter in implementation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* More improvements to requestApiResources
- Also move files to better places
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Rename iter.pipeline as iter.chain
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Split out use of httpsProxy preference
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Rename file
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add check for incomplete SelfSubjectRulesReview to fix GKE
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Adding namespaced for KubeApiResource
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Refactoring of AuthorizationNamespaceReview
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Removing dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Refactoring ListApiResources
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Extract ClusterContext into deps for KubeObjectStore to fix circular import
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix remaining type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix crash in frame by consolidating setup into runnables
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type errors and remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix core resources not showing up
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix namespaces not being shown
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Simplify ClusterContext to remove something only NamespaceStore needs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Make sure the public API doesn't change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixing namespace-select-filter tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix other tests requiring overrides
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix kludge in cluster-frame tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix remaining test failures
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix integration test due to incorrect casting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix integration test and kube watches not working at all
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix secret details test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix non-ApplicationBuilder tests by adding overrides
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix crash due to trying to read hostedCluster too soon
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix crash due to timing issues
- Make injectable phases more explicit for renderer
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Move navigation logging to `setupLoggingForNavigationInjectable` to prevent cycle of injectables from occurring. Wasn't eventually needed for #6795 but still an improvement.
Credit for the implementation goes to @Nokel81 , thanks!
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Load pods from all namespaces in Node details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Lint fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Prevent shell sync commands from polluting history
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Change type of RequestHelmChartValues to be AsyncResult
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing tests
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>
* Change request readme types to be AsyncResult
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>
* Replace apiBaseInjectionToken with tokens for configuration instead
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Use new ordering to make openNodeShellSession non-special
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>