Alex Andreev
b7b25fb1ff
Introduce <PreferencesNavigation /> tests
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-26 11:22:03 +03:00
Alex Andreev
b69d116e02
Add fromExtension field to PreferenceNavigationItem
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-26 11:21:41 +03:00
Alex Andreev
6622d2b432
Get extension by sanitizedExtensionId
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-26 10:08:57 +03:00
Alex Andreev
8e5a8389e4
Update snapthots
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-25 14:19:14 +03:00
Alex Andreev
263e26cadf
Fix isActive parameter
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-25 14:16:49 +03:00
Alex Andreev
ecc5383ebe
Revert token removing
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-25 13:41:42 +03:00
Alex Andreev
098bda1866
Show preferences only from specified extension
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-25 13:38:53 +03:00
Alex Andreev
d0bb70452a
Check for showInPreferencesTab tab for a link to show
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-25 11:47:32 +03:00
Alex Andreev
0c93c6dbf0
Set isActive prop
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-25 11:05:23 +03:00
Alex Andreev
1f6420f85b
Add isVisible condition for preference links
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-22 17:04:17 +03:00
Alex Andreev
6d8feb65d4
Add some tests for links
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-22 17:01:30 +03:00
Alex Andreev
fa9277fb8c
Showing a links for each extension in sidebar
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-21 16:52:27 +03:00
dependabot[bot]
bff5282824
Bump webpack from 5.70.0 to 5.72.0 ( #5222 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 08:35:19 -04:00
dependabot[bot]
a0bb3c672e
Bump moment from 2.29.1 to 2.29.3 ( #5246 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 08:33:20 -04:00
dependabot[bot]
66a1af409d
Bump eslint-plugin-react-hooks from 4.3.0 to 4.4.0 ( #5220 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 08:33:11 -04: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
Sebastian Malton
e977890677
Remove webpack.*.ts importing values from src/ ( #4992 )
2022-04-13 10:39:35 -04:00
Juho Heikka
d5528eb9fe
Add optional destination property to app event ( #5230 )
2022-04-13 11:32:04 +03:00
Panu Horsmalahti
39b17334ba
Export getAppVersion in the extension API ( #5239 )
2022-04-12 11:18:44 -04:00
Janne Savolainen
6745f2efd7
Fix snapshots/code-style after merging stuff to master ( #5235 )
...
* Update snapshots after merging stuff to master
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Fix code style
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-04-12 15:02:34 +03:00
Iku-turso
55d8e0e06c
Introduce a collection of behavioural unit tests for navigation ( #5085 )
...
This reverts commit ecd881c25df219b511d7efd43dac59e748b21cc7.
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-04-12 07:39:46 +03:00
Janne Savolainen
68a605ded9
Fix returning to specific catalog tab and removing a hotbar item ( #5201 )
...
* Fix removing hot bar item
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Fix navigating back to tab in catalog from hotbar
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-04-12 07:34:44 +03:00
chh
c66f9ad407
Expose ReactDOM as global object, and ensure in-tree extension to use the same instance ( #5229 )
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2022-04-11 16:45:12 +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
Sebastian Malton
423ffd44dc
Fix slackLink in catalog becoming out of date ( #5108 )
2022-04-08 11:12:06 -04:00
Dmitriy Noa
0ba5a12506
Move devserver to different port ( #5224 )
...
* Move devserver to different port
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
* Move port to common vars
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
* Use Number to cast
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-04-08 15:59:46 +02:00
dependabot[bot]
3b7b018084
Bump esbuild from 0.14.27 to 0.14.34 ( #5217 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 11:28:21 -04:00
dependabot[bot]
711cfdcbd4
Bump typedoc from 0.22.10 to 0.22.14 ( #5216 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 11:28:03 -04:00
Roman
71b222f9d0
Upgrade to React@18 ( #5172 )
...
* upgrade to react@18
read more: https://reactjs.org/blog/2022/03/29/react-v18.html
2022-04-07 17:23:52 +03:00
Roman
06e7dfce5e
Removed package "autobind-decorator" and @boundMethod in favour of "auto-bind" util for constructors-only. ( #5218 )
2022-04-07 17:21:54 +03:00
dependabot[bot]
5f145e69e5
Bump eslint-plugin-import from 2.25.4 to 2.26.0 ( #5199 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 09:23:11 -04:00
dependabot[bot]
f20cb1282d
Bump webpack-dev-server from 4.7.4 to 4.8.1 ( #5209 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 09:22:53 -04:00
Alex Andreev
51b045415c
Merge pull request #5204
...
* Add identity-obj-proxy dependency
2022-04-07 14:06:43 +03:00
Sebastian Malton
7c34ba36a6
Add B to bytesToUnits to make clear that they are bytes ( #5170 )
2022-04-06 11:48:42 -04:00
Panu Horsmalahti
1a29759bff
Enable consistent-type-imports eslint rule ( #5205 )
2022-04-06 10:34:16 -04:00
Alex Andreev
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
Panu Horsmalahti
ca21e0842a
Add optional badge to Catalog Category label ( #5156 )
...
* Add optional badge to Catalog Category label.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Don't render badge container if there is no badge. Change CatalogCategoryLabel interface.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Add badgeBackgroundColor CSS variable for extensions. Regenerate theme-vars.css.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Use category as prop in CatalogCategoryLabel
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2022-04-06 15:20:41 +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
dependabot[bot]
feb983c42c
Bump concurrently from 7.0.0 to 7.1.0 ( #5186 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-05 10:38:25 -04:00
dependabot[bot]
e221dbd97b
Bump playwright from 1.20.1 to 1.20.2 ( #5187 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-05 10:38:14 -04:00
dependabot[bot]
efd7e9ed34
Bump @typescript-eslint/eslint-plugin from 5.15.0 to 5.18.0 ( #5188 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-05 10:38:02 -04:00
dependabot[bot]
c00adf3924
Bump react-refresh-typescript from 2.0.3 to 2.0.4 ( #5189 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-05 10:37:46 -04:00
dependabot[bot]
1e2a2161f5
Bump @types/dompurify from 2.3.1 to 2.3.3 ( #5181 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 10:07:07 -04:00
dependabot[bot]
51bb5908ad
Bump ws from 7.5.5 to 7.5.7 ( #5180 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 10:06:53 -04:00
dependabot[bot]
7f09ae7138
Bump sass from 1.49.10 to 1.49.11 ( #5179 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 10:06:39 -04:00
dependabot[bot]
e19a4cd5db
Bump mini-css-extract-plugin from 2.5.3 to 2.6.0 ( #5178 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 10:06:29 -04:00
Sebastian Malton
85f2ce7504
Reset ClusterStatus state when switching clusters ( #5149 )
2022-04-01 12:02:04 -04:00
dependabot[bot]
cfc702f89f
Bump @typescript-eslint/parser from 5.16.0 to 5.17.0 ( #5160 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 11:27:40 -04:00
dependabot[bot]
0c06619ca9
Bump sass from 1.49.9 to 1.49.10 ( #5161 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 08:56:37 -04:00