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

18 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
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
5038267bbc refactoring dock-tab stores -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-04 19:42:08 +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
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
92766e71e4 monaco editor implemented right
Signed-off-by: Roman <ixrock@gmail.com>
2021-09-29 14:08:27 +03:00