Panu Horsmalahti
4e02e086a9
Remove extension when folder is removed during runtime ( #1518 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-26 09:40:37 +02:00
Jari Kolehmainen
8739baab5b
Replace cluster warning event polling with watches ( #1521 )
...
* replace cluster warning event polling with watches
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix loadAll calls
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-26 09:39:16 +02:00
Sebastian Malton
1547142125
Add starting point for mobx related documentaion ( #1422 )
...
* add a brief overview to our use of mobx and mark all observable fields as observable in our docs
* add to navigation
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-25 14:05:58 -05:00
Mario Sarcher and Mario Sarcher
7a1812e34d
Documentation: remove feature navigation.instant as it conflicts with mkdocs versions ( #1526 )
...
Signed-off-by: Mario Sarcher <msarcher@mirantis.com >
Co-authored-by: Mario Sarcher <msarcher@mirantis.com >
2020-11-25 15:37:51 +00:00
Roman
7243dfdce4
Installing extensions UI improvements ( #1522 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-25 16:42:19 +02:00
Jim Ehrismann
73724b5a54
[BREAKING]: refine and document cluster feature api ( #1507 )
...
* refine and document cluster feature api
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* lint fix
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2020-11-25 16:40:25 +02:00
Alex Andreev
ab24325e69
Fix workspace flaky tests ( #1520 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-25 16:03:45 +02:00
Lauri Nevala
236852774a
Fix pod usage metrics on Kubernetes >=1.19 ( #1514 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-25 15:34:33 +02:00
Jari Kolehmainen and Alex Andreev
6a92372f50
Change add-cluster to single column layout ( #1515 )
...
* change add-cluster to single column layout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup styles
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* Fine-tuning layout/coloring styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-25 14:54:28 +02:00
vshakirova
5b484ca692
Add stateful set scale slider ( #1406 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-11-25 15:21:54 +03:00
Sebastian Malton
c93ee4ea6d
[BREAKING]: remove deprecated routePath before GA ( #1505 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-25 12:03:57 +02:00
Roman
4474d87ed2
Fix: Unhandled exception for <DropFileInput disabled={true}/> ( #1512 )
...
* fix: invalid handling disabled={false} causing app crash
Signed-off-by: Roman <ixrock@gmail.com >
* re-fix: put React.Children.only() validation inside try-catch to avoid crash as well
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-25 11:55:30 +02:00
Jari Kolehmainen and Roman
8753b2b17c
Tweak install extension ux ( #1510 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Roman <ixrock@gmail.com >
2020-11-25 11:53:40 +02:00
Roman
77ae31550a
Allow to install packed extensions from URL or local file ( #1456 )
...
* Option to install an extension from filesystem/url #1227 -- part 1 (UI)
Signed-off-by: Roman <ixrock@gmail.com >
* DropFileInput: common component to handle droped files (replaced also in add-cluster-page)
Signed-off-by: Roman <ixrock@gmail.com >
* fix: install via url-string on input.submit
Signed-off-by: Roman <ixrock@gmail.com >
* ui tweaks & minor fixes
Signed-off-by: Roman <ixrock@gmail.com >
* more ui/ux tweaks & fixes
Signed-off-by: Roman <ixrock@gmail.com >
* layout fixes
Signed-off-by: Roman <ixrock@gmail.com >
* component renaming: `copy-to-click` => `copy-to-clipboard` => `clipboard`
Signed-off-by: Roman <ixrock@gmail.com >
* reworks -- part 1
Signed-off-by: Roman <ixrock@gmail.com >
* fix downloading file, added common/utils/downloadFile
Signed-off-by: Roman <ixrock@gmail.com >
* confirm before install, unpack tar first steps
Signed-off-by: Roman <ixrock@gmail.com >
* installation flow, extracting .tgz
Signed-off-by: Roman <ixrock@gmail.com >
* clean up, fix lint issues
Signed-off-by: Roman <ixrock@gmail.com >
* update .azure-pipelines.yml
Signed-off-by: Roman <ixrock@gmail.com >
* fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com >
* fix lint harder :/
Signed-off-by: Roman <ixrock@gmail.com >
* fix validation
Signed-off-by: Roman <ixrock@gmail.com >
* fix validation harder
Signed-off-by: Roman <ixrock@gmail.com >
* responding to comments, fixed package validation
Signed-off-by: Roman <ixrock@gmail.com >
* common/utils/tar.ts: reject with Error-type
Signed-off-by: Roman <ixrock@gmail.com >
* fix: unit-tests
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-25 09:55:28 +02:00
Alex Andreev
2da598b66e
Set scrollbar colors as global styles ( #1484 )
...
* Setting global webkit-scrollbar styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing usage of custom-scrollbar mixin
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set overflow:auto on .Table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing .drawer-content paddings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-25 10:25:37 +03:00
Lauri Nevala
29ea0c8404
Resolve extension enabled status when loading it ( #1485 )
...
* Resolve extension enabled status when loading it
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Check if extension is enabled in store unless it is bundled
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Return false by default for isEnabled
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Refactor isEnabled assignment
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-25 09:09:26 +02:00
Sebastian Malton
ca49fb98d9
remove @observable.shallow from Lens(M|R)Extension ( #1504 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-24 12:41:57 -05:00
Sebastian Malton
4e6b8ee10e
Add designated folder for extensions ( #1245 )
...
* add store for mapping extension names to filesystem paths
- add extension mechinism for getting a folder to save files to
- add test to make sure that extensions are being loaded
- skip extension loading test
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-24 10:28:08 -05:00
chh
b94e523ad5
Add documentation on how to use Lens Extension Generator ( #1411 )
...
* Add generator docs
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com >
* 'Welcome' > 'You are welcome to ...'
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com >
* Add missing backslash
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com >
* Move Generator section to Extension Guides
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com >
2020-11-24 16:38:43 +02:00
Miska Kaipiainen
877c827e35
Fix Documentation: Support ( #1501 )
...
Signed-off-by: Miska Kaipiainen <miska.kaipiainen@gmail.com >
2020-11-24 16:17:13 +02:00
Jari Kolehmainen
1be86b34f4
Add LensRendererExtension.isEnabledForCluster ( #1502 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-24 16:15:14 +02:00
Lauri Nevala
cb14d77a56
Track more events from adding a cluster ( #1481 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-24 14:01:51 +02:00
Panu Horsmalahti
ff93760dc4
Enable object-shorthand rule ( #1500 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-24 13:16:35 +02:00
Panu Horsmalahti
2a8cfe5e67
Add React Developers Tools ( #1410 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-24 12:45:12 +02:00
Jari Kolehmainen
37b80a9354
Update EULA url ( #1498 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-24 12:19:03 +02:00
Panu Horsmalahti
c79cee0311
Watch for added/removed local extensions ( #1482 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-24 10:48:40 +02:00
Jari Kolehmainen
3922609204
Fix azure pipeline yarn cache ( #1491 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-24 09:54:19 +02:00
Jim Ehrismann
cd4660b85b
Doc/renderer extension guide ( #1476 )
...
* lens renderer extension guide
* renderer extension guide (pages and page menus)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2020-11-23 17:06:19 -05:00
Sebastian Malton
daade3b899
add extensions to lint & lint:fix ( #1490 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-23 12:55:00 -05:00
Sebastian Malton
5005d34c2e
change BaseRegistry to only have one type parameter ( #1474 )
...
* change BaseRegistry to only have one type parameter
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-23 12:54:39 -05:00
Lauri Nevala
0a5e7a048d
Report enabled extensions ( #1451 )
...
* Report enabled extensions
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Add missing semicolons
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Refactoring
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Add missing semicolon
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-23 13:47:14 +02:00
Lauri Nevala
19150fca84
Catch errors return error response when fetching chart or chart values fails ( #1478 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-23 13:45:07 +02:00
Jari Kolehmainen
2f17a7ec67
Replace support-page extension with a link to the documentation support page ( #1469 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-23 13:01:40 +02:00
Lee Namba
0c42274c85
Add support page to docs ( #1473 )
...
Signed-off-by: leenamba <lee.namba@gmail.com >
2020-11-23 12:37:09 +02:00
Jari Kolehmainen
4b4baf2d4b
Add contributing/development pages ( #1480 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-23 11:37:30 +02:00
Lauri Nevala
6a0dd4edfb
Replace deprecated stable helm repository with bitnami ( #1479 )
...
* Replace deprecated stable repo with bitnami
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-23 09:07:37 +02:00
8c73861962
Open last active cluster after switching workspaces ( #1444 )
...
* Save and restore lastActiveClusterId
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Activate clusters from workspaces page
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix saving last cluster while jumping from tray
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding workspace switch tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove console.log()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean duplicated ClusterId definition
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving lastActiveClusterId field into WorkspaceModel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* fix extensionLoader error on dev environments where renderer might start early (#1447 )
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* Add Search by Ip to Pod View (#1445 )
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
* Make BaseStore abstract (#1431 )
* make BaseStore abstract so that implementers are forced to decide how to store data
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Enforce semicolons in eslint
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add a few missing folders to be linted.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Use @typescript-eslint/semi.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Allow extension cluster menus to have a parent (#1452 )
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix SwitchCase indent rule in eslint (#1454 )
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Revert "fix SwitchCase indent rule in eslint (#1454 )"
This reverts commit 082774fe6e .
* Revert "Allow extension cluster menus to have a parent (#1452 )"
This reverts commit 622c45cd6d .
* Revert "Use @typescript-eslint/semi."
This reverts commit 890fa5dd9e .
* Revert "Add a few missing folders to be linted."
This reverts commit c7b24c2922 .
* Revert "Enforce semicolons in eslint"
This reverts commit ca67caea60 .
* Revert "Make BaseStore abstract (#1431 )"
This reverts commit 4b56ab7c61 .
* Revert "Add Search by Ip to Pod View (#1445 )"
This reverts commit 4079214dc1 .
* Revert "fix extensionLoader error on dev environments where renderer might start early (#1447 )"
This reverts commit 8a3613ac6f .
* Split workspace tests to smaller ones
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Missing semicolons
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Split workspace tests a bit more
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding extra click in Add Cluster button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding more awaits to check running cluster
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Wait for minikube before running tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: pashevskii <53330707+pashevskii@users.noreply.github.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-20 14:53:28 +03:00
Jari Kolehmainen
5fd1abe99d
Release v4.0.0-beta.4 ( #1462 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-20 13:01:12 +02:00
Panu Horsmalahti
22ff706f4c
Support networking.k8s.io/v1 for Ingress ( #1439 )
...
* Support networking.k8s.io/v1 for Ingress
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add helper method to Ingress
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix lint errors.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-20 11:59:11 +02:00
Alex Andreev
57a879c2e8
Making text selection bg color transparent a bit ( #1463 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-20 12:55:16 +03:00
Jari Kolehmainen
6e73c8ffc2
Fix extension cluster menu highlight/routing issues ( #1459 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-20 09:29:38 +02:00
Sebastian Malton
43976f5bd9
fix SwitchCase indent rule in eslint ( #1454 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-19 15:15:49 -05:00
Jari Kolehmainen
d7cba7d4d6
Allow extension cluster menus to have a parent ( #1452 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-19 21:39:53 +02:00
Panu Horsmalahti
c94c599cdd
Merge pull request #1450 from lensapp/feature/enforce-semicolons
...
Enforce semicolons in eslint
2020-11-19 18:52:14 +02:00
Panu Horsmalahti
460dfe4d2b
Use @typescript-eslint/semi.
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 18:12:52 +02:00
Panu Horsmalahti
0b182ccf6f
Add a few missing folders to be linted.
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 17:05:30 +02:00
Panu Horsmalahti
1477bb8274
Enforce semicolons in eslint
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 16:35:04 +02:00
Sebastian Malton
0f3f5611ba
Make BaseStore abstract ( #1431 )
...
* make BaseStore abstract so that implementers are forced to decide how to store data
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-19 09:24:41 -05:00
pashevskii
b64694acda
Add Search by Ip to Pod View ( #1445 )
...
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
2020-11-19 09:24:06 -05:00
Jari Kolehmainen
d60eee20cc
fix extensionLoader error on dev environments where renderer might start early ( #1447 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-19 16:11:58 +02:00