Alex Andreev
15762615d2
Block renderering non http(s):// links via <HelmChartIcon> ( #7419 )
...
* Adding HelmChartIcon tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* HelmChartIcon refactoring
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fine-tune styles in HelmChartDetails
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding styles to separate module
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-29 07:39:57 -04:00
Alex Andreev
4f2ba5df48
Fix Cannot find module '@k8slens/cluster-settings' while running in dev mode ( #7412 )
...
* Adding 'prepare' commands to cluster-settings package
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused "lint" command from cluster-settings package
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-27 12:14:57 -04:00
Alex Andreev
7d71873135
Fix download all logs for pod with few containers ( #7413 )
...
* Use container name as downloaded file name
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Specify container to call for logs query
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-27 12:22:37 +03:00
Alex Andreev
a0d13e8003
Adding package exporting injection tokens for cluster settings ( #7395 )
...
* Add clusterIconSettingsComponentInjectionToken
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tests for new token
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Create cluster-settings package
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix cluster-settings package build process
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use tolens from @k8slens/cluster-settings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove typescript 5.x.x from cluster-settings package
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding prepare:test command to package.json
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Test small cleanup
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix getByText check
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-23 11:40:56 +03:00
Alex Andreev
4a3f08d798
Fix Check for updates menu item title capitalisation ( #7396 )
...
* Check for updates -> Check for Updates
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Revert debugging changes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding ellipsis to every Check for Updates items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-23 11:37:10 +03:00
Alex Andreev
d7b2202c1f
Fix catalog & workloads table view ( #7371 )
...
* Fix catalog list table view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Wrap ingresses rules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Reduce Badge sizing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not text-overflow:ellipsis in Pod names
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Save a room to table head cells
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-17 12:57:32 -04:00
Alex Andreev
763816f71f
Respect cluster avatars entity background color ( #7365 )
...
* Add iconBackgroundColor cluster preference type
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set custom backround for hotbar entities
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused code from Catalog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update entity background if preferences background changes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set avatar backgrounds from entity
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up in hotbar entity icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix setting up entity background
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use single icon prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up hotbar entity icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing test to ensure icon has data:image
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add more test cases
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-17 13:50:30 +03:00
Alex Andreev
121a50ecf3
Adding cluster settings icon menu items using injection token ( #7341 )
...
* Take cluster settings menu icon items from computedInjectMany
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing changed cluster preference typing: using tuple array
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Export data from cluster-settings-menu-injection-token
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Exporting ClusterPreferences to extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove legacy api token export
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing legacy exports part 2
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-15 13:46:40 +03:00
Alex Andreev
85268bf12b
Fine-tune light theme hotbar colors ( #7351 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-14 08:31:57 -04:00
Alex Andreev
0ee81ce636
Fix cluster view broken scrolling ( #7349 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-14 08:31:41 -04:00
Alex Andreev
e6d6d1d8f7
Exporting ResourceMetrics and PodCharts to extension API ( #7326 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-09 15:42:49 -05:00
Alex Andreev
963c816b17
Navigate to catalog explicitly on cluster disconnect ( #7304 )
...
* Navigate to catalog explicitly on cluster disconnect
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-03-07 11:35:05 -05:00
Alex Andreev
4e02bdce6d
Fix PodList TableHead overflow ( #7212 )
...
* Remove transparent bg on .flat TableHead
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix TableHeads not to be sticky
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-02-22 15:28:36 +03:00
Alex Andreev
52660ef75c
Fix dropdown items readability in Dock ( #7209 )
...
* Remove Select's outlined theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-02-22 14:47:05 +03:00
Alex Andreev
219a683890
Fix empty pod logs tab content ( #7177 )
...
* Replace logsViewModelInjectable lifecycle
to keyedSingleton
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Await logs view model to instantiate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove async from instantiating LogTabViewModel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix LogList overflow (#7178 )
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-02-17 13:22:34 -05:00
Alex Andreev
15ba5da51e
Add a bit of spacing before Installed extensions title ( #7152 )
...
* Add a bit of spacing before Installed extensions title
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshot
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-02-14 18:24:23 +03:00
Alex Andreev
c9d43ffdba
Fix: create/edit resource tab Save & Close button behavior ( #7124 )
...
* Close dock tab only if submit() resolved
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Close dock tab only if all resources successfully created
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Simpler error throw
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-02-13 16:52:42 +03:00
Alex Andreev
0719293b11
Namespace details tree view ( #7080 )
...
* Initial tests for <NamespaceTreeView />
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introduce <NamespaceTreeView/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Render namespace children
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Render a child subnamespace
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused lodash import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Render subnamespace badge after name
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing rendering 2 levels deep
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add tree view to namespace details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Expand all nodes by default
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add links to the tree items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Initial label styling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Label and group styling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove fontSize attr from SvgIcon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling subnamespace badge
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Expand and collapse tree nodes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing clicking plus icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Restyling subnamespace badge
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tooltip for subnamespace badge
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replace CloseIcon with semi-transparent MinusIcon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling TreeView inside scss module
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move isSubnamespace method inside API
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Extract nodeId to avoid repeating
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename Icon components
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up tests from boilderplate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Subnamespace badge style fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use font-size: x-small instead of rem units
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move subnamespace badge show check to parent
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use prevDefault util
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor: move tree build logic to store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor hierarchicalNamespacesInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add tests for getNamespaceTree() function
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use Subnamespace badge in namespace list (#7132 )
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-02-13 09:34:03 +03:00
Alex Andreev
2afc62c296
Fix monaco editor scroll block in config map details ( #7000 )
...
* Do not block config map details scrolling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-01-25 10:30:29 -05:00
Alex Andreev and Sebastian Malton
9b001adb07
Fix getting metrics name for HPA v1 ( #7011 )
...
* Add ability for KubeApi to filter server versions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update error message
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Show metric name is targetCPUUtilizationPercentage is used
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing metric names in HPA details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2023-01-25 09:04:56 -05:00
Alex Andreev
7440444ba3
Add --skip-nx-cache to lerna run dev command ( #7010 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-01-25 08:17:57 -05:00
Alex Andreev
5f416921e9
Parse HPA metrics from different versions ( #6971 )
...
* First sketch of hpav2 metrics
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* HPA metrics initial tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Receive target Object metrics for v2
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* External target metrics
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add more types for ObjectMetricStatus
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move metrics parsing from HPA object to separate injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add metric parser for HPA v2
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using metrics parser in hpa list and details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add more test cases for HPA v2
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add HorizontalPodAutoscalerV1MetricParser
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding injectable for hpa v1 metric parser
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding test cases for autoscaling/v1 metrics
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add test cases for hpa beta versions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Check for legacy targetCPUUtilizationPercentage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix external metirc parser output
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Small clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing fallbackApiBases
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove left comments
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Making metric parser classes as not injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix metrics in hpa details for newer versions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Spreading types to V2 and V2Beta1
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move getMetricName() to its own file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-01-23 08:22:44 -05:00
Alex Andreev
943756bad9
Fix KubeObjectDetails light theme table view ( #6981 )
...
* Add flat TableHead param
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use flat headers across details panel tables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-01-19 13:40:25 +03:00
Alex Andreev
b8d1ef708e
Add KubeEventDetails empty placeholder ( #6978 )
...
* KubeEventDetails empty placeholder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updaing snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-01-19 13:27:33 +03:00
Alex Andreev
34e6cf263f
Bump Horizontal Pod Autoscaler apiBase version ( #6906 )
...
* Change HPA apiBase and add fallback bases
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add HPA Behavior types from v2
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix whitespace differences
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2023-01-11 08:45:10 -05:00
Alex Andreev
6422d8183f
Use Monaco editor in ConfigMap details ( #6830 )
...
* Use monaco in config map details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add ability to set monaco initial height regarding to text lines
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor get initialHeightClassName()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename injectable to getEditorHeightFromLinesCountInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Lint fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Better monaco editor view for the light theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set initial height refactoring
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-29 14:33:59 +03:00
Alex Andreev
7cb7d9573f
Fix .TabLayout .Tabs jumping ( #6843 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-29 14:31:35 +03:00
Alex Andreev
29d2e1fb86
Using syncKubeconfigEntries.replace() ( #6837 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-28 13:18:22 +03:00
Alex Andreev
44bc703606
Remove error overlay in dev mode ( #6831 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-27 10:40:44 +03:00
Alex Andreev
ba908c860d
Fix terminal window paddings ( #6822 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-22 16:35:04 +03:00
Alex Andreev
da267a99f4
Revert #6733 to avoid breaking changes for extensions ( #6821 )
...
This reverts commit 4af8fbaa34 .
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-22 07:21:44 -05:00
Alex Andreev
5dde02733b
Fix: load pods from all namespaces in node details ( #6794 )
...
* Load pods from all namespaces in Node details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Lint fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-20 16:34:43 +03:00
Alex Andreev
56197d8e2e
Fix resize anchor z-index ( #6784 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-19 11:44:04 -05:00
Alex Andreev
e0bccfabd4
Fix app crash opening Install Chart dock tab ( #6782 )
...
* Change type of RequestHelmChartValues to be AsyncResult
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-19 17:00:13 +03:00
Alex Andreev
bf6550918c
Fix helm chart readme load app crash ( #6781 )
...
* Change request readme types to be AsyncResult
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-19 08:14:49 -05:00
Alex Andreev
5f88f68859
Fix loosing osx dock and tray icons on window reopen ( #6770 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-16 08:21:45 -05:00
Alex Andreev
4af8fbaa34
Using custom properties for z-index values ( #6733 )
...
* Using custom properties for z-index values
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Reorder values
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Different set of z-index css vars
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Revert z-index to main layout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-13 16:36:51 +03:00
Alex Andreev
fe0c13424a
Remove blue borders in light themed tables ( #6734 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-12 16:30:00 +03:00
Alex Andreev
667a978952
Fix top-bar .separator width ( #6706 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-06 15:07:11 +03:00
Alex Andreev
33e6771da3
Fix: remove excessive scrollbars from the TabLayout view ( #6689 )
...
* Remove excessive scrollbars from the TabLayout view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating snapshots harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-01 09:32:41 -05:00
Alex Andreev
95cee3bcc8
Removing big padding after cluster settings avatar ( #6634 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-23 14:52:13 +03:00
Alex Andreev
1354fa66a5
Adding spacing between Metrics Settings sections ( #6632 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-23 13:43:27 +03:00
Alex Andreev
82ab60d544
Fix for Menu component memory leak ( #6526 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-07 09:54:02 -05:00
Alex Andreev and Janne Savolainen
c527014011
Expose a way to add cluster frame components in Extension API ( #6385 )
...
* Add cluster modals registrator
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add ClusterModal components and injection token
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add clusterModals tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots and use css modules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting 0 height as an inline style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not export clusterModalsInjectionToken to extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing changing visibility flag
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor cluster modals registrator and injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Harder linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter again
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using clusterFrameChildComponentsInjectionToken
for specific extension elements
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused modal registration
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Improving tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linting
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Rename test suite for consistency
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-11-04 09:15:16 +03:00
Alex Andreev
07a775c32d
Fix scss compilation warning by removing flex.box dependency ( #6411 )
...
* Save only used selectors from flex.box library
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove flex.box dependency
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-10-14 09:56:54 -04:00
Alex Andreev
491082f784
Add data-origin to status bar items for better observability ( #6400 )
...
* Passing id to status-bar-items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add data-origin prop for status bar items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing status bar tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename id -> origin because it is not unique
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-10-14 09:27:10 +03:00
Alex Andreev
0fe3242030
Refactoring dock tab download logs tests ( #6149 )
...
* Separate 'download visible' and 'download all' tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add disabled prop to DownloadLogsDropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Test for dropdown if no logs available in the tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused code statement
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-10-04 14:17:21 +03:00
Alex Andreev
e3703dbf26
Leading topbar home button to welcome page ( #6218 )
2022-09-13 10:43:51 -04:00
Alex Andreev
37318cab4e
Fix: align sidebar menu items ( #6138 )
...
* Introduce sitebar-items.module.scss
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adjust sidebar item styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use classnames from a scss module
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set sidebar min width to 150px to keep readability
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Break words in long links
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adjust navigation paddings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused scss file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating bunch of snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-01 12:52:55 +03:00
Alex Andreev
2fe7668edc
Remove requests/limits text data for workload metrics ( #6128 )
2022-08-31 14:20:35 -04:00
Alex Andreev
5795452cc3
Add option to download all logs from the container ( #5970 )
...
* Creating callForAllLogsInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add sketch of Download all logs button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use randomId while creating pod logs tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Initial draft of download all logs tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introduce download logs dropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up Controls component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Coloring and styling Download logs button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Drop waiting state on network or other error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* After clicking on button test cases
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing previous Download icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Respect timestamps and previous props
in callForAllLogsInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused .mockReturnValueOnce
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove one more unused line
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleanin up by overriding internals of logsViewModel
injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replace usage of callForAllLogs with
simple callForLogs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use css modules for the Controls component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move downloadAllLogs logic to injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move downloadLogs logic to the model
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove withInjectables wrapper from LogControls
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move downloadAllLogs to model
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing resolve/reject options for callForLogsInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Catching call for logs errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Doesn't show save dialog if no logs received
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* More descriptive describe statement
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introduce Dropdown component with Menu
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use <Dropdown/> in Download All Logs dropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix line-break symbol
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Return a Promise from downloadAllLogs()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Extend LogTabViewModel mocks in other tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix downloadAllLogs prop typings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix selectors in integration test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move tests into /behaviours
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-30 16:00:11 +03:00
Alex Andreev
edd5d54e49
Replace deprecated <FormSwitcher/> in metrics-cluster-feature extension ( #6060 )
...
* Use new <Switch/> inside deprecated material switcher
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up material UI (except types) from FormSwitch
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix button size in Metrics Settings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove material-ui references from
<Switcher/> & <FormSwitcher/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Change to newer <Switch/> component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-25 16:18:58 +03:00
Alex Andreev
0c32490fb0
Make cluster #app component transparent ( #6076 )
...
until theme ready
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-25 16:16:39 +03:00
Alex Andreev
3fe31d5fb5
Fix node conditions column text-align ( #6092 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-25 08:56:19 -04:00
Alex Andreev
ba54a64ebb
Fix <Select/> text overflow below baseline ( #6085 )
...
* Fix: do not crop <Select/> single value
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix: do not crop namespace selector placeholder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Align working dir input height with others
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-23 19:19:15 +03:00
Alex Andreev
93cefe7897
Use color-scheme: auto on all iframes ( #6074 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-22 15:09:41 +03:00
Alex Andreev
17ddee2bde
Remove Tabs hover line width transition ( #6020 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-11 15:39:23 +03:00
Alex Andreev
3d62d1c029
Fix ingress list line heights ( #5949 )
...
* Split ingress rules by multiple lines
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Force updating virtual list when rowHeights changed
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replacing simple div selectors with more specific
.ingressRule classnames
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-02 15:24:53 +03:00
Alex Andreev
5ddd8e8846
Fine-tune styles of Extensions page ( #5921 )
2022-07-28 16:34:06 -04:00
Alex Andreev
e334a6aeda
Adding more control over extension preferences page title ( #5901 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-07-27 14:05:55 +03:00
Alex Andreev
811d96eb74
Fix styles for topbar window buttons on linux ( #5874 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-07-25 08:55:41 +03:00
Alex Andreev
014ec6a03b
Align HotbarSelector elements with status bar items ( #5755 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-06-29 15:44:36 +03:00
Alex Andreev and Janne Savolainen
3084b7b8d9
Change update warning level over time ( #5445 )
...
* Give an UpdateButton injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* AppUpdateWarning class and injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename folder to app-update-warning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add appPublishDateInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Inject ipcRenderer into app-update-warning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add setter for downloadedUpdateDate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add tests for AppUpdateWarning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* appPublishDate initial test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Parsing app release date from the package version
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introduce appUpdateWarningLevelInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix withInjectables props
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Determine warning from days passed after update available
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Save update available date in session storage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move quitAndInstall() to separate function
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Register quit-and-install ipc channel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make update function injectable for button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set proper timeframes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting global UTC timezone for tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refresh tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing warning level changes over time
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused app-publish-date files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make linter happy
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Pass quitAndInstallUpdateInjectable to UpdateButton
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove updateAppInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Initial tests for installing update using topbar button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor AppUpdateWarning class using injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Permit side effects in injectable
periodicalCheckForUpdateWarningInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Temporarily set noop for UpdateButton update()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove previous implementation files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Unoverriding topbar injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Render TopBar inside ApplicationBuilder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move updateWarningLevelInjectable
to /common subfolders from /main
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make UpdateButton warning prop observable
by using computed() structure
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add sync box files allowing to restart & install
update from renderer process
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add Update button dropdown tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix jest.advanceTimersByTime usage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Check for severe warning level
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove usage of legacy global causing trouble in unit tests
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make update warning level completely reactive and responsibility of a renderer
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove tests that are covered by behaviour
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix restarting and installing update when pressing update button
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update more snapshots
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove duplication from behavioural unit test
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Reducing too large MenuItems height
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Reduce too large UpdateButton paddings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add jest globalSetup into package.json
to fix timezone test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not triggering computed value every time it is being used
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-28 16:27:19 +03:00
Alex Andreev
0e1c507ce1
Do not affect history while navigating ( #5741 )
...
to Preferences extensions tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-06-28 13:47:55 +03:00
Alex Andreev and Janne Savolainen
0784085bf4
Show extension preferences in separate page ( #5284 )
...
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-21 11:11:31 -04:00
Alex Andreev
96ed99a06b
Fix table row heights ( #5652 )
2022-06-16 10:01:27 -04:00
Alex Andreev
8349d6aa4a
Fix html font size and adjust usage of rem units ( #5641 )
...
* Leave default browser font-size for the html
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix preferences helm repos layout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adjust usage of rem units
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adjust namespace select filter option sizes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing ToBottom btn sizing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing Remove Cluster dialog sizing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing catalog sidebar title font-size
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix Notice sizing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update more snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-06-15 19:38:10 -04:00
Alex Andreev
c2b4fed5c3
TopBar Update button ( #5376 )
...
* UpdateButton skeleton
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Show UpdateButton in topbar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Default button styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add update icon to menu item
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replace colors for medium & high levels
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fine-tune colors for light theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix keyboard events bug
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hide <UpdateButton> from topbar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using dropdown icon instead of sandwich
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Used determenistic id for the button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Respect id prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add small space
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using accent color directly from active theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix open/close Menu errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix act() wrapper console.error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove aria-expanded attribute
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-05-18 19:36:40 +03:00
Alex Andreev
cc9ee67dc2
Fix <Switch/> checked callback attribute value ( #5360 )
2022-05-11 10:33:01 -04:00
Alex Andreev
fdf65e8ab6
Allowing to copy text from About dialog ( #5335 )
2022-05-05 11:49:11 -04:00
Alex Andreev
d1ae30a562
Fix misleading no metrics message ( #5240 )
...
* Add NoMetrics style module
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add Open Cluster Settings link
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fine-tune NoMetrics layout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add test for clicking Open Settings link
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add data-testid
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use navigateToEntitySettings instead of broadcastMessage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix test selector
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-04-27 15:48:49 +03:00
Alex Andreev
4a14393027
Upgrade electron-builder to 23.0.3 ( #5247 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-04-20 10:38:12 +03:00
Alex Andreev
51f7e8f1bc
Not using paddings for empty top bar items ( #5249 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-04-19 17:47:28 +03:00
Alex Andreev
542cbe9ebf
Fix PieChart tooltips ( #5223 )
...
* Add tooltipLabels field to ChartData
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use tooltipLabels in ClusterPieCharts for pods
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Check for tooltipLabels field to assign tooltip text
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use tooltipLabels inside overview charts
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Expand workload overview charts to fit tooltips
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move tooltipLabels into chart datasets
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move tooltipLabels prop to PieCharts
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Little clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Getting back id field to PieChartData interface
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Id fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* More clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-04-11 15:21:18 +03:00
Alex Andreev
51b045415c
Merge pull request #5204
...
* Add identity-obj-proxy dependency
2022-04-07 14:06:43 +03:00
Alex Andreev and Roman
93a8d0f157
Do not render Tooltip and Menu elements until needed ( #5168 )
...
* Clean up Menu DOM elements
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up Tooltip DOM
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not render Animate when not in need
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* clean up <Animate/> and <Tooltip/>
Signed-off-by: Roman <ixrock@gmail.com >
Co-authored-by: Roman <ixrock@gmail.com >
2022-04-06 16:44:14 +03:00
Alex Andreev
66330485b1
Fix broken hotbar switcher ( #5182 )
...
* Getting this context for switch hotbar methods
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not convert store methods to arrow functions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-04-06 14:28:07 +03:00
Alex Andreev
90d4d41936
Set dock tab contrast bg color ( #5143 )
2022-03-30 10:54:34 -04:00
Alex Andreev
37d8294198
Remove HotbarIcon box-shadow artifacts ( #5142 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-03-30 15:23:46 +03:00
Alex Andreev
dd0cb8594c
Fix use transparent bg if Avatar contains <img/> inside ( #5131 )
2022-03-29 10:02:18 -04:00
Alex Andreev
6b8ff7eb15
Fix mobx error after Edit Resource tab close ( #5130 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-03-29 13:29:27 +03:00
Alex Andreev
13945d677b
Fix: make dock tab close button smaller ( #5115 )
2022-03-28 09:16:59 -04:00
Alex Andreev
8c8bab540c
Fix: overlapped pod logs ( #5029 )
2022-03-17 08:15:04 -04:00
Alex Andreev
772e879b81
Fix "logs from" date ( #4987 )
2022-03-10 16:13:22 -05:00
Alex Andreev
dd5dfb393d
Add 'Sync with computer' theme option ( #4973 )
2022-03-09 08:08:24 -05:00
Alex Andreev
2bed34ccd5
Show helm details fetch errors in Notifications ( #4905 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-02-24 07:52:45 +03:00
Alex Andreev
a2ee3c4d5d
Fix: closing terminal tab error ( #4874 )
2022-02-16 09:05:25 -05:00
Alex Andreev
00314aabc0
Fix unresponsive kubectl download binaries switch ( #4807 )
...
* Add observer wrapper to KubectlBinaries
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add missing terminal title
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-02-03 14:57:55 +03:00
Alex Andreev
334ab56f9d
Fix dialog icons hover color ( #4791 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-02-02 16:47:33 +03:00
Alex Andreev
576135f723
Fix quota entries layout in Add Resouce Quota dialog ( #4789 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-02-02 16:46:33 +03:00
Alex Andreev
65669f6a64
Fix: increase catalog entity name col width ( #4776 )
...
* Increase .entityName col width
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adjust catalog menu paddings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix table head border color
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-01-31 17:04:15 +03:00
Alex Andreev
205225f6a4
Docs: add styling Custom Views block ( #4760 )
2022-01-27 08:18:48 -05:00
Alex Andreev
5fb465802b
Do not pass blurOnEnter to html element ( #4762 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-01-27 15:05:26 +03:00
Alex Andreev
e353d530e8
Remove first column padding ( #4761 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-01-27 13:05:13 +03:00
Alex Andreev
b037c3bf02
Fix: keep ItemListLayout scrollable with custom views ( #4737 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-01-25 08:04:42 +03:00
Alex Andreev
74d92d09d9
Fix: remove hotbar name from status bar ( #4679 )
...
* Show tooltip with hotbar name manually
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove this.refreshPosition() call
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove hotbar name from status bar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Convert HotbarSelector to use css modules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused export
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Invert invisible prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-01-19 14:31:15 +03:00
Alex Andreev
5bdfea6e31
Native switch component ( #4610 )
...
* Switch component initial draft
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add onClick event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* onClick fine-tunings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fine-tuning styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix light theme thumb color
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using native switch in places
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing material ui switcher
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Revert "Removing material ui switcher"
This reverts commit 6b9e0a090c .
* Mark Switcher and FormSwitch as deprecated
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using theme-light mixin
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix fetching values from onChange callback
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add custon onChange event with checked prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Check for onChange() availability
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix show minimap label
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-12-30 13:58:28 +03:00
Alex Andreev
d8dbe51e7a
Fix close button overflow in Preferences ( #4611 )
...
* Adding basic colors to tailwind theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using tailwind inline to style close button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make Select look similar to inputs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving styles into separate module
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Convert tailwind commands to css
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-12-28 17:10:06 +03:00
Alex Andreev
637f26ae1e
Custom title controls on Windows ( #4528 )
...
* Add context menu in topbar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding windows title buttons
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding win sandwitch icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hide windows controls behind the flags
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix topbar layout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using topbar as draggable area
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix sandwich icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Mark no-draggable areas
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove ipcMainOn window calls
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Explicitly hide main window menu
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix tests more
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Restore linux native view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Not removing menu in linux
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Showing custom window buttons in Linux
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove frame on linux and windows
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move open context menu event handler to initializers
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set x, y context menu position explicitly
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-12-14 19:01:57 +02:00
Alex Andreev
3dd6b432c9
Export KubeJsonApi to extensions ( #4496 )
...
* Export KubeJsonApi to extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make forCluster() to consume clusterId as arg
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix lint
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-12-09 15:11:34 +03:00