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

850 Commits

Author SHA1 Message Date
Roman
de392d77ed Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	package.json
2021-11-01 12:24:55 +02:00
Roman
9d534d4e0b [CREATE RESOURCE]: removed fs.pathExists before reading template file content
Signed-off-by: Roman <ixrock@gmail.com>
2021-11-01 12:24:23 +02:00
Alex Andreev
c7e38052fc
Fix <a href...> visibility (#4208)
* Removing tailwind base and components styles

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

* Fix link coloring in few places

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-01 12:36:55 +03:00
Sebastian Malton
d6d378bd3f
Fix NamespaceSelectFilter (#4187) 2021-10-29 11:39:18 -04:00
Sebastian Malton
82162e5021
Only listen to CMD+f for <SearchInput> on macOS (#4175) 2021-10-29 09:43:20 -04:00
Sebastian Malton
9e2ee00974
Clear up some NamespaceStore.toggleAll and NamespaceStore.hasAllContexts (#4167) 2021-10-29 08:45:02 -04:00
Jim Ehrismann
8cbb4c29d5
ensure namespace placeholder reflects what will be saved to local storage (#4176) 2021-10-29 08:42:42 -04:00
Roman
a9b9c87d1f
Fix: added missing "Upgrade" option in Helm Release menu (#4163) 2021-10-28 13:23:31 -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
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
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
Roman
21296d6d12 Merge branch 'master' into monaco_editor_refactoring
# Conflicts:
#	src/common/user-store/user-store.ts
#	src/renderer/bootstrap.tsx
#	src/renderer/components/dock/__test__/log-tab.store.test.ts
#	src/renderer/utils/storageHelper.ts
2021-10-28 12:58:06 +03: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
Roman
aaa5939867 fix: focus to the editor on page load / dock just opened
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-27 12:28:51 +03:00
Roman
f276207860 revived EditorPanel / usages of editor per dock-tab separately
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-27 12:14:50 +03:00
Roman
a02538999a responding to comments / clean up
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-27 11:32:39 +03:00
Sebastian Malton
5abc1c618c
Add several more util functions and tests (#4106) 2021-10-26 09:36:34 -04:00
Sebastian Malton
983304f824
Copy whole drawer title if no colon exists (#4120) 2021-10-26 09:16:50 -04:00
Roman
a33165044e clean up
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-26 15:23:32 +03: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
Roman
1d1fe70c39 Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring 2021-10-25 15:31:53 +03:00
Roman
a6a814aa0f clean up
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-25 15:30:53 +03:00
Roman
8f2dfd0d34 simplify validators, provide error to InfoPanel via React.context
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-25 15:06:30 +03:00
Roman
207584d8e9 replace calls console.* to common/logger
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-25 14:20:54 +03:00
Roman
883317b5d0 monaco fine-tuning / final steps
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-25 14:08:35 +03: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
Roman
40f0dc989d Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	package.json
2021-10-22 16:38:11 +03:00
Roman
b6c9ac0782 dock: upgrade-chart refactoring & fixes -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-22 16:27:46 +03: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
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
Roman
2b9fd97109 dock: upgrade-chart tab refactoring & fixes -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-21 18:35:36 +03:00
Sebastian Malton
d5719f29b8
Fix PodDetailsList being empty over 100 pods (#4096) 2021-10-21 09:38:48 -04:00
Jim Ehrismann
731f119b1b
added port-forward details (#4080)
* added port-forward details

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

* address review comments, plus added toolbar/menu to port-forward details Drawer

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

* added getById() to portForwardStore to eliminate direct items access from outside

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-20 16:02:20 -04:00
Sebastian Malton
f52a2295a2
Fix captitalization in CrdResources component (#4093) 2021-10-20 15:42:44 -04:00
Roman
05552fefab dock: don't use kube-object-store while editing resources
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-20 18:37:22 +03:00
Roman
c22609ee0c fix: integration tests / pod-logs regression after moving to css-modules (dock-tab-content)
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-20 17:02:22 +03:00
Roman
8bd40fdb04 fix: use proper background for lens-light theme in installed helm chart details view (InstallChartDone)
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-20 16:16:31 +03:00
Lauri Nevala
3d72db6363
Cleanup dependentStores (#4089) 2021-10-20 09:00:14 -04:00
Sebastian Malton
32562b11a4
Remove ClusterStore.removedClusters and correctly delete lens storage file (#4077) 2021-10-20 08:51:26 -04:00
Sebastian Malton
b4a4cc6be4
Correctly handle empty string valued secrets in SecretDetails (#4079) 2021-10-20 08:51:03 -04:00
Alex Andreev
46653386b9
Replacing icon for Remove from Hotbar action (#4086)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-20 15:22:19 +03:00
Alex Andreev
b0ddb5eb77
Moving Catalog Details panel under TopBar (#4087)
* Moving Catalog Details panel under TopBar

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

* Fine-tuning drawer height css rule

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-20 15:04:02 +03:00
Roman
0de1fb29b8 fix: refresh user's create-resource templates on select / avoid cache
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-20 14:59:46 +03:00