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
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
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
e1a6d4c4a9
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
2022-01-10 17:13:20 +02:00
Janne Savolainen and Mikko Aspiala
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
48948c7286
Fix endless re-rending of logs
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-01-10 16:54:03 +02:00
Sebastian Malton
4f75acf2b4
Ban circular dependencies ( #3547 )
2022-01-05 11:35:44 -05:00
Janne Savolainen
4224937260
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-01-05 15:04:43 +02:00
Janne Savolainen and Mikko Aspiala
9d33fff906
Cascade different refactorings to eliminate global shared state from app paths
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-01-05 13:26:49 +02:00
Sebastian Malton
2a31c5a0d5
Removing JS adding #terminal-init so that unit tests don't have global state ( #4627 )
2022-01-04 10:20:41 -05:00
Roman
2d279a6b99
using both sass + modules + tailwind (optional) ( #4604 )
...
using sass + css-modules + tailwind for styling, part of #3701
2021-12-23 12:29:36 +02:00
Janne Savolainen
c0a0127d2d
Merge pull request #4557 from lensapp/remove-weird-whitespace
...
Remove all 'NonBreakingSpace' characters from the repo
2021-12-16 08:38:55 +02:00
Sebastian Malton
a454b29971
Fix crash with InstallChart
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-14 09:15:15 -05:00
Sebastian Malton
c0e0408c9b
Remove all 'NonBreakingSpace' characters from the repo
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-10 13:06:33 -05:00
Sebastian Malton
7dfd4d586c
Fix error notifications not being displayed for CreateResource tab ( #4502 )
2021-12-03 12:49:42 -05:00
Roman
448fdd1ef2
Mobx package upgrade ( #4357 )
2021-11-25 12:02:59 -05:00
Roman
4f33dfdfd5
Allow to navigate to created resource details from notification ( #4422 )
...
navigate to created resource details from notification
2021-11-25 18:04:41 +02:00
Sebastian Malton and Jari Kolehmainen
0f2801552f
Fix handling of PTYs when renderer is reloaded ( #4346 )
...
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-17 13:48:46 -05:00
Sebastian Malton
53dd538350
Fix edit-resource by correctly saving first draft ( #4342 )
2021-11-15 16:32:46 -05:00
Roman
4c83f5becf
Replacing global themed sass-vars to css-vars ( #4322 )
...
* generating css-vars
* convert all global / theme sass vars to css vars with available default theme colors
* added missing colors to dark lens theme
2021-11-15 17:37:23 +02:00
Sebastian Malton
c37a8aee0a
Correctly catch and notify user about NodeShell pod failures ( #4244 )
...
* Correctly catch and notify user about NodeShell pod failures
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix error throwing sometimes during Terminal.detach
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-09 22:52:46 -05:00
Roman
368e2d9a00
Monaco editor refactoring ( #4225 )
...
* monaco editor refactoring
Signed-off-by: Roman <ixrock@gmail.com >
* clean up / responding to comments
Signed-off-by: Roman <ixrock@gmail.com >
* move custom monaco themes to own folder
Signed-off-by: Roman <ixrock@gmail.com >
* fix lint
Signed-off-by: Roman <ixrock@gmail.com >
* removed unused rules from webpack's config (renderer)
Signed-off-by: Roman <ixrock@gmail.com >
2021-11-03 17:19:17 +02:00
Sebastian Malton
c6dce043a7
Lint: comma-spacing (error) & comma-dangle (error) ( #4200 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-02 17:38:20 -04:00
Sebastian Malton
41863e87ce
Lint: object-curly-spacing (error) ( #4198 )
2021-11-01 08:45:45 -04:00
Sebastian Malton
0759b80435
Lint: space-before-function-paren (error) ( #4199 )
2021-11-01 08:37:49 -04: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
Sebastian Malton
5abc1c618c
Add several more util functions and tests ( #4106 )
2021-10-26 09:36:34 -04:00
Sebastian Malton
5998b4ca84
Upgrade js-yaml to 4.X ( #3623 )
2021-10-18 10:03:10 -04: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
Sebastian Malton
913244b204
Catch metadata being undefined at KubeObject creation ( #3960 )
2021-10-07 10:09:21 -04:00
Sebastian Malton
4705a66632
Use JSON patch for editing components ( #3674 )
2021-10-04 16:28:19 -04:00
Juho Heikka
8bbaf8c59e
Add terminal copy on select ( #3904 )
2021-09-29 08:55:39 -04:00
Sebastian Malton
be1a2ebe59
Fix shell connection readiness heuristic ( #3795 )
2021-09-15 17:40:36 -04:00
pashevskii and Alex Andreev
e4c393244a
Replace Ace Editor with monaco ( #2949 )
...
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-08-12 13:00:52 +03:00
Jari Kolehmainen
58a446bd45
Refactor k8s api to common ( #3553 )
...
* refactor kube api to common
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor more utils to common
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor more utils to common
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* switch to use node-fetch on both sides
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* improve logger
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix lint errors
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix/improve tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix node-fetch require error on prod build
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* preload fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* read serverAddress from apiBase
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-10 13:26:14 +03:00
Sebastian Malton
ee158e33df
Move lookupApi into apiManager ( #3540 )
2021-08-04 11:36:13 -04:00
Sebastian Malton
64ac04186b
Improve Table typing and remove annotations on callbacks ( #2981 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-22 10:42:27 -04:00
Sebastian Malton
27f2bd7181
Wait for shell to bring up prompt before sending commands ( #3337 )
2021-07-20 15:25:18 -04:00
Sebastian Malton
c335b0f054
Only create TerminalStore after ThemeStore ( #3359 )
...
- Use Proxy for backwards compatability
- Fix a bunch of unit tests that needed all the Singleton's created
- Add comments on the order required for the store migrations
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-13 12:36:46 -04:00
ca1ad425ab
Badge: option to show short/full versions of contents ( #1397 )
...
* add button to expand and view whole badge contents
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* revert font changes due to update elsewhere already existing
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* make expanding icon smaller and not focusable
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* extended badge content by click, selecting text from label doesn't trigger auto-closing
Signed-off-by: Roman <ixrock@gmail.com >
* fix: hover only intercative badges (with extra content)
Signed-off-by: Roman <ixrock@gmail.com >
* added common document/selectionchange watcher
Signed-off-by: Roman <ixrock@gmail.com >
* lint fixes
Signed-off-by: Roman <ixrock@gmail.com >
* Convert Badge to CSS Modules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Align Badge styles across components
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Not closing badge if user started to select text
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-07-13 17:00:11 +03:00
Sebastian Malton
dfd9843809
Provide better typing for dock tabs ( #3340 )
2021-07-13 08:44:27 -04:00
Alex Andreev
f7ad554108
Fixing initial scroll-to-bottom in pod logs ( #3281 )
...
* Fixing scroll to bottom in pod logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing invalidDate error if no timestamp provided
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-07-07 09:35:40 +03:00
Sebastian Malton
51655884c7
Fix hotbar migration of workspaces ( #3178 )
2021-06-25 09:55:25 -04:00
Sebastian Malton
e49576ee8c
Fix <Icon>'s not using tooltip and fix toolbar not being boolean ( #3038 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-23 09:14:59 -04:00
Sebastian Malton
6d10f011e5
Explicitly initialize registries
...
- Helps moves towards turning on banning CyclicImports
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-10 09:34:13 -04:00
Sebastian Malton
5ee2ab5b4a
Move all RouteParam's and URL builders to src/common ( #2778 )
...
- Prevents some circular dependencies
- Allowed main to use them as needed
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-10 08:52:09 -04:00
Alex Andreev
d6e72ddc1c
Clean up empty pod log entries ( #3010 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-06-09 09:24:42 -04:00
Luca Kröger
512946a397
Allow to close tabs using middle-clicks ( #2995 )
...
Signed-off-by: Luca Kröger <l.kroeger01@gmail.com >
2021-06-09 09:23:48 -04:00
Sebastian Malton
60a19143b4
Revert 2844 ( #2980 )
...
* Revert "review comments"
This reverts commit 97f2ecd88d .
* Revert "Switch to I, remove type parameter default"
This reverts commit a3073cc99b .
* Revert "Improve Table typing and remove annotations on callbacks"
This reverts commit defb0ea0dd .
2021-06-07 12:02:15 -04:00