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

2155 Commits

Author SHA1 Message Date
Alex Andreev
74d92d09d9
Fix: remove hotbar name from status bar (#4679)
* Show tooltip with hotbar name manually

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

* Remove this.refreshPosition() call

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

* Remove hotbar name from status bar

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

* Convert HotbarSelector to use css modules

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

* Remove unused export

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

* Fixing linter

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

* Clean up

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

* Invert invisible prop

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

* Linter fix

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-19 14:31:15 +03:00
Roman
e862d5bf1d
Allow to customize terminal theme (#4666) (#4690)
Allow to customize terminal theme, fix #2224

(cherry picked from commit a5e89b79d6)
2022-01-18 18:16:50 +02:00
dependabot[bot]
3d87d67165
Bump follow-redirects from 1.11.0 to 1.14.7 (#4689)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.11.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.11.0...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 15:05:19 +03:00
dependabot[bot]
f629de8589
Bump marked from 2.1.3 to 4.0.10 (#4695)
* Bump marked from 2.1.3 to 4.0.10

Bumps [marked](https://github.com/markedjs/marked) from 2.1.3 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v2.1.3...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
...

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

* Upgrading marked types

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-18 12:33:36 +03:00
dependabot[bot]
5ca194b401
Bump shelljs from 0.8.4 to 0.8.5 (#4696)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 12:01:20 +03:00
Janne Savolainen
589472c2b5
Shorten license header to reduce amount of clutter in top of the files (#4709)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-18 10:18:10 +02:00
Gaurav Agrawal
66d0a354b1
replacing the deprecated substr() with slice() (#4687) 2022-01-17 13:57:03 -05:00
Sebastian Malton
eb93a2eee7
Revert "Add auto-detect support for Victoria Metrics Single" (#4705) 2022-01-17 13:55:30 -05:00
Jari Kolehmainen
ae10c4d87a
Add auto-detect support for Victoria Metrics Single (#4693) 2022-01-17 13:55:00 -05:00
Iku-turso
0b321f7144
Merge pull request #4653 from lensapp/eliminate-gst-from-app-paths
Eliminate Global Shared State from app paths and relatives
2022-01-17 19:24:15 +02:00
Janne Savolainen
84b1d9e703
Temporary disable failing integration tests to allow merging and solve issue in separate PR
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-17 18:24:17 +02:00
Janne Savolainen
1e772e5303
Fix import
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-14 08:05:22 +02:00
Janne Savolainen
edd9dcd44b
Fix duplicate import
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-14 08:04:25 +02:00
Janne Savolainen
00f6d6bc1f
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths 2022-01-14 07:59:42 +02:00
Janne Savolainen
7c97303414
Remove duplicated LICENSE header
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-14 07:52:37 +02:00
Roman
0be1ab4ce0
Revert "Allow to customize terminal theme (#4666)" (#4682)
This reverts commit a5e89b79d6.
2022-01-13 12:54:54 +02:00
Janne Savolainen
4e2995f979
Extract business logic from component while trying to solve re-rendering issue
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-13 09:04:15 +02:00
Janne Savolainen
06379b089b
Add TODO
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-13 09:01:34 +02:00
Roman
a5e89b79d6
Allow to customize terminal theme (#4666)
Allow to customize terminal theme, fix #2224
2022-01-12 17:42:51 +02: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
Janne Savolainen
09b52a59d8
Fix adding new namespace
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-12 09:06:25 +02:00
Sebastian Malton
d40071a9d5
Fix CommandOverlay for extension API (#4673) 2022-01-11 11:58:23 -05:00
Jim Ehrismann
58ffb8e3e4
ensure old, saved port-forwards get loaded (#4668)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-11 09:35:55 -05:00
Janne Savolainen
ecb93393d1
Fix issue with "this"
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 16:18:08 +02:00
Janne Savolainen
070750e736
Try fixing unit test in windows
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 14:51:57 +02:00
Janne Savolainen
883ece7ea2
Make unit test not fail on windows
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 14:34:46 +02:00
Janne Savolainen
977c6bd2c7
Move file to proper directory
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 14:05:04 +02:00
Janne Savolainen
0f33ba18d2
Simplify function
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 14:04:06 +02:00
Janne Savolainen
995983f0b0
Fix code style
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 14:03:51 +02:00
Janne Savolainen
8d87bd0985
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 13:56:23 +02:00
Janne Savolainen
f7f27a8304
Merge pull request #4424 from lensapp/issue-3258
Command Palette Improvements
2022-01-11 09:20:02 +02:00
Janne Savolainen
a1fd61e41b
Mark electron to cause side effects in unit tests
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 09:12:23 +02:00
Janne Savolainen
b157bda76b
Fix deprecated comment
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 09:10:43 +02:00
Sebastian Malton
56c15e6b0f
Minor cleanup of Kubectl's downloadKubectl and writeInitScripts (#4556) 2022-01-10 10:48:58 -05:00
Janne Savolainen
e1a6d4c4a9
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths 2022-01-10 17:13:20 +02:00
Jim Ehrismann
446eb5ca43
Keep port-forward objects around when not running (#4607)
* adding disabled status to port forwards (WIP)

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

* more work

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

* almost working

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

* working

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

* refactoring and bug fixing, still issue with port-forward-dialog

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

* further refactoring and bug fixing

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

* fixed remaining issues around port-forward dialog, changed port-forward-item id to resource name, etc from local port

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

* documentation, more cleanup

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

* address review comments

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-10 10:00:10 -05:00
Janne Savolainen
d853898a48
Update injectable
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-10 16:54:04 +02:00
Janne Savolainen
4b46f1fe02
Override a side effect in unit test
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-10 16:54:04 +02:00
Janne Savolainen
ae1d3a2712
Revert breaking change
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-10 16:54:04 +02:00
Janne Savolainen
eeff7e488f
Fix changing between cluster metrics
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-10 16:54:04 +02:00
Janne Savolainen
4d5e2bd812
Remove component observation causing involuntary re-renders
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-10 16:54:03 +02:00
Janne Savolainen
48948c7286
Fix endless re-rending of logs
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-10 16:54:03 +02:00
Janne Savolainen
4441d714dd
Fix issue with opening of terminal
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-07 19:29:24 +02:00
Sebastian Malton
fa3708c879
Add eslint:recommended lint rule (#4577) 2022-01-07 08:38:21 -05:00
Iku-turso
d89609415b
Kludge a timing issue until root cause of shared global state is fixed
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-01-07 12:10:04 +02:00
Iku-turso
f089d5c9e6
Add missing todo
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-01-07 12:10:04 +02:00
Janne Savolainen
ff9e9bd169
Re-implement some Extension API features using injectables
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-07 12:10:02 +02:00
Sebastian Malton
764d7754e5 fix test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-05 12:22:43 -05:00