Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Malton 49faa2f9b7 fix scroll-spy.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton fa9683a170 fix pods.store.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 0ac6b48bf4 fix job.store.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 1008d4e10b fix statefulset.store.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton d216b8915b fix api-manager.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 1c56971e68 fix deployment.api.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 313e484c58 fix stateful-set.api.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 6a6cb35ca4 fix cronjob.store.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 5c7314da0a fix deployments/scale/dialog.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 24db61fbef fix deployments.store.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 5afa96971e fix replicasets/scale-dialog/dialog.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 1683f482f1 fix statefulsets/dialog/dialog.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton 474b509199 fix replicaset.store.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:17 -04:00
Sebastian Malton c629d603fe fix daemonset.store.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:16 -04:00
Sebastian Malton 203580ad92 fix delete-cluster-dialog.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:46:41 -04:00
Sebastian Malton 977c83502d fix pods.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:46:41 -04:00
Sebastian Malton 42f6b2de82 fix role-bindings/__tests__/dialog.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:46:41 -04:00
Sebastian Malton 668cac691e fix cluster-role-bindings/__tests__/dialog.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:46:40 -04:00
Sebastian Malton 2d3aab2179 fix kubeconfig-manager.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 9add1d15e4 fixed hotbar-store.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 6d720db036 fix kube=api.test.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton ffb840f0ed fix cluster.test.ts tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 199f142559 fix dock-store.test.ts test by overriding createStorage to not touch file system
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 35e49fe6e6 fix log-resource-selector.test.tsx tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 383a50cdbf fix ref logic error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 9dc5872f77 revert move fileNameMigration to index
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton bc30edade0 fix catalog.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton dc3dffc2fc fix select.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 4bf4089346 fix kube-object-menu.test.tsx
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 488db8cab5 fix build to not use webpack for generating types
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton f1be6a3ec7 add new make clean action
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 550760d544 remove copy-extension-themes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 41a73f9e65 change some type param names to be not single letters
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton fc21f855e1 revert move hostedCluster(Id)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton b757874f2f Revert package.json version changes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton d4e2848f90 Replace KubeObject scope strings with enum
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton 0e3bf40e21 fix build
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton f594bf03f3 Turn on strict mode in tsconfig.json
- Add route, clusterRoute, and payloadValidatedClusterRoute helper
  functions to improve types with backend routes

- Turn on the following new lints:
  - react/jsx-first-prop-new-line
  - react/jsx-wrap-multilines
  - react/jsx-one-expression-per-line
  - react/jsx-max-props-per-line
  - react/jsx-indent
  - react/jsx-indent-props

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:50 -04:00
Sebastian Malton 2d7f89ab48 Fix check for making sure dependency upgrades don't break dev mode (#5318) 2022-05-03 15:46:24 -04:00
Sebastian Malton 432fc534c6 Fix last item not being removed on initial loadAll (#5309) 2022-05-03 11:13:43 -04:00
Sebastian Malton 5263738c04 Cancel in progress npm master publishes if multuple in flight (#5306) 2022-05-02 11:36:05 -04:00
Sebastian Malton 8ada3c7505 Compute Tray Icon on the fly instead of at build (#5157) 2022-04-28 12:31:57 -04:00
Sebastian Malton e4b1fa2f40 Fix make dev on master (#5282)
- Add CI action to validate that future bump PRs don't break dev mode

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-04-26 20:18:18 -07:00
Sebastian Malton 753fa225ed Fix crash in CRD display (#5256) 2022-04-25 17:10:39 -04:00
Sebastian Malton e977890677 Remove webpack.*.ts importing values from src/ (#4992) 2022-04-13 10:39:35 -04:00
Sebastian Malton 423ffd44dc Fix slackLink in catalog becoming out of date (#5108) 2022-04-08 11:12:06 -04:00
Sebastian Malton 7c34ba36a6 Add B to bytesToUnits to make clear that they are bytes (#5170) 2022-04-06 11:48:42 -04:00
Sebastian Malton 85f2ce7504 Reset ClusterStatus state when switching clusters (#5149) 2022-04-01 12:02:04 -04:00
Sebastian Malton 7fffa3643c Bump all @sentry related packages (#5155) 2022-04-01 08:55:34 -04:00
Sebastian Malton 3a26ea7b7f fix license-header workflow (#5158) 2022-03-31 14:20:39 -04:00
Sebastian Malton 086604630a Add links for ingresses (#4630)
* Add links for ingresses

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add back the arrow service

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Only display link if host is defined

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Resolve PR comments

- Fix crash in IngressDetails

- Make ingress routes scrollable

- Don't display link if the URL contains "*"

- Consolidate rendering of rules to all use the same transform function

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix http(s) formatting and add some tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-31 07:58:35 -04:00
Sebastian Malton 63fb94589a Fix CatalogEntity.status sorting in Catalog (#5147)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-31 07:58:01 -04:00
Sebastian Malton 69f1ecb0b9 Fix exception in KubeStore.watch event buffer handling (#5120)
* Fix exception in KubeStore.watch event buffer handling

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix type error

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-30 07:04:59 -04:00
Sebastian Malton 4c92f3f251 Fully support displaying all supported PodVolume types (#4131) 2022-03-28 09:04:15 -04:00
Sebastian Malton 9203367c60 Fix KubeJsonApi.forCluster throwing on renderer (#5034) 2022-03-24 09:28:04 -04:00
Sebastian Malton 4ca66fceee Bump package version to 5.5.0-alpha.0 (#5083)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-24 08:07:21 -04:00
Sebastian Malton b08daa811d Fix all Age, LastSeen, and FirstSeen displays (#4990) 2022-03-17 15:17:03 -04:00
Sebastian Malton 4d1c69094b Fix spacing and layout of registered TopBar items (#4991) 2022-03-15 08:36:14 -04:00
Sebastian Malton 8b6f8e5dc3 Fix HelmChart validator requiring digest field (#4920)
* Fix HelmChart validator requiring digest field

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-10 07:06:47 -05:00
Sebastian Malton a19f094a0d Consolidate downloading binaries into one script (#4942)
* Consolidate downloading binaries into one script

- Upgrade lens-k8s-proxy to 0.1.5 which allows us to remove the trailing
  slash in KubeAuthProxy

- Consolidate nromalizing arch and os strings

- Remove LensBinary as HelmCli is not just a raw object since it is
  always bundled

- Introduce OnceCell and use it for the binary paths

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fully remove helmCli, move associated variable to vars

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix helm downloading on windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Don't download binaries for unsupported windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Arch specific paths

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix downloading helm on windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* rename once-cell file to lazy-initialized

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-09 17:51:51 -05:00
Sebastian Malton d72ebac5f3 Bump lens-k8s-proxy to v0.1.5 (#4946)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-03-02 17:21:32 -05:00
Sebastian Malton 1077a949ec Cherry Pick from master to release/v5.4 (#4945) (#4955) 2022-03-02 08:58:52 -05:00
Sebastian Malton 0b32775d40 Enforce some naming conventions (#4813) 2022-03-01 13:06:53 -05:00
Sebastian Malton dc6615f98f Cherry Pick commits from master to release/5.4 (#4943) 2022-03-01 11:11:39 -05:00
Sebastian Malton ff14603be6 Fix formatDuration test to be stable (#4944) 2022-03-01 11:05:32 -05:00
Sebastian Malton 5196ffa55d Fix Editor's Font Family preference not being editable (#4938) 2022-03-01 10:53:44 -05:00
Sebastian Malton f5a7d64551 Reduce cluster logging on quit (#4935) 2022-02-28 08:34:45 -05:00
Sebastian Malton 9c604dcfa1 Fix UnhandledPromiseRejectionWarning in KubeApi.watch (#4919)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-02-22 13:34:49 -05:00
Sebastian Malton 8088d3b5c2 Remove ExtenedMap, ToggleSet, and observable versions (#3310)
- Switch to helper functions instead. They don't impact the prototype
  tree and it means that we don't need to introduce versions that are
  both observable and "normal"

- Tidy <ItemListLayout> and hiddenTableColumns to not need
  pre-initialization

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-02-16 18:20:22 -05:00
Sebastian Malton ed91ef2d03 Cleanup HelmRepoManager and <HelmCharts> (#4564) 2022-02-16 14:43:26 -05:00
Sebastian Malton dd819bb534 Refine UserStore from/to usage (#3292) 2022-02-16 14:43:19 -05:00
Sebastian Malton 600bd659f6 Enforce member-delimiter-style using eslint (#4870) 2022-02-16 14:43:03 -05:00
Sebastian Malton 46585ee9d8 Rename KubernetesCluster MenuItem from Delete to Remove (#4854) 2022-02-14 09:24:38 -05:00
Sebastian Malton 81e6dc5d8e Allow better typings for extending type of KubernetesCluster (#4843) 2022-02-10 15:55:03 -05:00
Sebastian MaltonandAlex Andreev 8480b2a1e5 Fix StatusBar extension API (#4838)
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-02-10 09:08:59 -05:00
Sebastian Malton 15c867745f Restrict title name to be only string (#4839)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-02-09 07:41:12 -05:00
Sebastian Malton d4d2da1d28 Fix extension sidebar items sometimes being expandable (#4835)
* Fix extension sidebar items sometimes being expandable

- Change <TabRoutesSidebarItems> to be just a helper function

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Actual fix

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-02-08 20:21:54 +02:00
Sebastian Malton f53892cb46 Fix custom-resource navigation (#4831)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-02-08 15:43:50 +02:00
Sebastian Malton 0745f9c063 Fix Cluster.refresh sometimes taking upwards of 20s (#4826)
- Only read and parse the proxy config once

- Reuse the AuthorizationV1Api instance for the entire refresh instead
  of recreating it between 32 and 302 times, this should allow for
  reusing sockets

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-02-08 15:37:46 +02:00
Sebastian Malton 4abe0d6c20 Only group delete visible items (#4798) 2022-02-07 10:40:20 -05:00
Sebastian Malton 06ec1b39a4 Fix not being able to install extensions sometimes (#4794) 2022-02-07 09:07:09 -05:00
Sebastian Malton 0017f515ab Fix 'mkdocs deploy master' workflow (#4810) 2022-02-03 09:56:45 -05:00
Sebastian Malton 2b952e193e Fix electronegativity workflow config (#4809) 2022-02-03 09:36:45 -05:00
76f48df56b Fix rerendering of KubeObject views every 30s (#4801)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-02-03 09:11:28 -05:00
Sebastian Malton dd4aa30b8d Update Node.getRoleLabels() to work with kube 1.16's defaults (#4771)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-02-01 07:33:39 -05:00
Sebastian Malton 0b1696fe16 Fix build due to removal of old extended collections (#4779) 2022-01-31 10:46:40 -05:00
0ce4e3d793 Full dependency inversion of <Dock> and all current tab kinds (#4757)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:49:36 -05:00
Sebastian Malton 38790eb886 Upgrade to latest for all linting deps (#4755)
* Upgrade to eslint latest

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix OOM error

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* resolve PR comments

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-29 07:46:37 -05:00
Sebastian Malton 2ad78c2a86 Fix item menus for several pages (#4770) 2022-01-28 11:08:06 -05:00
Sebastian Malton 8d8491a035 Ensure that CatalogEntity.getName() and CatalogEntity.getId() are always used (#4763) 2022-01-27 14:42:19 -05:00
Sebastian Malton a2b9153e52 Allow users of KubeObjectListLayout to override all props of ItemListLayout (#4752)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-27 07:13:56 -05:00
Sebastian Malton 162741a7cc Fix multi-document support in monaco editor (#4756)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-27 07:13:41 -05:00
Sebastian Malton b3df5b4fc6 Fix pod logs dock tab (#4738)
- Move all dependencies into a transient LogsViewModel

- Remove dependencies on dockStore.selectedTab

- Make all bindings as late as possible, as per mobx rules

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-25 07:04:11 -05:00
Sebastian Malton 53ffc62391 Add extension API for registering custom category views (#4733) 2022-01-21 16:44:57 -05:00
Sebastian Malton 411b9a9a88 Add support for custom columns on catalog categories (#4708) 2022-01-19 10:22:22 -05:00
Sebastian Malton eb93a2eee7 Revert "Add auto-detect support for Victoria Metrics Single" (#4705) 2022-01-17 13:55:30 -05:00
Sebastian Malton 2ee47a442a Reroute to landing page from previously registered extension cluster pages (#4385) 2022-01-12 08:47:42 -05:00
Sebastian Malton 39beca0639 Fix Kubectl.downloadKubectl() (#4674)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-12 07:06:54 -05:00
Sebastian Malton 14b30d84a1 Fix crash for KubeObjectStore.loadAll() (#4675)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-12 07:05:27 -05:00
Sebastian Malton d40071a9d5 Fix CommandOverlay for extension API (#4673) 2022-01-11 11:58:23 -05:00