@allurereport/web-awesome 3.8.2 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +112 -0
- package/allurerc-dev.mjs +10 -0
- package/dist/multi/121.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/173.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/174.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/252.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/282.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/29.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/310.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/{416.app-f008fb8342025f2b1ace.js → 416.app-d36b0855e3e7a53eeee9.js} +1 -1
- package/dist/multi/{507.app-f008fb8342025f2b1ace.js → 507.app-d36b0855e3e7a53eeee9.js} +1 -1
- package/dist/multi/527.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/600.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/605.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/638.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/672.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/686.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/725.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/741.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/749.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/755.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/779.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/{894.app-f008fb8342025f2b1ace.js → 894.app-d36b0855e3e7a53eeee9.js} +1 -1
- package/dist/multi/943.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/980.app-d36b0855e3e7a53eeee9.js +1 -0
- package/dist/multi/app-d36b0855e3e7a53eeee9.js +2 -0
- package/dist/multi/manifest.json +26 -23
- package/dist/multi/styles-212da6c68fa0beb4c6c5.css +1 -0
- package/dist/multi/styles-468416ffee9a9dea6cae.css +58 -0
- package/dist/multi/styles-5c882b14b6f3112e40c4.css +1 -0
- package/dist/single/app-62171f5f51b5954a787c.js +2 -0
- package/dist/single/manifest.json +1 -1
- package/package.json +12 -7
- package/src/assets/scss/_common.scss +2 -2
- package/src/assets/scss/index.scss +8 -6
- package/src/components/BaseLayout/index.tsx +14 -2
- package/src/components/BaseLayout/styles.scss +5 -5
- package/src/components/Categories/CategoryHeaderItem/styles.scss +2 -2
- package/src/components/Categories/CategoryTreeItem/styles.scss +2 -2
- package/src/components/Categories/GroupTreeItem/styles.scss +4 -5
- package/src/components/Categories/HistoryTreeItem/styles.scss +2 -2
- package/src/components/Categories/LabelTreeItem/styles.scss +2 -2
- package/src/components/Categories/MessageTreeItem/index.tsx +1 -1
- package/src/components/Categories/MessageTreeItem/styles.scss +18 -18
- package/src/components/Categories/sticky.ts +1 -1
- package/src/components/Footer/styles.scss +2 -2
- package/src/components/Header/CiInfo/styles.scss +1 -1
- package/src/components/Header/styles.scss +2 -2
- package/src/components/HotkeysProvider/index.tsx +556 -0
- package/src/components/KeyboardShortcuts/index.tsx +73 -0
- package/src/components/KeyboardShortcuts/shortcutsConfig.ts +91 -0
- package/src/components/KeyboardShortcuts/styles.scss +69 -0
- package/src/components/MainReport/index.tsx +89 -72
- package/src/components/MainReport/styles.scss +40 -4
- package/src/components/Metadata/styles.scss +9 -9
- package/src/components/MetadataButton/index.tsx +2 -0
- package/src/components/MetadataButton/styles.scss +1 -1
- package/src/components/NavTabs/styles.scss +8 -8
- package/src/components/ReportBody/index.tsx +11 -2
- package/src/components/ReportBody/styles.scss +24 -4
- package/src/components/ReportCategories/styles.scss +1 -1
- package/src/components/ReportFilters/styles.scss +1 -1
- package/src/components/ReportGlobalAttachments/styles.scss +1 -1
- package/src/components/ReportGlobalErrors/styles.scss +1 -1
- package/src/components/ReportHeader/styles.scss +2 -2
- package/src/components/ReportMetadata/index.tsx +9 -11
- package/src/components/ReportMetadata/styles.scss +6 -6
- package/src/components/ReportQualityGateResults/styles.scss +2 -2
- package/src/components/ReportSearch/index.tsx +1 -5
- package/src/components/ReportTabs/styles.scss +9 -9
- package/src/components/SectionSwitcher/index.tsx +87 -10
- package/src/components/SideBySide/index.tsx +20 -2
- package/src/components/SideBySide/styles.scss +9 -1
- package/src/components/SplitLayout/index.tsx +10 -1
- package/src/components/SplitLayout/styles.scss +20 -4
- package/src/components/TestResult/TestStepsEmpty/styles.scss +1 -1
- package/src/components/TestResult/TrDescription/styles.scss +1 -1
- package/src/components/TestResult/TrDropdown/index.tsx +2 -2
- package/src/components/TestResult/TrDropdown/styles.scss +1 -1
- package/src/components/TestResult/TrEmpty/styles.scss +1 -1
- package/src/components/TestResult/TrEnvironmentItem/styles.scss +4 -4
- package/src/components/TestResult/TrError/index.tsx +32 -7
- package/src/components/TestResult/TrError/styles.scss +23 -23
- package/src/components/TestResult/TrHeader/styles.scss +2 -2
- package/src/components/TestResult/TrHistory/styles.scss +6 -6
- package/src/components/TestResult/TrInfo/styles.scss +8 -8
- package/src/components/TestResult/TrLinks/index.tsx +2 -2
- package/src/components/TestResult/TrLinks/styles.scss +2 -2
- package/src/components/TestResult/TrMetadata/index.tsx +1 -1
- package/src/components/TestResult/TrMetadata/styles.scss +1 -1
- package/src/components/TestResult/TrNavigation/index.tsx +1 -1
- package/src/components/TestResult/TrNavigation/styles.scss +2 -2
- package/src/components/TestResult/TrOverview.tsx +2 -0
- package/src/components/TestResult/TrParameters/index.tsx +1 -1
- package/src/components/TestResult/TrParameters/styles.scss +1 -1
- package/src/components/TestResult/TrPrevStatuses/styles.scss +8 -8
- package/src/components/TestResult/TrPwTraces/styles.scss +1 -1
- package/src/components/TestResult/TrRetriesView/styles.scss +3 -3
- package/src/components/TestResult/TrSetup/index.tsx +9 -3
- package/src/components/TestResult/TrSeverity/styles.scss +7 -7
- package/src/components/TestResult/TrStatus/styles.scss +2 -35
- package/src/components/TestResult/TrSteps/TrAttachment.tsx +79 -43
- package/src/components/TestResult/TrSteps/TrAttachmentInfo.tsx +44 -17
- package/src/components/TestResult/TrSteps/TrErrorStep.tsx +3 -0
- package/src/components/TestResult/TrSteps/TrStep.tsx +9 -4
- package/src/components/TestResult/TrSteps/TrStepHeader.tsx +8 -5
- package/src/components/TestResult/TrSteps/index.tsx +7 -4
- package/src/components/TestResult/TrSteps/stepTreeExpansion.ts +27 -9
- package/src/components/TestResult/TrSteps/styles.scss +80 -20
- package/src/components/TestResult/TrTeardown/index.tsx +9 -3
- package/src/components/TestResult/bodyItems.ts +1 -1
- package/src/components/TestResult/index.tsx +8 -2
- package/src/components/TestResult/styles.scss +10 -1
- package/src/components/TestResult/trOverviewFocus.scss +4 -0
- package/src/components/Timeline/styles.scss +6 -6
- package/src/components/Tree/index.tsx +54 -5
- package/src/components/Tree/styles.scss +55 -35
- package/src/hooks/useTestResultOverviewFocusScroll.ts +23 -0
- package/src/index.html +30 -33
- package/src/index.tsx +12 -6
- package/src/locales/ar.json +61 -1
- package/src/locales/az.json +61 -1
- package/src/locales/de.json +61 -1
- package/src/locales/en.json +61 -1
- package/src/locales/es.json +61 -1
- package/src/locales/fr.json +61 -1
- package/src/locales/he.json +61 -1
- package/src/locales/hy.json +61 -1
- package/src/locales/it.json +61 -1
- package/src/locales/ja.json +61 -1
- package/src/locales/ka.json +61 -1
- package/src/locales/kr.json +61 -1
- package/src/locales/nl.json +61 -1
- package/src/locales/pl.json +61 -1
- package/src/locales/pt.json +61 -1
- package/src/locales/ru.json +61 -1
- package/src/locales/sv.json +61 -1
- package/src/locales/tr.json +61 -1
- package/src/locales/uk.json +61 -1
- package/src/locales/zh-TW.json +61 -1
- package/src/locales/zh.json +61 -1
- package/src/stores/keyboard.ts +371 -0
- package/src/stores/keyboardActions.ts +769 -0
- package/src/stores/locale.ts +1 -0
- package/src/stores/reportEnvSections.ts +6 -0
- package/src/stores/reportRootTabs.ts +95 -0
- package/src/stores/search.ts +147 -0
- package/src/stores/testResultOverviewNav.ts +119 -0
- package/src/stores/testResultTabs.ts +62 -0
- package/src/stores/timeline.ts +1 -1
- package/src/stores/tree.ts +42 -4
- package/src/stores/treeFilters/store.ts +3 -36
- package/src/styles/_pane-active.scss +8 -0
- package/src/styles.scss +1 -1
- package/src/utils/flattenTestResultOverview.ts +182 -0
- package/src/utils/trOverviewFocus.ts +18 -0
- package/test/components/EnvironmentPicker.test.tsx +21 -3
- package/test/components/Header/CiInfo.test.tsx +8 -0
- package/test/components/Header.test.tsx +8 -0
- package/test/components/ReportGlobals.test.tsx +9 -1
- package/test/components/TestResult/PwTraceButton.test.tsx +8 -0
- package/test/components/TestResult/TrErrorStep.test.tsx +8 -0
- package/test/components/TestResult/TrOverview.test.tsx +30 -10
- package/test/components/TestResult/TrSteps.test.tsx +73 -0
- package/test/components/TestResult/bodyItems.test.ts +9 -1
- package/test/components/TestResult/openPwTraceInNewTab.test.ts +8 -0
- package/test/components/TestResult/stepTreeExpansion.test.ts +10 -2
- package/test/components/Timeline.test.tsx +15 -7
- package/test/stores/keyboard/keyboardActions.test.ts +615 -0
- package/test/stores/search.test.ts +143 -0
- package/test/stores/treeFilters/actions.test.ts +8 -0
- package/test/utils/flattenTestResultOverview.test.ts +57 -0
- package/test/utils/ownerAddress.test.ts +9 -1
- package/test/utils/treeFilters.test.ts +9 -1
- package/types.d.ts +17 -0
- package/webpack.config.js +3 -0
- package/CONTRIBUTING.md +0 -34
- package/dist/multi/173.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/174.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/252.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/282.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/29.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/310.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/527.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/600.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/605.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/638.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/672.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/686.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/725.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/741.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/749.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/755.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/943.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/980.app-f008fb8342025f2b1ace.js +0 -1
- package/dist/multi/app-f008fb8342025f2b1ace.js +0 -2
- package/dist/multi/styles-9f7a23a0c8b79fa76981.css +0 -58
- package/dist/single/app-07332238da9897064301.js +0 -2
- package/src/assets/scss/day.scss +0 -53
- package/src/assets/scss/fonts.scss +0 -3
- package/src/assets/scss/night.scss +0 -63
- package/src/assets/scss/palette.scss +0 -393
- package/src/assets/scss/theme.scss +0 -330
- package/src/assets/scss/vars.scss +0 -11
- /package/dist/multi/{app-f008fb8342025f2b1ace.js.LICENSE.txt → app-d36b0855e3e7a53eeee9.js.LICENSE.txt} +0 -0
- /package/dist/single/{app-07332238da9897064301.js.LICENSE.txt → app-62171f5f51b5954a787c.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/web-awesome",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "The static files for Allure Awesome Report",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
"types": "./types.d.ts",
|
|
16
16
|
"scripts": {
|
|
17
17
|
"clean": "rimraf dist",
|
|
18
|
-
"dev": "
|
|
18
|
+
"dev": "run-s dev:demo dev:copy dev:serve",
|
|
19
|
+
"dev:demo": "rimraf out/demo && yarn run -T allure generate ${ALLURE_RESULTS_DIR:-../sandbox/allure-results} --config=./allurerc-dev.mjs --output=./out/demo",
|
|
20
|
+
"dev:copy": "rimraf out/dev/data out/dev/widgets && mkdir -p out/dev && cp -R out/demo/data out/dev/data && cp -R out/demo/widgets out/dev/widgets",
|
|
21
|
+
"dev:serve": "webpack serve --mode development",
|
|
19
22
|
"build": "run-s clean 'build:prod:*'",
|
|
20
23
|
"build:dev": "run-s clean 'build:dev:*'",
|
|
21
24
|
"build:prod:single": "SINGLE_FILE_MODE=1 webpack --mode production",
|
|
@@ -27,16 +30,17 @@
|
|
|
27
30
|
"lint:fix": "oxlint --import-plugin --fix src test features stories"
|
|
28
31
|
},
|
|
29
32
|
"dependencies": {
|
|
30
|
-
"@allurereport/charts-api": "3.
|
|
31
|
-
"@allurereport/core-api": "3.
|
|
32
|
-
"@allurereport/plugin-api": "3.
|
|
33
|
-
"@allurereport/web-commons": "3.
|
|
34
|
-
"@allurereport/web-components": "3.
|
|
33
|
+
"@allurereport/charts-api": "3.9.0",
|
|
34
|
+
"@allurereport/core-api": "3.9.0",
|
|
35
|
+
"@allurereport/plugin-api": "3.9.0",
|
|
36
|
+
"@allurereport/web-commons": "3.9.0",
|
|
37
|
+
"@allurereport/web-components": "3.9.0",
|
|
35
38
|
"@preact/signals": "^2.6.1",
|
|
36
39
|
"clsx": "^2.1.1",
|
|
37
40
|
"d3-shape": "^3.2.0",
|
|
38
41
|
"i18next": "^24.0.2",
|
|
39
42
|
"md5": "^2.3.0",
|
|
43
|
+
"minisearch": "^7.2.0",
|
|
40
44
|
"preact": "^10.28.2",
|
|
41
45
|
"prismjs": "^1.30.0"
|
|
42
46
|
},
|
|
@@ -58,6 +62,7 @@
|
|
|
58
62
|
"@types/prismjs": "^1.26.5",
|
|
59
63
|
"@vitest/runner": "^3.2.4",
|
|
60
64
|
"@vitest/snapshot": "^3.2.4",
|
|
65
|
+
"allure-js-commons": "^3.3.3",
|
|
61
66
|
"allure-vitest": "^3.3.2",
|
|
62
67
|
"autoprefixer": "^10.4.20",
|
|
63
68
|
"babel-loader": "^9.2.1",
|
|
@@ -136,8 +136,8 @@ table {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
body {
|
|
139
|
-
color: var(--
|
|
140
|
-
background: var(--bg-
|
|
139
|
+
color: var(--color-text-primary);
|
|
140
|
+
background: var(--color-bg-canvas);
|
|
141
141
|
font-family: var(--font-family);
|
|
142
142
|
-webkit-text-size-adjust: 100%;
|
|
143
143
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
5
|
-
@import "
|
|
6
|
-
@import "
|
|
1
|
+
@import "../../../../web-components/src/assets/scss/fonts.scss";
|
|
2
|
+
@import "../../../../web-components/src/assets/scss/typography.scss";
|
|
3
|
+
@import "../../../../web-components/src/assets/scss/palette.scss";
|
|
4
|
+
@import "../../../../web-components/src/assets/scss/semantic.scss";
|
|
5
|
+
@import "../../../../web-components/src/assets/scss/spacing.scss";
|
|
6
|
+
@import "../../../../web-components/src/assets/scss/radius.scss";
|
|
7
|
+
@import "../../../../web-components/src/assets/scss/effects.scss";
|
|
8
|
+
@import "../../../../web-components/src/assets/scss/motion.scss";
|
|
7
9
|
@import "common.scss";
|
|
@@ -2,6 +2,7 @@ import { Loadable, PageLoader } from "@allurereport/web-components";
|
|
|
2
2
|
|
|
3
3
|
import MainReport from "@/components/MainReport";
|
|
4
4
|
import TestResult from "@/components/TestResult";
|
|
5
|
+
import { focusTestResultPane, focusTreePane } from "@/stores/keyboard";
|
|
5
6
|
import { rootTabRoute, testResultRoute } from "@/stores/router";
|
|
6
7
|
import { testResultStore } from "@/stores/testResults";
|
|
7
8
|
import { treeStore } from "@/stores/tree";
|
|
@@ -20,7 +21,13 @@ export const BaseLayout = () => {
|
|
|
20
21
|
|
|
21
22
|
if (matches) {
|
|
22
23
|
return (
|
|
23
|
-
<div
|
|
24
|
+
<div
|
|
25
|
+
className={styles.layout}
|
|
26
|
+
data-testid="base-layout"
|
|
27
|
+
data-tree-scroll-container
|
|
28
|
+
data-tr-scroll-container
|
|
29
|
+
onMouseDown={() => focusTestResultPane()}
|
|
30
|
+
>
|
|
24
31
|
<Loadable
|
|
25
32
|
source={testResultStore}
|
|
26
33
|
renderLoader={() => <PageLoader />}
|
|
@@ -38,7 +45,12 @@ export const BaseLayout = () => {
|
|
|
38
45
|
}
|
|
39
46
|
|
|
40
47
|
return (
|
|
41
|
-
<div
|
|
48
|
+
<div
|
|
49
|
+
className={styles.layout}
|
|
50
|
+
data-testid="base-layout"
|
|
51
|
+
data-tree-scroll-container
|
|
52
|
+
onMouseDown={() => focusTreePane()}
|
|
53
|
+
>
|
|
42
54
|
<div className={styles.wrapper}>
|
|
43
55
|
<Loadable source={treeStore} renderLoader={() => <PageLoader />} renderData={() => <MainReport />} />
|
|
44
56
|
</div>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.layout {
|
|
2
2
|
margin: auto;
|
|
3
3
|
padding: 0 32px;
|
|
4
|
-
background: var(--bg-
|
|
5
|
-
color: var(--
|
|
4
|
+
background: var(--color-bg-canvas);
|
|
5
|
+
color: var(--color-text-primary);
|
|
6
6
|
font-size: 14px;
|
|
7
7
|
height: 100%;
|
|
8
8
|
overflow: auto;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
.content {
|
|
20
20
|
box-shadow: var(--shadow-small);
|
|
21
|
-
background: var(--bg-
|
|
21
|
+
background: var(--color-bg-primary);
|
|
22
22
|
border-radius: 12px;
|
|
23
23
|
width: 100%;
|
|
24
24
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
.title {
|
|
38
38
|
font-size: 14px;
|
|
39
39
|
line-height: 1.25;
|
|
40
|
-
color: var(--
|
|
40
|
+
color: var(--color-text-primary);
|
|
41
41
|
margin-bottom: 8px;
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
display: flex;
|
|
54
54
|
justify-content: space-between;
|
|
55
55
|
align-items: center;
|
|
56
|
-
padding: 8px 24px;
|
|
56
|
+
padding: 8px 60px 8px 24px;
|
|
57
57
|
width: 100%;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
font-size: 24px;
|
|
3
3
|
margin-bottom: 16px;
|
|
4
4
|
&:not(:first-child) {
|
|
5
|
-
border-top: 1px solid var(--
|
|
5
|
+
border-top: 1px solid var(--color-border-subtle);
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.tree-item-category-name {
|
|
25
|
-
color: var(--
|
|
25
|
+
color: var(--color-text-primary);
|
|
26
26
|
flex: 1 1 auto;
|
|
27
27
|
min-width: 0;
|
|
28
28
|
overflow: hidden;
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
bottom: 0;
|
|
10
10
|
left: 12px;
|
|
11
11
|
width: 1px;
|
|
12
|
-
background: var(--
|
|
12
|
+
background: var(--color-border-subtle);
|
|
13
13
|
opacity: 0;
|
|
14
14
|
transition: opacity 200ms;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.tree-item {
|
|
19
|
-
border-top: 1px solid var(--
|
|
19
|
+
border-top: 1px solid var(--color-border-subtle);
|
|
20
20
|
// padding-left: 24px;
|
|
21
21
|
|
|
22
22
|
}
|
|
@@ -30,18 +30,17 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.tree-item-group[data-group-key="flaky"] :global(.styles_tree-section-title) {
|
|
33
|
-
color: var(--
|
|
33
|
+
color: var(--color-intent-warning-text);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.tree-item-group[data-group-key="transition"] :global(.styles_tree-section-title) {
|
|
37
|
-
color: var(--
|
|
37
|
+
color: var(--color-intent-primary-text);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.tree-item-group[data-group-key="owner"] :global(.styles_tree-section-title) {
|
|
41
|
-
color: var(--
|
|
41
|
+
color: var(--color-intent-info-text);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.tree-item-group[data-group-key="layer"] :global(.styles_tree-section-title) {
|
|
45
|
-
color: var(--
|
|
45
|
+
color: var(--color-intent-success-text);
|
|
46
46
|
}
|
|
47
|
-
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
.tree-item-history {
|
|
6
6
|
padding: 0;
|
|
7
|
-
background: var(--bg-
|
|
7
|
+
background: var(--color-bg-primary);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.tree-item-history :global(.styles_tree-section-title) {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.tree-item-history-name {
|
|
35
|
-
color: var(--
|
|
35
|
+
color: var(--color-text-primary);
|
|
36
36
|
flex: 1 1 auto;
|
|
37
37
|
min-width: 0;
|
|
38
38
|
overflow: hidden;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.tree-item-label {
|
|
2
2
|
padding: 0;
|
|
3
|
-
border-top: 1px solid var(--
|
|
3
|
+
border-top: 1px solid var(--color-border-subtle);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.tree-item-label-status {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.tree-item-label-bubble {
|
|
76
|
-
background: var(--
|
|
76
|
+
background: var(--color-border-default);
|
|
77
77
|
border-radius: 4px;
|
|
78
78
|
padding: 2px 4px;
|
|
79
79
|
line-height: 16px;
|
|
@@ -57,7 +57,7 @@ export const MessageTreeItem: FC<MessageTreeItemProps> = ({
|
|
|
57
57
|
}) => {
|
|
58
58
|
const { t } = useI18n("ui");
|
|
59
59
|
const status = statusFromStatistic(node.statistic);
|
|
60
|
-
const sanitizedMessage = ansiToHTML(node.name ?? "", { fg: "var(--
|
|
60
|
+
const sanitizedMessage = ansiToHTML(node.name ?? "", { fg: "var(--color-text-primary)", colors: {} });
|
|
61
61
|
const stickyStyle = createCategoriesStickyStyle(depth);
|
|
62
62
|
const hasLongMessage = (node.name ?? "").length > 80;
|
|
63
63
|
const [isMessageExpanded, setIsMessageExpanded] = useState(false);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
gap: 8px;
|
|
12
12
|
align-items: center;
|
|
13
13
|
flex: 1 1 auto;
|
|
14
|
-
background: var(--bg-
|
|
14
|
+
background: var(--color-bg-primary);
|
|
15
15
|
min-height: var(--tree-section-min-height, auto);
|
|
16
16
|
padding: 4px 0;
|
|
17
17
|
position: var(--tree-section-position, relative);
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
width: 100%;
|
|
25
25
|
padding: 4px 8px 4px 16px;
|
|
26
26
|
border-radius: 4px;
|
|
27
|
-
background-color: var(--bg-
|
|
27
|
+
background-color: var(--color-status-failed-bg-subtle);
|
|
28
28
|
position: relative;
|
|
29
29
|
overflow: hidden;
|
|
30
30
|
text-overflow: ellipsis;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
position: absolute;
|
|
40
40
|
left: 0;
|
|
41
41
|
top: 0;
|
|
42
|
-
background-color: var(--
|
|
42
|
+
background-color: var(--color-status-failed-chart);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -123,56 +123,56 @@
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.message-status-failed {
|
|
126
|
-
background-color: var(--bg-
|
|
126
|
+
background-color: var(--color-status-failed-bg-subtle);
|
|
127
127
|
&:before {
|
|
128
|
-
background-color: var(--
|
|
128
|
+
background-color: var(--color-status-failed-chart);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.message-status-broken {
|
|
133
|
-
background-color: var(--bg-
|
|
133
|
+
background-color: var(--color-status-broken-bg-subtle);
|
|
134
134
|
&:before {
|
|
135
|
-
background-color: var(--
|
|
135
|
+
background-color: var(--color-status-broken-chart);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.message-status-skipped {
|
|
140
|
-
background-color: var(--bg-
|
|
140
|
+
background-color: var(--color-status-skipped-bg-subtle);
|
|
141
141
|
&:before {
|
|
142
|
-
background-color: var(--
|
|
142
|
+
background-color: var(--color-status-skipped-chart);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.message-status-unknown {
|
|
147
|
-
background-color: var(--bg-
|
|
147
|
+
background-color: var(--color-status-unknown-bg-subtle);
|
|
148
148
|
&:before {
|
|
149
|
-
background-color: var(--
|
|
149
|
+
background-color: var(--color-status-unknown-chart);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
.message-status-passed {
|
|
154
|
-
background-color: var(--bg-
|
|
154
|
+
background-color: var(--color-status-passed-bg-subtle);
|
|
155
155
|
&:before {
|
|
156
|
-
background-color: var(--
|
|
156
|
+
background-color: var(--color-status-passed-chart);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.message-color-failed {
|
|
161
|
-
color: var(--
|
|
161
|
+
color: var(--color-status-failed-text);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.message-color-broken {
|
|
165
|
-
color: var(--
|
|
165
|
+
color: var(--color-status-broken-text);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.message-color-skipped {
|
|
169
|
-
color: var(--
|
|
169
|
+
color: var(--color-status-skipped-text);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.message-color-passed {
|
|
173
|
-
color: var(--
|
|
173
|
+
color: var(--color-status-passed-text);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
.message-color-unknown {
|
|
177
|
-
color: var(--
|
|
177
|
+
color: var(--color-status-unknown-text);
|
|
178
178
|
}
|
|
@@ -6,7 +6,7 @@ export const createCategoriesStickyStyle = (depth: number, overrides: StickyOver
|
|
|
6
6
|
"--tree-section-position": "sticky",
|
|
7
7
|
"--tree-section-top": `calc(${depth} * var(--categories-sticky-step))`,
|
|
8
8
|
"--tree-section-z": `${100 - depth}`,
|
|
9
|
-
"--tree-section-bg": "var(--bg-
|
|
9
|
+
"--tree-section-bg": "var(--color-bg-primary)",
|
|
10
10
|
"--tree-section-min-height": "var(--categories-sticky-step)",
|
|
11
11
|
...overrides,
|
|
12
12
|
}) as Record<string, string>;
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
.logoWrapper {
|
|
12
12
|
margin-right: auto;
|
|
13
|
-
color: var(--
|
|
13
|
+
color: var(--color-text-secondary);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.logo {
|
|
17
17
|
margin-right: 8px;
|
|
18
|
-
color: var(--
|
|
18
|
+
color: var(--color-icon-secondary);
|
|
19
19
|
top: -2px;
|
|
20
20
|
}
|
|
21
21
|
|