Alex Andreev
5d746cdff5
Dock tabs context menu ( #1863 )
...
* Adding context menu to dock tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Allowing to open menu by contextmenu event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding DockTab tests with fine-tuning jest config
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding disable state to menu items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing empty lines
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving jest-canvas-mock to dev dependencies
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-28 15:18:03 +03:00
pashevskii
a325ffd610
Clear Add Namespace and Add secret form data on close ( #1771 )
...
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
2020-12-28 12:20:33 +03:00
00c2c2c3c9
Catch HTTP Errors in case pod metrics resources do not exist or access is forbidden ( #1755 )
...
Signed-off-by: Mario Sarcher <msarcher@mirantis.com >
Add proper error message when catching a error during loadKubeMetrics()
Co-authored-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Mario Sarcher <msarcher@mirantis.com >
Co-authored-by: Mario Sarcher <msarcher@mirantis.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2020-12-28 11:06:16 +02:00
Lauri Nevala
ffa48b32d1
Check is persistent volume claims resource to allowed for user ( #1850 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-12-28 08:08:11 +02:00
Alex Andreev
eb5a775a2d
Preserving line breaks when copiyng logs ( #1851 )
...
* Adding line break after log each log line
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding comment for line break
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-23 15:20:57 +03:00
Jari Kolehmainen
bfa4970389
Workloads overview: don't block on store load ( #1829 )
...
* workloads overview: don't block on store load
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* subscribe after loadAll
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-23 13:12:05 +02:00
Alex Andreev
507c485113
Fixing logs scrolling state ( #1847 )
...
* Passing raw logs to PodLogs child components
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Avoid autoscrolling while user is scrolling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing status panel from log controls
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-23 11:51:43 +03:00
Roman
be4e1aa15c
Navigation refactoring, handling extension page params ( #1651 )
...
* decentralizing page url-params management -- PoC / tsc 4.1 random fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fixes, tweak example-extension for demo
Signed-off-by: Roman <ixrock@gmail.com >
* lint fixes, revert tests
Signed-off-by: Roman <ixrock@gmail.com >
* removed occasional changes related to typescript 4.1
Signed-off-by: Roman <ixrock@gmail.com >
* updated example with 2 menu-items targeting same page with different params
Signed-off-by: Roman <ixrock@gmail.com >
* fix: merge page url chunks with native URL()-api, simplified default page-params registration
Signed-off-by: Roman <ixrock@gmail.com >
* fix: make lint happy
Signed-off-by: Roman <ixrock@gmail.com >
* fix: unit-tests
Signed-off-by: Roman <ixrock@gmail.com >
* renaming by jim's request: UrlParam => PageParam (type), createUrlParam => createPageParam (helper)
Signed-off-by: Roman <ixrock@gmail.com >
* fix: reverting NamespaceStore public-api breaking changes
Signed-off-by: Roman <ixrock@gmail.com >
* lint fix
Signed-off-by: Roman <ixrock@gmail.com >
* fine-tuning
Signed-off-by: Roman <ixrock@gmail.com >
* yes, lint always unhappy
Signed-off-by: Roman <ixrock@gmail.com >
* fix build
Signed-off-by: Roman <ixrock@gmail.com >
* small fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fix merge-conflicts
Signed-off-by: Roman <ixrock@gmail.com >
* removed `isSystem` page-param's init field exposed to extensions-api
Signed-off-by: Roman <ixrock@gmail.com >
2020-12-22 15:29:25 +02:00
Lauri Nevala and Alex Andreev
11c611dabe
Display node column in pods list ( #1832 )
...
* Display node column in pods list
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Adding flat option to <Badge />
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing <Span /> component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using badge with tooltips in pods list
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-22 15:45:30 +03:00
Jari Kolehmainen
270fadf6fe
Fix namespace store subscribe ( #1826 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-22 07:43:34 +02:00
Lauri Nevala
e8f36e97a3
Parse jsonPath expressions ( #1793 )
...
* Fix jsonPath calls by removing \ characters and using $..[] notation
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Parse jsonPath properly
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Cleanup
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* More cleanup
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Improve parsing
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Finetuning
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Stringify children only if value is object or array
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Test other escaped characters do not cause issues
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-12-21 22:16:57 +02:00
Jari Kolehmainen
c8a93414b2
Render node list before metrics are available ( #1827 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-21 22:15:08 +02:00
Alex Andreev
42817a6d97
Fix: expand/collapse state for CRD sidebar items ( #1751 )
...
* Moving SidebarNavItem component to its own file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using id prop to preserve expanding state
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-18 15:42:10 +02:00
nyako
733fc8a658
fix "not valid as a React child" error while display crds with column which type is object ( #1772 )
...
Signed-off-by: liuhongyu <lhy990409@gmail.com >
2020-12-17 08:24:57 -05:00
Violetta
abd4223675
Add information about the startupProbe ( #1538 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-13 19:08:26 +02:00
Jari Kolehmainen
3b65019dcb
Use correct apiversion for HPA details ( #1745 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-11 13:13:40 +02:00
Jari Kolehmainen
ff9e96d880
Fix buggy node metrics/chart ( #1748 )
...
* fix buggy node metrics/chart
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix linter error
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-11 11:21:35 +02:00
Alex Andreev
b33629d24f
Replace cronjob api version to batch/v1beta1 ( #1747 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-11 11:21:43 +03:00
Alex Andreev
a61e20965d
ClusterOverview page refactorings ( #1696 )
...
* ClusterOverview page refactorings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Minor test fix for MainLayoutHeader
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replacing class name in tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unnecessary parenthesis
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-11 07:36:47 +02:00
Violetta
961a38d52f
Fix Deployment Scale Button "minus" ( #1728 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-10 21:18:30 +02:00
Violetta
d143b234b7
Full support for ReplicaSets ( #1704 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-10 15:23:51 +03:00
Alex Andreev
0facd34738
Fixing logs autoscroll behavior ( #1720 )
...
* Fixing autoscroll behavior
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Making statement simpler to read
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-09 21:03:16 +03:00
Panu Horsmalahti
ec0a90343e
Remove broken symlink from node_modules on uninstall ( #1695 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-08 21:04:01 +02:00
pashevskii
b7e5fb78d9
Add posibility to add custom repository ( #1368 )
...
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
2020-12-08 15:54:49 +03:00
Jari Kolehmainen
8a4be72740
Register cluster page component properly to a route ( #1688 )
...
* remove observer from app class
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* proper fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-08 13:21:18 +02:00
Alex Andreev
665ed94128
Adding cluster settings icon into dashboard ( #1672 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-08 10:31:58 +03:00
Panu Horsmalahti
ea98d68e08
Visualize extension loading ( #1635 )
...
* Visualize extension loading
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-04 16:51:28 +02:00
Sebastian Malton
b342ea0bd6
store more than largest kube api request amount in the event store ( #1605 )
...
* store more than largest kube api request amount in the event store
* not abstract, give default
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-12-04 09:48:56 -05:00
Sebastian Malton
cb954e6575
persist extension installation state for the duration of the window's life ( #1602 )
...
* persist extension installation state for the duration of the window's life
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-12-04 09:25:37 -05:00
Alex Andreev
afc4ca0ee1
Fixing itemId in SidebarNavItem ( #1638 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-04 10:25:11 +03:00
Lauri Nevala
f95c2d1c91
Add timeout to app start and cluster add events ( #1631 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-12-03 20:01:06 +02:00
Sebastian Malton
4e8fb65a2e
fix URL validator, add some tests ( #1627 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-12-03 08:49:51 -05:00
Lauri Nevala
3aa66eac05
Open file select dialog from onClick event ( #1637 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-12-03 15:48:01 +02:00
Jari Kolehmainen
29f2497d48
Respect static list of allowed namespaces ( #1639 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-03 15:22:47 +02:00
Alex Andreev
6630419457
Fine-tuning extensions page view ( #1613 )
...
* Replacing pro-tip text
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Coloring extension name
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Eslint fixes in webpack files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-03 08:08:50 +02:00
Sebastian Malton
bcb6f7469b
actually use ResourceQuotaDetails ( #1621 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-12-02 10:27:27 -05:00
Violetta
c22d569fe2
Add Ready status column in the Deployment view ( #1586 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-02 13:55:54 +03:00
chh
f6a88b386f
Add <BottomBar /> support rendering if item is a function ( #1606 )
...
* Support rendering if item is a function
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com >
2020-12-02 17:49:12 +08:00
Panu Horsmalahti
4d754f6f26
Disable extension install button immediately ( #1591 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-02 11:45:02 +02:00
Panu Horsmalahti
7798dce61d
Enable installed extensions by default ( #1572 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-02 11:37:23 +02:00
Panu Horsmalahti
dcf253e7d5
Add eslint rule padding-line-between-statements ( #1593 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-02 09:55:52 +02:00
Lauri Nevala
7b77f18376
Fix extensions installation on Windows ( #1596 )
...
* Fix extensions installation on Windows
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Get rid of readFileSync
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Add missing semicolon
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-12-02 09:08:44 +02:00
Sebastian Malton
99c3a00721
fix symlinking extensions into .k8slens/extensions folder ( #1579 )
...
* fix symlinking extensions into .k8slens/extensions folder
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-12-01 09:53:44 -05:00
Jari Kolehmainen
4161ee832c
Hide disabled workspaces/clusters ( #1573 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-01 15:27:54 +02:00
Jari Kolehmainen
2de1acde10
Tweak extensions page texts ( #1550 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-01 11:20:59 +02:00
Jari Kolehmainen
0d501ca3b2
Fix extension status-bar item default styles ( #1578 )
...
* fix extension status-bar item default styles
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak padding
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-01 08:21:05 +02:00
Alex Andreev
30fa68ba1f
Fix: moving lens views behind extension views ( #1565 )
...
* Moving lens-views behind extension views
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting z-index for all child elements of <main/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-30 16:07:13 +02:00
Panu Horsmalahti
335778aeef
Enforce template strings in eslint ( #1574 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-30 15:35:16 +02:00
Sebastian Malton
28abd66857
lint the repo as a github action ( #1541 )
...
* lint the repo as a github action
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-27 10:41:51 -05:00
Panu Horsmalahti
b3fd2232b5
Disable Install button while installing. Fix install notification. ( #1551 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-27 16:05:28 +02:00