1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

1471 Commits

Author SHA1 Message Date
Sebastian Malton
3fe8014f11
Move Hotbar types to seperate file (#3532) 2021-08-03 14:38:36 -04:00
Sebastian Malton
77077ef72c
Fix custom resources not having a fallback details component (#3542) 2021-08-03 12:31:44 -04:00
Sebastian Malton
a6e91fc34a
Move cluster related types and function into seperate files (#3530) 2021-08-03 10:36:14 -04:00
Sebastian Malton
2893ad956d
Notify user of error if confirmation dialog rejects promise (#3179)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-03 10:09:19 -04:00
Jari Kolehmainen
02320a5d2c
update in-tree extensions webpack (#3561)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-03 09:36:24 -04:00
Sebastian Malton
4fc340d0c6
Cleanup integration and unit tests (#3531)
- Make mockWindow a function and call it when needed

- Change timeouts so that better error messages happen more often in
  integration tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-03 08:51:52 -04:00
Sebastian Malton
b546f1df72
Simplify most of the KubeObjectDetailRegistry initial values (#3529)
- Keep one without any type param to make sure that an extension
  developer can as well

- Keep one with a child type to make sure the same as above

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-03 08:51:13 -04:00
Sebastian Malton
b9bb990690
Add new SentryTransport to winston (#3432)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-03 08:38:23 -04:00
dependabot[bot]
0258c3476d
Bump @typescript-eslint/eslint-plugin from 4.14.2 to 4.29.0 (#3562)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.2 to 4.29.0.
- [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.29.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 14:52:06 +03:00
dependabot[bot]
2c1ca3b7bf
Bump @types/color from 3.0.1 to 3.0.2 (#3563)
Bumps [@types/color](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/color) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/color)

---
updated-dependencies:
- dependency-name: "@types/color"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 14:46:02 +03:00
dependabot[bot]
bc8a1af454
Bump @material-ui/core from 4.11.4 to 4.12.3 (#3554)
Bumps [@material-ui/core](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui) from 4.11.4 to 4.12.3.
- [Release notes](https://github.com/mui-org/material-ui/releases)
- [Changelog](https://github.com/mui-org/material-ui/blob/v4.12.3/CHANGELOG.md)
- [Commits](https://github.com/mui-org/material-ui/commits/v4.12.3/packages/material-ui)

---
updated-dependencies:
- dependency-name: "@material-ui/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 11:33:11 +03:00
dependabot[bot]
3d8be67632
Bump @types/http-proxy from 1.17.5 to 1.17.7 (#3560)
Bumps [@types/http-proxy](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/http-proxy) from 1.17.5 to 1.17.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/http-proxy)

---
updated-dependencies:
- dependency-name: "@types/http-proxy"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 10:38:46 +03:00
dependabot[bot]
7d87d29b30
Bump chart.js from 2.9.3 to 2.9.4 (#3556)
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.9.3 to 2.9.4.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.9.3...v2.9.4)

---
updated-dependencies:
- dependency-name: chart.js
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 09:50:29 +03:00
Jari Kolehmainen
dc5a885855
bundle kubectl 1.21.2 (#3267)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-02 19:11:17 +03:00
dependabot[bot]
9a7cd3be12
Bump postcss from 8.3.5 to 8.3.6 (#3527)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.5 to 8.3.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.5...8.3.6)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 16:35:03 +03:00
dependabot[bot]
a8ed239eae
Bump @sentry/integrations from 6.8.0 to 6.10.0 (#3555)
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 6.8.0 to 6.10.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/6.8.0...6.10.0)

---
updated-dependencies:
- dependency-name: "@sentry/integrations"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 16:32:56 +03:00
dependabot[bot]
0ea1cce233
Bump winston from 3.2.1 to 3.3.3 (#3519)
Bumps [winston](https://github.com/winstonjs/winston) from 3.2.1 to 3.3.3.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/3.2.1...v3.3.3)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 15:53:22 +03:00
dependabot[bot]
214ee0fc5d
Bump node-pty from 0.9.0 to 0.10.1 (#3478)
Bumps [node-pty](https://github.com/Tyriar/node-pty) from 0.9.0 to 0.10.1.
- [Release notes](https://github.com/Tyriar/node-pty/releases)
- [Commits](https://github.com/Tyriar/node-pty/commits)

---
updated-dependencies:
- dependency-name: node-pty
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 15:51:59 +03:00
Sebastian Malton
f35178175b
Ignore certain file globs when under dir kube sync (#3452)
- .DS_Store
- *.lock
- *.swp

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-02 15:02:55 +03:00
Alex Andreev
b5f4ab3c44
Fixing <Tab/> onKeyDown error (#3537)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-30 08:50:39 -04:00
Sebastian Malton
1b88e63343
Set default type params for KubeObjectDetail related APIs (#3528)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-29 10:55:41 -04:00
Sebastian Malton
9038d92eac
Remove package open (#3504)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-29 08:36:45 -04:00
Sebastian Malton
ad86502368
Fix KubernetesClusters overriding entity names too often (#3524)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-29 12:11:45 +03:00
Jari Kolehmainen
e43961ec4f
fix crd resources watch issue (#3520)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-27 20:12:25 +03:00
Violetta Shakirova
1b11433bca
Add ability to rename hotbars (#3469)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-27 08:54:41 -04:00
Sebastian Malton
f507ec9e6c
Set defaults for EndpointSubsets (#3454) 2021-07-27 08:54:14 -04:00
Sebastian Malton
270d9d631c
Warn if ClusterPageMenuRegistration is a subMenu and has an Icon (#3462)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-27 08:53:49 -04:00
Sebastian Malton
51b53b3349
Improve <NamespaceSelectFilter>'s UX (#3490)
- Display previously selected namespaces at the top of the option list
  when first opened

- Don't resort after every selection

- Automatically close the option list if no longer in multi-select mode
  and have toggled at least one namespace

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-27 08:53:34 -04:00
Sebastian Malton
91b3bd10ee
Only stopPropagration in onClick for the itemMenu (#3502)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-27 08:53:22 -04:00
dependabot[bot]
3349c548de
Bump react and react-dom (#3508)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.

Updates `react` from 17.0.1 to 17.0.2
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.2/packages/react)

Updates `react-dom` from 17.0.1 to 17.0.2
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.2/packages/react-dom)

---
updated-dependencies:
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-27 08:53:13 -04:00
Alex Andreev
5c64b48849
Installing tailwindcss/nesting plugin (#3496)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-26 10:37:32 +03:00
Alex Andreev
89662103a8
Fix workload overview status sorting (#3486)
* Sort statuses allowing 'running' to be first

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix Chart legend badges

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding getStatus() tests for each store

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-26 09:33:32 +03:00
Jim Ehrismann
fd5881fe33
increase timeout for getPortFrom() (#3511)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-07-23 17:16:09 -04:00
Sebastian Malton
1437f8a945
Fix auto cleanup of Extension's IPC classes (#3505) 2021-07-23 15:14:11 -04:00
dependabot[bot]
de6560b427
Bump @types/node from 12.20.11 to 12.20.16 (#3503)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.20.11 to 12.20.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-23 12:52:15 -04:00
Sebastian Malton
b71e71cdfc
Fix entity accessibleNamespaces (#3507)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-23 12:48:49 -04:00
Jan Jansen
c8f27e537b
Add accessibleNamespaces to KubernetesClusterModel (#3487)
Fixes #3485

Signed-off-by: Jan Jansen <jan.jansen@gdata.de>
2021-07-23 11:40:13 -04:00
dependabot[bot]
eb0c0210e4
Bump url-loader from 4.1.0 to 4.1.1 (#3501)
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases)
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: url-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-23 10:40:30 -04:00
Sebastian Malton
07532b1552
Display hint to user on how to add items in an EditableList (#3475)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-23 09:26:23 -04:00
dependabot[bot]
239bfec99c
Bump @types/hapi from 18.0.5 to 18.0.6 (#3468)
Bumps [@types/hapi](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/hapi) from 18.0.5 to 18.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/hapi)

---
updated-dependencies:
- dependency-name: "@types/hapi"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-23 09:02:16 -04:00
Alex Andreev
44fad7f459
Fix input default value warning (#3497)
* Removing some props from passing to <input/>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing ns loadMetrics() this context

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-23 07:36:48 -04:00
Jari Kolehmainen
823d68014e
fix entity settings menu order (#3494)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-23 10:54:30 +03:00
Sebastian Malton
da53aa0d79
Treat default weblinks same as any other weblinks (#3385)
- Use seenWeblink and check for non-arrays

- Spread out link validation

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-22 20:28:01 -04:00
Sebastian Malton
0204eef848
Filter out undefined values in hotbar-store migration (#3489)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-22 14:13:32 -04:00
Sebastian Malton
64ac04186b
Improve Table typing and remove annotations on callbacks (#2981)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-22 10:42:27 -04:00
Alex Andreev
c6a4d55d86
Improving metric queries (#3424) 2021-07-22 09:57:14 -04:00
Sebastian Malton
84c767a3d2
release v5.1.3 (#3477)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-22 09:55:34 -04:00
dependabot[bot]
8bdcdbe767
Bump nodemon from 2.0.4 to 2.0.12 (#3465)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.4 to 2.0.12.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.4...v2.0.12)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-21 15:28:12 -04:00
Jim Ehrismann
b5e6bc36fe
Fix kube auth proxy race condition (#3458)
* fix race condition by relying on mobx when() to indicate when the kube auth proxy is ready

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* tweak KubeAuthProxy.run() return behaviour

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-07-21 11:50:43 -04:00
Sebastian Malton
cdb7c95b8f
Fix typings for KubeObjectDetailsRegistration (#3460) 2021-07-21 10:22:32 -04:00