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

1807 Commits

Author SHA1 Message Date
Jim Ehrismann
6d43dbb8eb simplify the namespace selector placeholder logic
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-28 15:29:19 -04:00
Jim Ehrismann
e8a93788b0 ensure namespace selector placeholder reflects what will be saved to local storage
If all of the namespaces have been manually selected by the user then those
namespaces are explicitly saved to the namespace store (not [], representing
all namespaces). Thus the placeholder in the selector should show this list,
not "All namespaces".

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-28 14:57:16 -04:00
Roman
a9b9c87d1f
Fix: added missing "Upgrade" option in Helm Release menu (#4163) 2021-10-28 13:23:31 -04:00
dependabot[bot]
b7ff8c37cb
Bump mobx-react from 7.2.0 to 7.2.1 (#4162)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-28 12:35:30 -04:00
dependabot[bot]
a4ff35b8d2
Bump @types/semver from 7.3.8 to 7.3.9 (#4156)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-28 12:35:11 -04:00
Roman
18e1c76b8f
Fix: helm chart icon has incorrect size when app's window too small (#4166) 2021-10-28 12:35:03 -04:00
Juho Heikka
079976d703
Use filtered items in finding the default action catalog add button (#4170) 2021-10-28 12:25:59 -04:00
Panu Horsmalahti
be8e350510
Fix IPC race condition. (#4169)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-10-28 18:46:16 +03:00
Sebastian Malton
6c599556a2
Fix NamespaceSelectFilter all namespaces button (#3983)
* Fix NamespaceSelectFilter all namespaces button

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

* simplify fix

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-28 15:55:40 +03:00
Sebastian Malton
b32e841bd2
Increase maxBuffer size when getting helm release details (#4164) 2021-10-28 08:33:16 -04:00
Sebastian Malton
b4d5e74d16
Update .yarnrc file (#4150) 2021-10-28 08:31:10 -04:00
dependabot[bot]
c7521740eb
Bump @types/lodash from 4.14.155 to 4.14.176 (#4148)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-28 08:00:05 -04:00
Alex Andreev
50d9b9b467
Fix cluster overview loading background (#4157)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-28 14:34:58 +03:00
Sebastian Malton
51c367fae5
Remove unused deps (#4146)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-28 06:36:51 -04:00
Jari Kolehmainen
bcb18668c5
disable sentry in cluster frame (#4161)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-10-28 12:01:52 +03:00
Alex Andreev
74abf474d7
Navigate cluster context menus via broadcastMessage (#4139)
* Navigate cluster context menus via broadcastMessage

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

* Ability to navigate context in different frames

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

* Renaming an argument

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-28 06:50:15 +03:00
Sebastian Malton
f297407156
Stop using @electron/remote to obtain app.getPath() (#4078)
* Stop using remote to obtain app.getPath()

- Initialize entire map in bootstrap()

- Updated unit tests

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

* Resolve PR comments

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

* Fix test

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

* Fix build

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

* Ensure that init can only be called once and catch errors

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

* Replace basically all uses of app.getPath() with AppPaths.get()

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

* Fix unit tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-27 21:07:41 -04:00
Jim Ehrismann
65b6908bf1
improved port-forward error reporting (#4155)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-27 18:19:03 -04:00
dependabot[bot]
774a4d8b82
Bump typedoc from 0.22.6 to 0.22.7 (#4149)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-27 15:57:27 -04:00
Jim Ehrismann
c4046f657a
release v5.3.0-alpha.6 (#4147)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-26 19:13:45 -04:00
Sebastian Malton
566d2a6797
Upgrade to Electron@v13.6.0 (#4145) 2021-10-26 16:49:25 -04:00
Jim Ehrismann
78d45ca03c
release v5.3.0-alpha.5 (#4144)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-26 16:31:03 -04:00
Sebastian Malton
27a0b02ce2
Close windows before trying to update (#4142) 2021-10-26 14:38:08 -04:00
Jim Ehrismann
4564a1579f
release v5.3.0-alpha.4 (#4141)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-26 11:58:41 -04:00
Sebastian Malton
5abc1c618c
Add several more util functions and tests (#4106) 2021-10-26 09:36:34 -04:00
dependabot[bot]
0aabc9a5de
Bump @types/marked from 2.0.4 to 2.0.5 (#4133)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 09:17:33 -04:00
Sebastian Malton
983304f824
Copy whole drawer title if no colon exists (#4120) 2021-10-26 09:16:50 -04:00
Jari Kolehmainen
f1c2023533
use random api prefix on kubectl-proxy (#4137)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-10-26 14:59:36 +03:00
dependabot[bot]
71f0502499
Bump tar from 6.1.10 to 6.1.11 (#4136)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.10 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.10...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  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-10-26 14:36:03 +03:00
dependabot[bot]
c076a963c9
Bump electron-updater from 4.6.0 to 4.6.1 (#4111)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 16:53:48 -04:00
dependabot[bot]
25c7c1a496
Bump @types/js-yaml from 4.0.2 to 4.0.4 (#4124)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-10-25 16:53:35 -04:00
dependabot[bot]
88f7f46ea5
Bump sharp from 0.29.1 to 0.29.2 (#4122)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 16:53:28 -04:00
dependabot[bot]
3e7168d308
Bump typescript from 4.4.3 to 4.4.4 (#4129)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 16:46:48 -04:00
Jim Ehrismann
9e222e629c
release v5.3.0-alpha.3 (#4130)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-25 16:18:37 -04:00
Jim Ehrismann
353b79ab76
Support port forwarding https protocol (#4119)
* added support for port-forwarding https

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

* added protocol to the port-forward list and details page. Added the port-forward address to the details page title

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

* predict the protocol based on the port name, some cleanup

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

* address review comments

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

* code reorg

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

* fix lint

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-25 11:25:37 -04:00
Jari Kolehmainen
bd7ba9ff43
remove cors headers from LensProxy (#4126)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-10-25 17:42:28 +03:00
Sebastian Malton
221ab46540
Handle named ports in probe label renderer (#4118)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-25 10:40:45 -04:00
dependabot[bot]
f4a6fefa42
Bump @types/sharp from 0.28.3 to 0.29.2 (#4123)
Bumps [@types/sharp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sharp) from 0.28.3 to 0.29.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sharp)

---
updated-dependencies:
- dependency-name: "@types/sharp"
  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-10-25 10:39:57 -04:00
Jim Ehrismann
bbfb8372f3
improved port-forward error reporting (#4108)
* improved port-forward error reporting

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

* satisfy lint and some autoformatting

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-22 17:19:50 -04:00
Jim Ehrismann
169f443c3b
attempt to fix immer/merge bug (#4107)
Co-authored-by: Roman <ixrock@gmail.com>
2021-10-22 09:23:51 -04:00
Alex Andreev
e643b37c7f
Cluster overview css fixes (#4104) 2021-10-22 09:13:43 -04:00
Sebastian Malton
8fa2adf870
Add double click to reset sidebar width (#4109) 2021-10-22 09:10:21 -04:00
Sebastian Malton
cd14097668
Fix errors in HotbarStore migrations (#4105) 2021-10-22 09:03:35 -04:00
dependabot[bot]
1872a8da87
Bump nodemon from 2.0.13 to 2.0.14 (#4113)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.13 to 2.0.14.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.13...v2.0.14)

---
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-10-22 13:25:00 +03:00
dependabot[bot]
b4e85375b0
Bump node-fetch from 2.6.1 to 2.6.5 (#4114)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.5.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/v2.6.5/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.5)

---
updated-dependencies:
- dependency-name: node-fetch
  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-10-22 13:24:25 +03:00
Jari Kolehmainen
62526c2192
Remove iframe completely on disconnect (#4116)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-10-22 13:19:26 +03:00
Jim Ehrismann
c0c0b3ae11
Allow port-forwards to be restarted with the same local port (#4097)
* allow port-forwards to be restarted with the same local port

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

* address review comment

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-21 12:32:34 -04:00
Panu Horsmalahti
0dab7b8073
Add option for providing request options to watch requests (#4102)
* Add option for providing request options to watch requests.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Move getRequestOptions to JsonApi.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Style fix

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Make token to be a string or a function

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Fix isFunction import.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Make getRequestOptions async.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Remove commented code.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Only set token if it's truthy.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Review fixes.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Add this.getRequestOptions default

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-10-21 19:18:32 +03:00
Sebastian Malton
d5719f29b8
Fix PodDetailsList being empty over 100 pods (#4096) 2021-10-21 09:38:48 -04:00
dependabot[bot]
3fc9436a2e
Bump eslint-plugin-unused-imports from 1.0.1 to 1.1.5 (#4101)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-21 09:31:44 -04:00