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

800 Commits

Author SHA1 Message Date
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
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
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
Roman
a29c9ca1b8 fix: load templates from sub-folders for user templates (Dock -> Create resource)
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-20 14:15:24 +03:00
Roman
22a800ce73 fix: terminal resize on initial open (dock without tabs)
fix: console errors when closing all dock tabs

Signed-off-by: Roman <ixrock@gmail.com>
2021-10-20 13:42:51 +03:00
Roman
969be592de allow option.tabSize to use custom number of spaces for [Tab]
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-20 13:06:59 +03:00
Roman
8b854b50a4 use css-modules
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-19 20:11:53 +03:00
Roman
960ec456ce Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	package.json
2021-10-19 16:13:16 +03:00
Sebastian Malton
e21888c62c
Fix iter function return values (#3958) 2021-10-19 09:02:59 -04:00
Roman
59357d0a69 master-merge fixes, fine-tuning
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-19 16:00:56 +03:00
Jari Kolehmainen
755c75008a
remove unnecessary global watches in cluster view (#4073)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-10-19 13:52:25 +03:00
Roman
d6b7001f72 Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	src/renderer/components/+workloads-pods/pod-details-affinities.tsx
#	src/renderer/components/dock/create-resource.tsx
#	src/renderer/components/dock/edit-resource.tsx
#	src/renderer/components/dock/editor-panel.tsx
2021-10-19 13:32:17 +03:00
Alex Andreev
0eac46530a
Pin icon for Catalog list items (#3810) 2021-10-18 10:27:53 -04:00
Roman
9a2af17c47 clean up / responding to comments
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-18 17:13:15 +03:00
Sebastian Malton
5998b4ca84
Upgrade js-yaml to 4.X (#3623) 2021-10-18 10:03:10 -04:00
Sebastian Malton
f12b0658ba
Add URL display to weblink URLs (#4046) 2021-10-18 09:38:10 -04:00
Roman
6f8b9a6c97 removed old mentions of ace-container from ace-editor
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-18 15:15:57 +03:00
Roman
1b680ee5a2 fixes / responding to comments -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-18 15:10:21 +03:00
Roman
0c517b14d0 master-merge fix
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-18 13:44:41 +03:00
Roman
d55d6a1344 Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	src/renderer/components/+custom-resources/crd-details.tsx
#	src/renderer/utils/storageHelper.ts
2021-10-18 13:25:30 +03:00
Sebastian Malton
052d12fc19
Check object instanceof on all detail panels (#4054)
* Check object instanceof on all detail panels

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

* Fix unit tests

- Remove prettier as snapShot testing is too tight of a bound

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-15 12:11:46 -04:00
Roman
dabfce3609
Update immer to version 9.x (#3882) 2021-10-15 11:17:08 -04:00
Sebastian Malton
246305cd63
Fix accessible namespaces notification not navigating to correct settings (#4048) 2021-10-15 09:06:24 -04:00
Roman
3ee2738f14 - use monaco editor theme vs-dark for lens-dark.json theme (agreed with Alex)
- clean up theme.store.ts

Signed-off-by: Roman <ixrock@gmail.com>
2021-10-15 12:44:09 +03:00
Sebastian Malton
9d5689ce69
Only allow extensions to use non-lens specific cluster phases (#4036) 2021-10-14 10:25:48 -04:00
Sebastian Malton
53c9d35832
Fix cluster icon click in sidebar redirecting to wrong route (#4037) 2021-10-14 08:50:24 -04:00
Roman
98244ec95c reverted incorrect merge for Catch metadata being undefined at KubeObject creation (#3960)
(cherry picked from commit 913244b204)

Signed-off-by: Roman <ixrock@gmail.com>
2021-10-14 13:05:06 +03:00
Roman
c1025fe1ba reverted "clouds midnight" as default dark theme for monaco-editor
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-14 12:33:27 +03:00
Roman
f80dda3c59 Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	src/common/user-store/preferences-helpers.ts
#	src/common/user-store/user-store.ts
2021-10-14 11:34:56 +03:00
Sebastian Malton
e64060cc69
Conditionally render node taints upon value existance (#3989) 2021-10-13 10:34:28 -04:00
Alex Andreev
140a8591e0
Increase topbar z-index number (#4028)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-13 15:32:51 +03:00
Roman
bfacb86438 fixes / responding to comments
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-13 10:13:30 +03:00
Roman
e966c1149d Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	src/common/user-store/user-store.ts
2021-10-12 15:48:31 +03:00
Sebastian Malton
9c94c19a4f
Add ability to configure lens release channel (#3971) 2021-10-12 08:32:06 -04:00
Sebastian Malton
b9cee0cbc7
Fix HelmChartDetails and HelmReleaseDetails Menu (#3986) 2021-10-12 08:30:46 -04:00
Sebastian Malton
5a25c44de6
Catch and display errors for release details (#3905) 2021-10-12 08:28:32 -04:00
Sebastian Malton
329f4706c0
Use the served and storage version of a CRD instead of the first (#3999) 2021-10-12 07:31:11 -04:00
Roman
7f95a9568c fix: creating resource via dock is broken
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-12 13:02:37 +03:00
Roman
0350fa53ff fix integration tests
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-11 19:00:22 +03:00
Roman
c6367f9797 Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	src/renderer/components/dock/dock.tsx
2021-10-11 12:58:15 +03:00
Alex Andreev
b2b3c44695
Closing dock tabs with cmd+w on mac (#3849)
* Change Close menu item accelerator

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

* Listening global keydown event in <Dock/>

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

* Prevent terminal to fire custom event

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

* Refresh tooltip hint

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

* Make Tab line gray if Dock isn't focused

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-11 10:06:43 +03:00
Roman
e9ee815cc8 fine-tuning / more fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-10 18:35:19 +03:00
Roman
59efe2a544 - added initial tests for dock/__test__/dock-tab.store.test.ts
- fix: make DockTabStore.init() as public/async / handle opts.autoInit == false
- fix: increased terminal-tab window spacing

Signed-off-by: Roman <ixrock@gmail.com>
2021-10-10 17:40:18 +03:00
Roman
10a7db54d0 fix: refresh terminal's available space (cols/rows) on dock's resize
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 22:21:36 +03:00
Roman
103566f4bf master merge fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 21:49:21 +03:00
Roman
e527cafde7 Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	src/renderer/bootstrap.tsx
#	src/renderer/components/+apps-releases/release-details.tsx
#	src/renderer/components/dock/__test__/log-tab.store.test.ts
#	src/renderer/components/dock/create-resource.tsx
#	src/renderer/components/dock/dock.store.ts
#	src/renderer/components/dock/edit-resource.store.ts
#	src/renderer/components/dock/edit-resource.tsx
#	src/renderer/components/dock/editor-panel.tsx
#	src/renderer/components/dock/log-tab.store.ts
#	yarn.lock
2021-10-09 21:44:22 +03:00
Roman
d7006e63ea ui/ux: improved handling editor's focus when interacting with <Dock/>
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 21:39:11 +03:00
Roman
118d07cfb9 fix: provide validation error to <InfoPanel/> via MonacoEditor.props.onError()
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 20:11:00 +03:00