Sebastian Malton
96e3c52ae2
Merge branch 'master' of github.com:lensapp/lens into feature/protocol-handler
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 14:13:44 -05:00
Sebastian Malton
bcbb335a7f
remove linux based protocol handling setup for testing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 14:12:58 -05:00
Sebastian Malton
19c0e73760
add custom configuration for dependabot ( #1973 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 13:16:06 -05:00
Lauri Nevala
e6c90c28cc
Return no metrics immediately if chartData.datasets are missing ( #2082 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-02-04 19:44:28 +02:00
Roman
b514e5c833
proper select-all option for NamespaceSelect ( #2084 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-02-04 19:24:39 +02:00
ad6de71826
Add more log entries on start up ( #1955 )
...
* Add more log entries on start up
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* And log entry about shell sync
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Refactoring
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Add new line
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Apply suggestions from code review
Co-authored-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 19:19:11 +02:00
Sebastian Malton
0727456aa1
Convert StatusBarRegistration to use components field ( #1598 )
...
* Convert StatusBarRegistration to use components field
- More similar to all other *Registration types for extensions
- Simpler fix for using the components.Icon type, now accepts functions
that return component instance like all other *Registration types
- Kept old fix for backwards compatability
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix docs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 19:18:31 +02:00
Sebastian Malton
c8faded066
create dir if necessary (for testing)
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 12:16:16 -05:00
Lauri Nevala and Jari Kolehmainen
a0e24e0a4d
In-app survey extension ( #1945 )
...
* Initial in-app survey implementation
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Add surveyId fetching and store integration
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Add empty line
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Fix typos
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Use async version of machineId + refactoring
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Update preferences hint text
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-04 18:22:22 +02:00
Sebastian Malton
1c8aa2b4d2
fix bad merge
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 09:59:38 -05:00
Sebastian Malton
eb4c98efc7
remove killall from integration tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 08:57:21 -05:00
Sebastian Malton
4ad4e47006
Merge branch 'master' of github.com:lensapp/lens into feature/protocol-handler
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 08:29:24 -05:00
Sebastian Malton
76a8a47a4c
improve docs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-04 08:27:57 -05:00
Roman
5287e7e528
KubeObjectStore & KubeWatchApi fixes and optimizations ( #2063 )
...
* Detach NamespaceStore from KubeWatchApi, proper KubeObjectStore.loadAll (rebase of #2033 )
Signed-off-by: Roman <ixrock@gmail.com >
* Watch-api requests optimization (#2066 )
* subscribe for watching resources in single request when has admin-like access rights
Signed-off-by: Roman <ixrock@gmail.com >
* responding to comments
Signed-off-by: Roman <ixrock@gmail.com >
* fix unit-tests
Signed-off-by: Roman <ixrock@gmail.com >
* fix: reloading stores when preloading enabled and waitUntilLoaded=false
Signed-off-by: Roman <ixrock@gmail.com >
* mark Cluster.canUseWatchApi() and Cluster.refreshAccessibility() as private
Signed-off-by: Roman <ixrock@gmail.com >
* fix unit test: make public Cluster.canUseWatchApi()
Signed-off-by: Roman <ixrock@gmail.com >
* responding to comments in #2066
Signed-off-by: Roman <ixrock@gmail.com >
2021-02-04 11:51:35 +02:00
Jari Kolehmainen
f56969a64b
Fix snap packaging ( #2081 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-04 10:29:35 +02:00
Sebastian Malton
31534317d8
fix unit tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-03 13:39:45 -05:00
Roman
1b492f27ad
Allow to quick select/deselect all namespaces in NamespaceSelect ( #2068 )
...
* allow to quick select/deselect all namespaces in `NamespaceSelect`
Signed-off-by: Roman <ixrock@gmail.com >
* fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com >
2021-02-03 19:01:45 +02:00
Jari Kolehmainen
2c99cd0429
Release v4.1.0-alpha.2 ( #2064 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-03 18:24:12 +02:00
Sebastian Malton
2bbdd168d6
add install docs for linux
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-03 10:15:13 -05:00
Sebastian Malton
f2df7c764e
improve docs, export types for extensions, skip integration tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-03 10:03:37 -05:00
Sebastian Malton
437c75bd4a
killall during teardown
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 17:10:22 -05:00
Sebastian Malton
d3f8ebcf76
revert bad rebase
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 17:03:41 -05:00
Sebastian Malton
8e9a0cc4b7
add waiting for renderer and extensions to load before broadcasting handlers
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 16:28:52 -05:00
Sebastian Malton
7ea0a7fa4b
fix integration tests locally
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 14:49:00 -05:00
dependabot[bot]
068ab855c1
Bump @typescript-eslint/eslint-plugin from 4.12.0 to 4.14.2 ( #2056 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.12.0 to 4.14.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.2/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 10:42:31 -05:00
Sebastian Malton
401908f4e5
stop getting logs on test timeout
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 10:37:16 -05:00
Arthur Lutz
e273bd71f2
Tray: change order of items, Open first ( #2059 )
...
Fixes #2032
Signed-off-by: Arthur Lutz <arthur.lutz@logilab.fr >
2021-02-02 16:07:13 +02:00
Sebastian Malton
624b7b50ee
change open to be a dev dep
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:51:23 -05:00
Sebastian Malton
fed90f3de6
fix lint
...
Signed-off-by: Sebastian Malton <smalton@mirantis.com >
2021-02-02 08:51:22 -05:00
Sebastian Malton
aa5909bdd1
get protocol handling working for linux
...
Signed-off-by: Sebastian Malton <smalton@mirantis.com >
2021-02-02 08:51:05 -05:00
Sebastian Malton
bce07796b1
fix package.json
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:49:48 -05:00
Sebastian Malton
117c833e2c
testing handling on linux
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:49:48 -05:00
Sebastian Malton
f8b36055f5
fix unit and integration tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:49:46 -05:00
Sebastian Malton
0062395550
resolve pr comment
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:49:35 -05:00
Sebastian Malton
f97002828f
change internal hostname to app, revert spacing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:49:33 -05:00
Sebastian Malton
2ee1d3d794
fix integration tests and markdown
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:49:07 -05:00
Sebastian Malton
bfc335a43c
fix unit tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:48:46 -05:00
Sebastian Malton
4a98d9717d
reintroduce renderer routing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:48:45 -05:00
Sebastian Malton
6c4c2b714b
Fix unit tests and update docs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:48:28 -05:00
Sebastian Malton
2544ba9e09
Convert the extension API to use an array for registering handlers
...
- switch design to execute both main and renderer handlers
simaltaneously, without any overlap checking
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:48:26 -05:00
Sebastian Malton
e7ee7fe2b0
Auto-clean extension handlers on deactivation
...
- remove handlers when an extension is deactivated or removed
- make sure that the found extension when routing a request is currently
enabled (as a backup)
- added documentation about the above behaviour to the guide
- tweaked the naming convension so that it is clearer that the router
uses extension names as not IDs (which currently are folder paths)
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:48:03 -05:00
Sebastian Malton
8430b67d55
Add lens:// protocol handling with a routing mechanism
...
- document the methods in an extension guide
- add integration test to make sure that all tested OSes work as
intended
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-02-02 08:48:01 -05:00
Jari Kolehmainen
21adda2c64
Fix release-drafter yaml error ( #2062 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-02 15:34:12 +02:00
Carl Reid
88c490ae14
Allow for changing installation directory on Windows ( #1978 )
...
Signed-off-by: Carl Reid <carl.reid@bestseller.com >
2021-02-02 15:09:32 +02:00
Jameel Al-Aziz
a2f4fac720
Allow namespace to specified on role creation ( #2020 )
...
* Allow users to specify the namespace when creating a custom role.
* Default role namespace remains the "global" namespace allowing for
cluster role creatoin.
Signed-off-by: Jameel Al-Aziz <me@jalaziz.io >
2021-02-02 14:53:46 +02:00
Lauri Nevala
da1d0d162f
Add missing envFrom.secretRef property to IPodContainer ( #2044 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-02-02 14:44:07 +02:00
Jari Kolehmainen
3dce0aee18
Add exclude-labels to release-drafter ( #2061 )
...
* add exclude-labels to release-drafter
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add dl links to release-drafter template
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-02 14:43:44 +02:00
Jari Kolehmainen
b5e7be7591
Initial command palette feature ( #1957 )
...
* wip: command palette
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* register shortcut to global menu
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* introduce openCommandDialog & closeCommandDialog
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix ipc broadcast to frames from renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add more commands
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* implement workspace edit
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* workspace edit fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* make tests green
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes from code review
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup ipc
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup CommandRegistry
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix ClusterManager cluster auto-init
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ensure cluster view is active before sending a command
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* switch to last active cluster when workspace change
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* run integration tests serially
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes based on code review
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup more
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add workspace fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-02 12:34:13 +02:00
Alex Andreev
9e1487685c
Fix: charts stripes alignment ( #2054 )
...
* Align chart stripe on every dataset update
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing default stripes interval
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-02-02 11:45:45 +03:00
Jari Kolehmainen
06b884f3fb
Fix release-drafter yaml error ( #2058 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-02 09:42:14 +02:00