From 00b506982e16a55c2242d2453ec25250157e83f2 Mon Sep 17 00:00:00 2001 From: Viorel Cojocaru Date: Mon, 9 Sep 2024 23:19:38 +0200 Subject: [PATCH 1/2] fix(utils): Webpack metrics - update description --- packages/utils/src/webpack/metrics.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/utils/src/webpack/metrics.ts b/packages/utils/src/webpack/metrics.ts index adbae989ad..93800df059 100644 --- a/packages/utils/src/webpack/metrics.ts +++ b/packages/utils/src/webpack/metrics.ts @@ -9,26 +9,26 @@ type WebpackMetrics = Partial> & { export const metrics: WebpackMetrics = { [Metric.BUNDLE_SIZE]: { label: 'Bundle Size', - description: 'The total file size of the assets generated or processed by the bundler', + description: 'Total file size of the assets generated or processed by the bundler', url: 'https://relative-ci.com/documentation/metrics-and-data#assets', type: MetricTypes.FileSize, }, [Metric.INITIAL_SIZE_JS]: { label: 'Initial JS', - description: 'The total file size of the JavaScript initial chunks', + description: 'Total file size of the JavaScript initial chunks', url: 'https://relative-ci.com/documentation/metrics-and-data#assets', type: MetricTypes.FileSize, }, [Metric.INITIAL_SIZE_CSS]: { label: 'Initial CSS', - description: 'The total file size of the CSS initial chunks', + description: 'Total file size of the CSS initial chunks', url: 'https://relative-ci.com/documentation/metrics-and-data#assets', type: MetricTypes.FileSize, }, [Metric.CACHE_INVALIDATION]: { label: 'Cache Invalidation', description: - 'The ratio between the total of the changed assets and the total file size(Bundle Size)', + 'Ratio between the total file size of the changed assets and the total file size(Bundle Size)', url: 'https://relative-ci.com/documentation/metrics-and-data#assets', type: MetricTypes.Percentage, biggerIsBetter: null, @@ -36,7 +36,7 @@ export const metrics: WebpackMetrics = { }, [Metric.CHUNK_COUNT]: { label: 'Chunks', - description: 'The total number of chunks generated by the bundler', + description: 'Total number of chunks generated by the bundler', url: 'https://relative-ci.com/documentation/metrics-and-data#assets', type: MetricTypes.Numeric, biggerIsBetter: null, @@ -50,14 +50,14 @@ export const metrics: WebpackMetrics = { }, [Metric.MODULE_COUNT]: { label: 'Modules', - description: 'The total number of bundled modules', + description: 'Total number of bundled modules', url: 'https://relative-ci.com/documentation/metrics-and-data#modules-1', type: MetricTypes.Numeric, biggerIsBetter: null, }, [Metric.DUPLICATE_MODULES_COUNT]: { label: 'Duplicate Modules', - description: 'The total number of modules that belong to more than one chunk', + description: 'Total number of modules included into more than one chunk', url: 'https://relative-ci.com/documentation/metrics-and-data#modules-1', type: MetricTypes.Numeric, biggerIsBetter: false, From 3b66fdb9d3cbd75a9b5886ff43a02852fbf69734 Mon Sep 17 00:00:00 2001 From: Viorel Cojocaru Date: Mon, 9 Sep 2024 23:24:50 +0200 Subject: [PATCH 2/2] enhance(ui): Increase hover outline --- packages/ui/src/css/variables.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/css/variables.css b/packages/ui/src/css/variables.css index 1f02947a1f..7b2e2b6d02 100644 --- a/packages/ui/src/css/variables.css +++ b/packages/ui/src/css/variables.css @@ -198,7 +198,7 @@ --radius-medium: 7px; --radius-large: 9px; - --outline-hover: 0 0 0 3px var(--color-highlight); + --outline-hover: 0 0 0 var(--space-xxxsmall) var(--color-highlight); /** Layout */ --max-width: 88rem;