Hung-Han (Henry) Chen
a877e109ba
Test if onRun get trigger, and use inlineSnapshot
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 17:05:02 +03:00
Hung-Han (Henry) Chen
a9e6d8b7a0
Add missing ;
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 16:05:12 +03:00
Hung-Han (Henry) Chen
cfdb4c93c1
Add onRunHook extension api
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 16:04:37 +03:00
Hung-Han (Henry) Chen
0f63ccbb82
Disable safeDescriptors for mobx in test because we need to use jest.spyOn
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 15:18:10 +03:00
Hung-Han (Henry) Chen
21272f790e
Fix TypeError: category.metadata.icon.includes is not a function
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 15:17:32 +03:00
Hung-Han (Henry) Chen
daed2aa64b
Fix react error in <Icon /> 'Objects are not valid as a React child (found: object with keys {}).'
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 15:15:32 +03:00
Hung-Han (Henry) Chen
6a0e4d3e60
Fix typos
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 13:43:50 +03:00
Hung-Han (Henry) Chen
8b7080e975
Remove unused
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 09:10:50 +03:00
Hung-Han (Henry) Chen
265b648669
Remove triggerOnRunAfterOnClickDetailIcon
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 09:09:57 +03:00
Hung-Han (Henry) Chen
ddbee471b2
Remove unused
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 09:07:20 +03:00
Hung-Han (Henry) Chen
2484b893d0
Remove unused
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 09:05:03 +03:00
Hung-Han (Henry) Chen
b18ab31e8a
Remove unused
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 08:55:00 +03:00
Hung-Han (Henry) Chen
9ed5b9861a
Remove onClickDetailIcon
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 08:53:57 +03:00
Hung-Han (Henry) Chen
74ba7ed782
Fix indents
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 08:50:40 +03:00
Hung-Han (Henry) Chen
7cb12190fe
Fix indents
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 08:50:40 +03:00
Hung-Han (Henry) Chen
184612e5a6
Fix typo
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 08:50:40 +03:00
Hung-Han (Henry) Chen
4ebbccba7a
Fix test description
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 08:50:40 +03:00
Hung-Han (Henry) Chen
22787a1376
Move to .spec
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 08:50:39 +03:00
Hung-Han (Henry) Chen
aed5760ba0
Add triggerOnRunAfterOnClickDetailIcon
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 08:50:39 +03:00
Hung-Han (Henry) Chen
b9c485d0af
Add 'onClickDetailIcon' event when user clicks the icon detail panel
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-10-04 08:50:39 +03:00
dependabot[bot]
548a517e64
Bump url-parse from 1.5.1 to 1.5.3 ( #3813 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-01 17:07:55 -04:00
Sebastian Malton
cfd89fa7ba
Pin @k8slens/extensions dependencies instead of wildcarding them ( #3930 )
2021-10-01 15:46:25 -04:00
Jari Kolehmainen
5b562836a4
fix watch leak on window unload ( #3858 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-10-01 10:29:43 -04:00
Sebastian Malton
b692bc3603
Make default catalog action to open entity ( #3915 )
2021-09-30 09:46:33 -04:00
Juho Heikka
8bbaf8c59e
Add terminal copy on select ( #3904 )
2021-09-29 08:55:39 -04: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
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
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
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
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
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
Juho Heikka
eb789a0ab1
Fix menu rendering on when slightly off screen
...
Menu would bounce around in some cases because the
refreshPosition() would calculate different results
based on different state of the component and previous
render cycle CSS classes.
Also I found that the render function calls causes
in an infinite loop while open because of refreshPosition
will cause a state change which will rerender the function.
Fixed that with the shouldComponentUpdate which checks
if state has actually changed in between renders.
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-09-22 09:42:51 +03:00
Alex Andreev
070fc1bb44
Fix long name layout in Cluster Settings ( #3854 )
...
* Fix long name layout in Cluster Settings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-09-22 07:42:05 +03:00
Panu Horsmalahti
429418a1e2
Emit contextMenuOpen for WebLink CatalogEntity ( #3842 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-09-20 10:09:51 -04:00
Sebastian Malton
dfa0a35695
Fix error due to async validators for <Input> ( #3823 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-20 09:54:12 -04:00
Jari Kolehmainen
d448017f33
Fix node-fetch load on renderer ( #3836 )
...
* fix node-fetch load on renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-20 15:15:26 +03:00
Sebastian Malton
e251194cb5
Fix reference error when opening cluster view ( #3824 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-20 13:01:05 +03:00
Lauri Nevala
53ce818589
Revert "Fix check for user exec command ( #3664 )" ( #3827 )
...
This reverts commit 056b818ceb .
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-09-17 11:13:04 +03:00
Sebastian Malton
be1a2ebe59
Fix shell connection readiness heuristic ( #3795 )
2021-09-15 17:40:36 -04:00
Sebastian Malton
056b818ceb
Fix check for user exec command ( #3664 )
2021-09-15 13:09:57 -04:00
Sebastian Malton
068c78d48d
Draggable region on macOS should be the same as the main header ( #3800 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-15 12:28:06 -04:00
Sebastian Malton
b43086a386
Don't change permissions when deleting a cluster ( #3798 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-15 12:27:48 -04:00
Sebastian Malton
f68cbabbc9
Fix cluster's accessibleNamespaces being reset on restarting Lens ( #3817 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-15 12:19:15 -04:00