1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 22:07:31 +03:00
Commit Graph

1176 Commits

Author SHA1 Message Date
Sebastian Malton
88de530913
Cherry pick commits from 4.2 (#2953) 2021-06-07 08:39:16 -04:00
dependabot[bot]
5642359306
Bump node-loader from 0.6.0 to 1.0.3 (#2967)
Bumps [node-loader](https://github.com/webpack-contrib/node-loader) from 0.6.0 to 1.0.3.
- [Release notes](https://github.com/webpack-contrib/node-loader/releases)
- [Changelog](https://github.com/webpack-contrib/node-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/node-loader/compare/v0.6.0...v1.0.3)

---
updated-dependencies:
- dependency-name: node-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 15:16:34 +03:00
dependabot[bot]
c773f2ed59
Bump @types/react-dom from 17.0.0 to 17.0.6 (#2957)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.0 to 17.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  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-06-07 15:15:54 +03:00
Alex Andreev
6e80c65d99
Fix catalog table classnames (#2975)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-07 15:15:36 +03: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
dependabot[bot]
b746531ad4
Bump moment from 2.26.0 to 2.29.1 (#2926)
Bumps [moment](https://github.com/moment/moment) from 2.26.0 to 2.29.1.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.26.0...2.29.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 08:14:00 -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
Mario Sarcher
c272ccb48a
Publish npm master remove type (#2974)
* Publish NPM package on push to master branch

Signed-off-by: Mario Sarcher <mario@sarcher.de>

* Remove type closed to run properly on master branch commits

Signed-off-by: Mario Sarcher <mario@sarcher.de>
2021-06-07 13:43:52 +02:00
Mario Sarcher
f53bb9be93
Publish NPM package on push to master branch (#2973)
Signed-off-by: Mario Sarcher <mario@sarcher.de>
2021-06-07 13:33:30 +02:00
Mario Sarcher
96aa9f16e1
Always publish npm package on master branch updates (#2970)
Signed-off-by: Mario Sarcher <mario@sarcher.de>
2021-06-07 11:06:54 +02:00
Alex Andreev
026cbbac09
Generic TopBar component for Catalog/Cluster views (#2882)
* Rendering close button in cluster view

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

* Changing Icon hover style

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

* Moving onClick handler away

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

* Removing sidebar compact view

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

* Removing 'compact' refs in SidebarItem

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

* Wrapping Catalog with MainLayout

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

* Making sidebar resizing indicator visible on hover

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

* Adding TopBar to catalog view

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

* Using TopBar in cluster views

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

* Cleaning up Sidebar styles

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

* Using getActiveClusterEntity() for searching

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

* Fix resizing anchor position

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

* Align cluster name on left

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

* Removing unused files

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

* Removing unused css var

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

* Showing Topbar in ClusterStatus page

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

* Removing TopBar from ClusterManager

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-07 11:46:40 +03: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
Jari Kolehmainen
0fb927f96b
catalog details panel (#2939)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-06-07 10:09:00 +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
Jari Kolehmainen
e7947021e9
Set in-tree extensions package.json version on build (#2946)
* set extensions package.json version on build

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* set extensions package.json version on build

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-07 08:30:37 +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
Aprameya Bhat
91404d3ab3
Fixed #2954: Rollback should include current version as well. (#2955)
Rollback should include the current version as well. This will reset the rollback.

Signed-off-by: Aprameya <abhat@fanatics.com>
2021-06-04 08:59:41 -04:00
dependabot[bot]
f832865fa6
Bump @hapi/call from 8.0.0 to 8.0.1 (#2958)
Bumps [@hapi/call](https://github.com/hapijs/call) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/hapijs/call/releases)
- [Commits](https://github.com/hapijs/call/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: "@hapi/call"
  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-06-04 08:57:05 -04:00
dependabot[bot]
c0967193da
Bump style-loader from 1.2.1 to 2.0.0 (#2519)
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.1 to 2.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.2.1...v2.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 08:51:58 -04:00
Jari Kolehmainen
a411f4cfe5
Cleanup cluster views on unmount (#2961)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-04 08:51:41 -04:00
Lauri Nevala
573a635e29
Fix app crash when logTabData does not exist in store (#2959)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-06-04 08:51:11 -04:00
Lauri Nevala
9852e5cfd8
Implement extensions API for workloads overview details (#2945)
* Implement extensions API for workloads overview details

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Prefix workloadsOverviewDetailItems

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* More renaming

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Add missing registry

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-06-04 15:14:45 +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
dependabot[bot]
a9761c4374
Bump @types/marked from 0.7.4 to 2.0.3 (#2858)
Bumps [@types/marked](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/marked) from 0.7.4 to 2.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/marked)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 10:18:58 -04:00
Violetta
3acc7b80d7
Add labels to metrics graph (#2931)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-06-03 09:20:40 -04:00
Jari Kolehmainen
39149eedfd
Improve how kubernetes cluster status is resolved (#2909) 2021-06-03 08:43:08 -04:00
Jari Kolehmainen
0ad44d6f40
Show entity kind on catalog browse-all list (#2932)
* show entity kind on catalog browse-all list

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-03 15:15:10 +03:00
Jari Kolehmainen
e7086a66d1
update react-select types (#2930)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-02 21:15:30 +03:00
dependabot[bot]
9e24ac69ec
Bump mini-css-extract-plugin from 0.9.0 to 1.6.0 (#2925)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.9.0 to 1.6.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.9.0...v1.6.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 07:54:37 -04:00
Sebastian Malton
043f411ad1
Fix getReleases returning inconsistent data types (#2924) 2021-06-01 11:53:24 -04:00
Jari Kolehmainen
06612409ef
Fix ClusterView bugs (#2928)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-01 09:32:42 -04:00
Lauri Nevala
e1be10b74d
Expose NamespaceSelectFilter component to Extensions API (#2934)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-06-01 09:05:41 -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
Jari Kolehmainen
79f251b4d7
Add homepage to package.json (#2920)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-31 14:22:52 -04:00
dependabot[bot]
59fb722508
Bump ws from 7.4.5 to 7.4.6 in /extensions/metrics-cluster-feature (#2908)
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.5...7.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 10:03:15 -04:00
dependabot[bot]
b6555e71a9
Bump ws from 7.3.0 to 7.4.6 (#2905)
Bumps [ws](https://github.com/websockets/ws) from 7.3.0 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.3.0...7.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 09:51:19 -04:00
dependabot[bot]
7280adce9d
Bump ws from 7.4.0 to 7.4.6 in /extensions/pod-menu (#2906)
Bumps [ws](https://github.com/websockets/ws) from 7.4.0 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.0...7.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 09:51:03 -04:00
dependabot[bot]
780cf4ec00
Bump ws from 7.4.0 to 7.4.6 in /extensions/node-menu (#2907)
Bumps [ws](https://github.com/websockets/ws) from 7.4.0 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.0...7.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 09:50:56 -04:00
dependabot[bot]
2c0e8b6510
Bump file-loader from 6.0.0 to 6.2.0 (#2621)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 09:50:49 -04:00
dependabot[bot]
e8233f4aee
Bump dns-packet from 1.3.1 to 1.3.4 (#2901)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 09:41:21 -04:00
Jari Kolehmainen
18e38223d4
Use in-tree extension tgz package only in production builds (#2915)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-31 15:36:24 +03:00
Jari Kolehmainen
cd96842750
Typed catalog category events (#2812)
* typesafe catalog category events

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* use emit

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* rename events

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-31 08:09:57 +03:00
Jari Kolehmainen
c8e2f7ca2d
Fix main->renderer catalog entity sync issue (#2902)
* fix main->renderer catalog entity sync issue

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* refactor

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-31 08:09:16 +03: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