Sebastian Malton
26fb2e796e
Fix not being able to configure non-Lens prometheus settings ( #3355 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-12 10:13:11 -04:00
Sebastian Malton
52ab699426
Remove <CubeSpinner> and <AppInit> as both are unused ( #3336 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-12 08:45:15 +03:00
Sebastian Malton
77f8ea67bd
Cleanup sentry integration ( #3315 )
2021-07-08 16:57:29 -04:00
Sebastian Malton
3b31dadf19
Fix listing charts failing due to bad versions ( #3308 )
2021-07-08 11:35:54 -04:00
Sebastian Malton
db968b8a5b
Fix user-store/5.0.3-beta.1.ts comment ( #3311 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-08 16:13:29 +03:00
Sebastian Malton
497e47b277
Automatically sync all kubeConfigPaths ( #3227 )
2021-07-07 16:29:58 -04:00
Sebastian Malton
fe443f462b
Fix table columns being hidden after changing any user preference ( #3302 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-07 15:48:00 -04:00
Sebastian Malton
17a8044647
Add logging on proxy error ( #3303 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-07 09:42:16 -04:00
Sebastian Malton
a301283adc
Fix unhandled exception in visibility handler ( #3291 )
...
- If an KubernetesCluster entity is being deleted then the
catalogEntityRegistry.getById() will return undefined. This leads to
an unhandled exception in the handler because we tried to read
apiVersion. This commit changes it so that we get the apiVersion and
kind from KubernetesCluster class itself
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-07 09:30:07 +03:00
Sebastian Malton
b03eb443c9
Await kubeconfigPathP for fish shell args ( #3286 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-07 09:20:17 +03:00
Sebastian Malton
0f9f79a8c9
Emit an error on async fromStore ( #3285 )
2021-07-06 11:05:07 -04:00
Sebastian Malton
803c3a3d34
Unblock subsequent Singleton.createInstance() ( #3225 )
...
- Also fix clusters with unknown workspaces
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-06 17:16:04 +03:00
Sebastian Malton
c4623c424d
Formalize the to/from Store rules for UserStore ( #2708 )
...
- Explicitly don't save to disk if the value in the store is the same as
the default. That way we can change the defaults between versions
- Calculate the PreferencesModel on demand
- In the future, when we turn on strict null checking, we can enforce
that the UserStore expects the correct types too
Signed-off-by: Sebastian Malton <sebastian@malton.name >
simplify default check, remove defaults from UserStore
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-06 09:14:13 -04:00
Sebastian Malton
baef6944aa
Reduce transition duration for <Tab>'s ( #3167 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-06 08:42:59 -04:00
Sebastian Malton
b2836eb57a
Don't clear searchValue on CommandDialog onBlur ( #3172 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-06 11:01:11 +03:00
Sebastian Malton
4cae802a08
Don't clear cluster icon on cancel ( #3191 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-05 11:05:40 +03:00
Sebastian Malton
189f017b2e
Set ownerReference to manually triggered cron jobs ( #3229 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-02 15:10:37 +03:00
Sebastian Malton
2708ca63ed
Use kubeconfigPath for delete synced clusters confirmation ( #3205 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-02 15:08:42 +03:00
Sebastian Malton
a12fc68242
Cap cpu chart label values to 2 decimal points ( #3228 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-02 14:26:53 +03:00
Sebastian Malton
223dadc073
Allow users to disconnect from clusters that fail to connect ( #3231 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-02 14:22:16 +03:00
Sebastian Malton
05311c4b1b
Correctly migrate duplicate clusters in workspaces ( #3211 )
...
- Keep track of the set of all workspaces that each duplicated entry was
a part of
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-02 14:21:04 +03:00
Sebastian Malton
e0a509d462
Always check if ref is active in virtual-list ( #3230 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-01 09:51:11 +03:00
Sebastian Malton
aa86e5a41e
release v5.0.0 ( #3209 )
2021-06-29 11:38:29 -04:00
Sebastian Malton
45cafaa420
Fix cluster-store and hotbar-store migrations ( #3208 )
...
- kubeConfigPath was erroniously set to cluster.id
- Skip empty workspace hotbars
- Output a warn if updating or creating a cluster throws in
cluster-store
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-29 09:42:32 -04:00
Sebastian Malton
10e1e69137
release v5.0.0-beta.13 ( #3203 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-28 14:56:06 -04:00
Sebastian Malton
0b88df9b36
HotbarIcon's refering to unknown entities should be removalable ( #3190 )
...
* HotbarIcon's refering to unknown entities should be removalable
* Allow menu to open when icon is disabled
* Add cursor context-menu
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-28 11:28:18 -04:00
Sebastian Malton
2788025fea
Switch to deterministic cluster IDs ( #3201 )
2021-06-28 11:14:55 -04:00
Sebastian Malton
8dda513b79
Don't clear searchUrlParam on every change ( #3189 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-28 11:41:01 +03:00
Sebastian Malton
4e235a95a1
release v5.0.0-beta.12 ( #3188 )
2021-06-25 14:32:08 -04:00
Sebastian Malton
dbfdd450a8
Track extension provisions and check bundled for routing ( #3187 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-25 13:28:07 -04:00
Sebastian Malton
9790b71f8c
Update distro label on clusters ( #3171 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-25 10:40:26 -04:00
Sebastian Malton
fff6d2e5f9
Remove padding for custom icons ( #3162 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-25 10:40:02 -04:00
Sebastian Malton
51655884c7
Fix hotbar migration of workspaces ( #3178 )
2021-06-25 09:55:25 -04:00
Sebastian Malton
eba44d76aa
Fix integration test not assigning to clusterAdded correctly ( #3168 )
2021-06-24 09:21:53 -04:00
Sebastian Malton
7058193295
Navigate back to last viewed catalog catagory ( #3163 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-23 15:53:22 -04:00
Sebastian Malton
e49576ee8c
Fix <Icon>'s not using tooltip and fix toolbar not being boolean ( #3038 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-23 09:14:59 -04:00
Sebastian Malton
65b9e74d45
Treat bundled extensions as enabled in protocol router ( #3148 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-22 09:59:53 -04:00
Sebastian Malton
6b464a873b
Mark typed-emitter as a dependency for @k8slens/extensions ( #3138 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-21 14:14:48 -04:00
Sebastian Malton
132015e900
Publish new npm package ( #3137 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-21 12:33:38 -04:00
Sebastian Malton
20d6e50cb7
Always open main window if lens:// are routed ( #3130 )
2021-06-21 09:27:11 -04:00
Sebastian Malton
4cd25caca8
Switch sync buttons on windows ( #3110 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-21 08:37:05 -04:00
Sebastian Malton
723ba1df37
Set grouping on local settings ( #3109 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-21 11:01:48 +03:00
Sebastian Malton
adf1251bbd
Fix dependabot.yml reviewers
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-18 15:12:12 -04:00
Sebastian Malton
e30381f1ee
Fix dependabot.yml
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-18 15:10:45 -04:00
Sebastian Malton
fd474fcfa3
Depedabot config should be in .github/ ( #3113 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-18 15:08:46 -04:00
Sebastian Malton
9b04e611a4
Transition workspaces to hotbars ( #3079 )
2021-06-18 12:05:44 -04:00
Sebastian Malton
4ff5a722a7
lens:// routing shouldn't ignore intree extensions ( #3091 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-18 10:19:13 -04:00
Sebastian Malton
8a0cb2602b
ClusterStore.storedKubeConfigFolder should be usabled everywhere ( #3105 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-18 08:44:40 -04:00
Sebastian Malton
7f51e3addd
Make CatalogEntity labels clickable ( #3075 )
...
- Transition workspace's to be labels
- Fix migrations to support multiple migrations for the same version
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-18 08:44:28 -04:00
Sebastian Malton
eb45f45a7a
Add context menu entry for deleting local clusters ( #2923 )
2021-06-17 12:19:22 -04:00
Sebastian Malton
7988f068cb
release v5.0.0-beta.9 ( #3063 )
...
* Revert displayName being first key
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* release v5.0.0-beta.9
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-17 13:25:24 +03:00
Sebastian Malton
c3c944cd30
Send LensMainExtension.nagivate calls to renderer before navigating ( #3082 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-17 12:59:27 +03:00
Sebastian Malton
5f6abe3496
Update extensions/**/package-lock.json to v0.0.1 ( #3076 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-16 14:21:23 -04:00
Sebastian Malton
247b00a5a3
Fix height resizing of VirtualList ( #3072 )
2021-06-16 09:05:24 -04:00
Sebastian Malton
42bb2a620a
Fix extensions not having the same version as Lens ( #3027 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-15 14:14:03 -04:00
Sebastian Malton
62bc806105
Don't try watching again if credentials have failed ( #3039 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-14 09:39:06 -04:00
Sebastian Malton
fa5a54f271
Adding tracking of mainWindow's visibility to ProtocolRouter, open main view on valid lens:// ( #3026 )
2021-06-14 08:55:45 -04:00
Sebastian Malton
5bd1d079de
Add checks to block edits to key fields ( #2426 )
...
- Referece kubetcl:pkg/cmd/util/editor/editoptions.go:649
- disallow editing status field
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-14 08:49:55 -04:00
Sebastian Malton
6f6ad9cc12
Only run make build on azure ( #3041 )
...
* Only run 'make build' on azure
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix spelling
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-14 07:37:54 +03:00
Sebastian Malton
84cad4b155
Allow installing extensions by dist-tag ( #3040 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-11 15:06:56 -04:00
Sebastian Malton
e26694d4b6
release v5.0.0-beta.8 ( #3036 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-11 11:38:40 -04:00
Sebastian Malton
9593cc1323
Add manual restart required to update notification ( #3009 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-11 12:28:06 +03:00
Sebastian Malton
c9aec32a4a
Fix dependabot config ( #3022 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-10 14:45:21 -04:00
Sebastian Malton
264f2df7f4
Fix buildNumber to be consistent for all package.json's ( #3016 )
2021-06-10 12:17:12 -04:00
Sebastian Malton
280af6391e
Switch to more specific IPC helpers ( #2821 )
2021-06-10 10:34:22 -04:00
Sebastian Malton
6d10f011e5
Explicitly initialize registries
...
- Helps moves towards turning on banning CyclicImports
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-10 09:34:13 -04:00
Sebastian Malton
c18df6bcae
Minor cleanup of ExtensionDiscovery ( #2887 )
2021-06-10 09:21:04 -04:00
Sebastian Malton
5ee2ab5b4a
Move all RouteParam's and URL builders to src/common ( #2778 )
...
- Prevents some circular dependencies
- Allowed main to use them as needed
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-10 08:52:09 -04:00
Sebastian Malton
8e244db1a3
Set build version before building extensions ( #3001 )
2021-06-09 19:57:04 -04:00
Sebastian Malton
4a4f5e6d26
CatalogEnitityDrawerMenu should have actions running left to right ( #3015 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-09 15:35:46 -04:00
Sebastian Malton
a1a1c240e9
Split UserManagement into seperate Cluster and Namespace Roles and RoleBindings ( #2755 )
2021-06-09 13:40:55 -04:00
Sebastian Malton
839fe0ac18
Fix tag-release script ( #2983 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-09 07:01:53 +03:00
Sebastian Malton
6677e22371
Remove unnecessary 'onlyVisibleForSource' ( #2982 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-09 07:01:26 +03:00
Sebastian Malton
434e5ff635
Turn off --strict in verify-docs ( #2998 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-08 11:23:11 -04:00
Sebastian Malton
ae2fa15b20
Make customizing ItemListLayout header explicitly reducable ( #2956 )
...
- Add search placeholder text for helm releases
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-08 07:41:36 -04:00
Sebastian Malton
60a19143b4
Revert 2844 ( #2980 )
...
* Revert "review comments"
This reverts commit 97f2ecd88d .
* Revert "Switch to I, remove type parameter default"
This reverts commit a3073cc99b .
* Revert "Improve Table typing and remove annotations on callbacks"
This reverts commit defb0ea0dd .
2021-06-07 12:02:15 -04:00
Sebastian Malton
97f2ecd88d
review comments
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 11:30:29 -04:00
Sebastian Malton
a3073cc99b
Switch to I, remove type parameter default
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 11:30:29 -04:00
Sebastian Malton
defb0ea0dd
Improve Table typing and remove annotations on callbacks
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 11:30:28 -04:00
Sebastian Malton
ba1e5973be
Upgrade typedoc ( #2940 )
2021-06-07 09:51:43 -04:00
Sebastian Malton
f3b38d36c6
Wait for LensApp to report that the view has loaded before showing main window ( #2597 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:39:38 -04:00
Sebastian Malton
88de530913
Cherry pick commits from 4.2 ( #2953 )
2021-06-07 08:39:16 -04:00
Sebastian Malton
817c8e00db
Simplify add cluster view ( #2716 )
...
- Only shows editor, and will save all text to file
- Reports some validation errors, but doesn't block the add cluster
button
- Cleanup kube helpers to facilitate clearer FS interactions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:14:43 -04:00
Sebastian Malton
07c7653a70
Remove old extensions on build ( #2893 )
2021-06-07 08:14:27 -04:00
Sebastian Malton
27ec650e0a
Remove try/catch around lens:// route, as that happens in route() ( #2935 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:13:48 -04:00
Sebastian Malton
cb4a7497dd
Remove Namespace filter from ItemListLayout ( #2952 )
2021-06-07 08:13:26 -04:00
Sebastian Malton
d21f99e609
Await onActivate/onDeactive of extensions ( #2963 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:08:39 -04:00
Sebastian Malton
278510a90a
Make a master tag of the extensions API ( #2888 )
...
* Make a master tag of the extensions API
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* use the gitref as a prerelease header
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Reduce the number of releases
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix if
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 10:40:39 +03:00
Sebastian Malton
031c57962b
Readd NamespaceSelectFilter to releases.tsx ( #2962 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 10:06:52 +03:00
Sebastian Malton
683a520186
Fix drawer closing on updating kube objects ( #2964 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:23:09 +03:00
Sebastian Malton
deaf67b30b
Remove isClusterScoped from ItemListLayout ( #2743 )
...
* remove isClusterScoped from ItemListLayout
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Move <NamespaceSelectFilter> to KubeObjectListLayout
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* revert to simpler NamespaceSelectFilter fix
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 12:58:12 +03:00
Sebastian Malton
0d0c67f13f
Update docs to be correct with the new api changes ( #2916 )
...
* Update docs to be correct with the new api changes
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix renderer-extension.md
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 12:44:25 +03:00
Sebastian Malton
043f411ad1
Fix getReleases returning inconsistent data types ( #2924 )
2021-06-01 11:53:24 -04:00
Sebastian Malton
5fd2d5501c
Add notification in renderer if lens protocol handler fails to find any routes ( #2787 )
...
- Add notifications on missing lens:// handlers, and invalid URIs
- add notifications on unknown entity IDs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-01 08:28:38 -04:00
Sebastian Malton
36e8888ecb
Improve loading animation when switching release details ( #2367 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-05-31 16:43:08 -04:00
Sebastian Malton
2e0ff6c928
Extension Api docs should point to generated index files ( #2898 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-05-28 10:22:38 -04:00
Sebastian Malton
972d2f9a01
Use type-fest's TypedArray for ReadableWebToNodeStream ( #2899 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-05-28 09:38:59 -04:00
Sebastian Malton
847ba3f8eb
Fix: don't remove clear all of groupKinds when running disposer ( #2835 )
2021-05-28 09:10:01 -04:00
Sebastian Malton
9f1e262310
Upgrade to typescript 4.3 ( #2894 )
2021-05-28 08:41:27 -04:00
Sebastian Malton
df1f6e128e
Rework extension API into parts ( #2879 )
...
* `Main`, `Common`, and `Renderer`
* move registry types to Common.Types
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-05-27 14:56:33 -04:00