Alex Andreev
79234dcbf9
Fix jest window.matchMedia() error warnings ( #2037 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-29 08:18:25 +02:00
Alex Andreev
3640f313b3
Enabling configurable columns for all major tables ( #2029 )
...
* Configurable columns in Deployments table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in DaemonSets table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in StatefulSets table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in ReplicaSets table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Jobs table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in CronJobs table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Nodes table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in ConfigMaps table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Secrets table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in ResourceQuota table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in LimitRanges table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in HPAs table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in PodDistributionBudget table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Services table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Endpoints table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Ingresses table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in NetworkPolicies table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Storage section
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Namespaces table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Events table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Apps section
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in Access Control section
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Configurable columns in CRDs tables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-28 12:18:45 +03:00
Jari Kolehmainen
e3db77f7ab
Better extensionRoutes.keys() iteration ( #2031 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-01-27 20:05:12 +02:00
Alex Andreev
a157eb03e6
Generic logs view with Pod selector ( #1984 )
...
* Adding LogTabStore
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding Pod selector in logs tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refresh containers on pod change
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding <LogResourceSelector /> tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding LogTabStore tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clearn getPodsByOwnerId method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Extracting dummy pods into mock file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Eliminating containers and initContainers from store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refreshing tab pods if pod amount is changed in store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* A bit of cleaning up, fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix lint newline errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Return getPodsByOwner() method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename log tab when pod changes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-27 17:20:02 +03:00
Jari Kolehmainen
724c6c3265
Fix extension cluster submenu re-render ( #1996 ) ( #2027 )
...
* fix extension cluster pages re-render when they are registered as a sub-menu item
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-01-27 16:15:13 +02:00
Alex Andreev
9191d6bfd9
Always shows .menu table column ( #2024 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-26 16:30:26 +03:00
Alex
9da349ce42
Display CPU usage percentage with 2 decimal points ( #2000 )
...
Signed-off-by: Alex Culliere <alozhkin@mirantis.com >
2021-01-22 16:51:42 +02:00
Roman
f8c111ddd8
Load k8s resources only for selected namespaces ( #1918 )
...
* loading k8s resources into stores per selected namespaces -- part 1
Signed-off-by: Roman <ixrock@gmail.com >
* loading k8s resources into stores per selected namespaces -- part 2
- fix: generating helm chart id
Signed-off-by: Roman <ixrock@gmail.com >
* loading k8s resources into stores per selected namespaces -- part 3
Signed-off-by: Roman <ixrock@gmail.com >
* fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fixes / responding to comments
Signed-off-by: Roman <ixrock@gmail.com >
* chore / small fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com >
* make lint happy
Signed-off-by: Roman <ixrock@gmail.com >
* reset store on loading error
Signed-off-by: Roman <ixrock@gmail.com >
* added new cluster method: cluster.isAllowedResource
Signed-off-by: Roman <ixrock@gmail.com >
* fix: loading namespaces optimizations
Signed-off-by: Roman <ixrock@gmail.com >
* fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-22 13:18:46 +02:00
Alex Andreev
a92ed46f0d
Fixing tolerations list layout ( #2002 )
...
* Expanding tolerations div width
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tolerations table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing tolerations table styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding <PodTolerations/> tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add new line at the end of the file for linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-22 10:27:54 +03:00
Sebastian Malton
2e2283bcc9
enfore unix line endings and always ending files with line endings ( #1997 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-01-21 08:09:41 -05:00
Alex Andreev
64be4ee948
Fixing log tab layout colors ( #1995 )
...
* Making "since" date visible as bolded text
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing colors in log tab elements
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-21 10:38:49 +03:00
Alex
55759fb3b8
Add age column to cluster overview ( #1970 )
...
Signed-off-by: Alex Culliere <alozhkin@mirantis.com >
2021-01-20 14:31:20 +02:00
Alex Andreev
83ed44f670
Adding logs tab bottom toolbar ( #1951 )
...
* Adding bottom toolbar to logs tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Making bottom toolbar responsive
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using generic search input clear button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing log test selectors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-15 11:34:11 +03:00
Violetta
c48816ca5c
Add support for LimitRange ( #1796 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2021-01-14 11:49:39 +03:00
pashevskii
12c538b0eb
Column filters ( #1532 )
...
* Column filters
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
* Add showWithColumn property
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
2021-01-13 10:38:20 +03:00
Alex Andreev
b1ab31831f
Fixing multiline logs wrapping ( #1938 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-12 09:50:35 +03:00
Roman
b547541ea8
fix: events pages renders incorrect tooltip as non-parsed template ( #1919 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-08 17:01:23 +02:00
Sebastian Malton
3fc552a466
remove array desctructor of Object.values, which is brittle ( #1854 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-01-08 09:41:30 -05:00
Jari Kolehmainen
02bc210f56
Catch xtermjs fit error ( #1907 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-01-07 13:06:23 +02:00
MIchael Bowen
2543e4aec7
Fix encoding typo in ClusterAccessibleNamespaces component title ( #1901 )
...
Signed-off-by: mbowen <mbowen@blackrock.com >
2021-01-07 09:00:32 +02:00
Jari Kolehmainen
8823b1913f
Reset stores before loading them ( #1897 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-01-07 07:25:00 +02:00
Jari Kolehmainen
06d41acc26
Fix Electron 9.4 frame ipc bug ( #1888 )
...
* use pid+frameId
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* use correct process id
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-01-04 14:16:35 +02:00
Sebastian Malton
981ca3ba3d
add version display to extensions ( #1604 )
...
* add version display to extensions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* use new format
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix styling
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-12-30 10:47:22 +03:00
Alex Andreev
e9296286bd
Fix long list cropping in sidebar ( #1877 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-30 09:14:01 +02:00
Violetta
fd63f2f4e3
Add suspend/resume button for CronJobs ( #1860 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-29 17:19:23 +02:00
Jari Kolehmainen
a03da3c572
Remove lingui ( #1874 )
...
* remove lingui
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* babelless
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak ts-loader options
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak renderer webpack config
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-29 14:53:34 +02:00
Alex Andreev
050603a7b3
Applying dark colors to dock regardless of active theme ( #1873 )
...
* Appliying dark colors on dock contents
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix lint error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-29 13:54:22 +03:00
Lauri Nevala
cfbe4219d5
Show toolitp for node name in the nodes list ( #1841 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-12-29 09:22:44 +02:00
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