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

1659 Commits

Author SHA1 Message Date
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
Roman
091ef1f11a provide validation error via props.onError()
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 18:09:27 +03:00
Roman
adbe6cad69 fix: always use string for monaco.editor.setValue(value) / handle undefined
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 17:31:06 +03:00
Roman
5093b094f6 monaco editor value validators -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-08 23:01:36 +03:00
Roman
18ca0aab86 fix: restore editor's model state (cursor pos, selection, etc.) on any dock tabs change
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-08 17:26:18 +03:00
Roman
f86fc022f3 - fixed animation for open/close <Dock/>'s UI state
- added helper dockStore.onTabClose(): IReactionDisposer for easier clean up

Signed-off-by: Roman <ixrock@gmail.com>
2021-10-08 13:57:04 +03:00
Roman
dfd1f06977 detach dock-views registration from dock.tsx
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-07 16:20:53 +03:00
Roman
e66ed4709b fix: apply global editor settings from app preferences
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-06 17:38:18 +03:00
Roman
c4aa88183f dock-tabs: create-resoure refactoring & fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-06 14:56:04 +03:00
Roman
7355f61465 fix tests
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-05 17:25:30 +03:00
Roman
b421591931 refactoring dock-tab stores -- part 3
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-05 16:49:51 +03:00
Roman
5038267bbc refactoring dock-tab stores -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-04 19:42:08 +03:00
Roman
5c41b8612e refactoring dock-tab stores -- part 2 / fix: splash screen stucks forever
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-04 13:16:35 +03:00
Roman
f140bc5b70 refactoring dock-tab stores -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-03 17:19:18 +03:00
Roman
fa90eb833c first poc: removed common/logger usages cause potential leading to infinite loops in some cases with the editor
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-03 10:30:27 +03:00
Roman
74ebf2393d chore
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-02 19:32:00 +03:00
Roman
4341d35304 remove redundant type declaration in callbacks
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-02 13:43:24 +03:00
Roman
9da10dc7b0 more fixes/refactoring + get rid of "react-monaco-editor"
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-01 17:01:36 +03:00
Roman
65aadbac52 detach dock-store imports from monaco-editor.tsx
Signed-off-by: Roman <ixrock@gmail.com>
2021-09-30 23:50:08 +03:00
Roman
0f4301a5a3 fix: properly handle resizing editor dom element and refresh layout
Signed-off-by: Roman <ixrock@gmail.com>
2021-09-30 18:46:16 +03:00
Roman
13786930eb fix: Uncaught Error: ModelService: Cannot add model because it already exists!
(how-to-reproduce: open/close dock with tabs)

Signed-off-by: Roman <ixrock@gmail.com>
2021-09-30 15:06:18 +03:00
Roman
0adc66d412 fix: backup current view state on dock-tabs change
Signed-off-by: Roman <ixrock@gmail.com>
2021-09-30 14:56:57 +03:00
Roman
0c0b823626 more fixes & optimizations
Signed-off-by: Roman <ixrock@gmail.com>
2021-09-30 14:49:39 +03:00
Roman
a6424106dd remove redundant webpack.config.entry files for monaco-editor (possibly handled by "monaco-editor-webpack-plugin")
Signed-off-by: Roman <ixrock@gmail.com>
2021-09-30 12:46:11 +03:00
Roman
494287132a fix tests
Signed-off-by: Roman <ixrock@gmail.com>
2021-09-29 18:31:09 +03:00
Roman
92766e71e4 monaco editor implemented right
Signed-off-by: Roman <ixrock@gmail.com>
2021-09-29 14:08:27 +03:00
Juho Heikka
b41f923931
Merge pull request #3866 from lensapp/issue-3383-menu-position-bug
Fix menu rendering on when slightly off screen
2021-09-29 09:36:25 +03:00
Alex Andreev
6b123dc4c0
Redirect from /catalog to last catalog page (#3807)
* Redirect from /catalog to last catalog page

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

* Cleaning up

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

* Cleaning up more

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

* Splitting url params to pass in catalogURL()

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-09-29 09:04:54 +03:00
Jim Ehrismann
8bca8dd7dc
updated expired community slack invite link with permanent one (#3906)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-09-28 12:50:34 -04:00
Jari Kolehmainen
642c6f0d72
Detect log follow requests (#3890)
* detect log follow requests

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

* fix

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

* refactor to use getBoolean

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

* refactor to use getBoolean

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

* refactor to use getBoolean

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-27 19:45:37 +03:00
dependabot[bot]
2c3d89556c
Bump ansi-regex from 5.0.0 to 5.0.1 in /extensions/node-menu (#3899)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 10:17:31 -04:00
Juho Heikka
b70ec5ddbd Remove shouldComponentUpdate, put style to state
instead of straight to DOM so they will be in sync

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-09-27 17:03:27 +03:00
dependabot[bot]
47f6363f62
Bump ansi-regex from 5.0.0 to 5.0.1 in /extensions/pod-menu (#3901)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 09:46:13 -04:00
dependabot[bot]
eef22393bd
Bump ansi-regex from 5.0.0 to 5.0.1 in /extensions/metrics-cluster-feature (#3900)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 09:45:54 -04:00
Juho Heikka
2e1b3ea70c Merge branch 'master' into issue-3383-menu-position-bug 2021-09-27 13:35:39 +03:00
Jari Kolehmainen
ab5eb356c4
Electron 13.4.0 (#3820)
* electron 13.4.0

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

* electron 13.4.0

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

* refactor deprecated window event handler

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-27 11:32:37 +03:00
Jim Ehrismann
1bc4f64212
added details for making a patch release (#3885)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-09-27 07:27:42 +03:00
Sebastian Malton
17e97f16c9
Fix title of service account dialog (#3883) 2021-09-23 22:27:03 -04:00
Sebastian Malton
3c77c06519
Add ability to search and activate entities via the command dialog (#3692) 2021-09-23 13:18:31 -04:00
Jari Kolehmainen
3c55cba40d
use ubuntu 18.04 for builds (#3877)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-23 15:14:24 +03:00
Jari Kolehmainen
06854b4cac
Disable log file writing on renderer (#3874)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-23 12:36:53 +03:00
Jari Kolehmainen
02c90c760d
fix missing query parameter (#3875)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-23 12:23:00 +03:00
Sebastian Malton
3fc5b83461
Add error message for no contexts in add cluster page (#3868) 2021-09-22 10:25:48 -04:00
dependabot[bot]
49e8b9cc0a
Bump npm from 6.14.13 to 6.14.15 (#3838)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 09:43:49 -04:00
dependabot[bot]
3a989bbb36
Bump tmpl from 1.0.4 to 1.0.5 (#3860)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 09:43:33 -04:00
dependabot[bot]
39e2fce473
Bump tmpl from 1.0.4 to 1.0.5 in /extensions/node-menu (#3864)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 09:43:27 -04:00
dependabot[bot]
e2a85031b6
Bump tmpl from 1.0.4 to 1.0.5 in /extensions/metrics-cluster-feature (#3863)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 09:43:20 -04:00
Roman
963d801cf7
[UX]: navigation to cluster overview from sidebar's top icon (#3867)
* UX: navigate to "/cluster" overview page from sidebar's top icon
* highlight hotbar-icon border on click
2021-09-22 16:42:16 +03:00
dependabot[bot]
e2a9d5213e
Bump tmpl from 1.0.4 to 1.0.5 in /extensions/pod-menu (#3862)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 08:50:38 -04:00