stable

Clone or download

Read-only

Remove @each loop for cross-reference badges

part of request #26395 Avoid @each rules for basic swatch color usage No functional change expected. Cross-reference badges are still colored by the tracker color. They still display correctly on dark background in the switch-to modal. TTM "current bugs or requirements" are always white, unless there are more than two (in a dropdown). Notes: This also removes the duplication of the styles between FP and BP. The badges' SCSS is moved to a dedicated lib that is shared between them. Change-Id: Ic4284258d9031539c898744c9f08a6d574e60618

Modified Files

Name
A lib/frontend/cross-ref-badges/README.md +5 −0 Go to diff View file
A lib/frontend/cross-ref-badges/package.json +13 −0 Go to diff View file
A lib/frontend/cross-ref-badges/pnpm-lock.yaml +7 −0 Go to diff View file
R src/themes/BurningParrot/css/includes/_cross-ref-badges.scss Go to diff View file
M plugins/agiledashboard/templates/pane-details-items-list.mustache +1 −1 Go to diff View file
M plugins/baseline/scripts/baseline/components/common/ArtifactBadge.test.js +1 −1 Go to diff View file
M plugins/baseline/scripts/baseline/components/common/ArtifactBadge.vue +1 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/components/ArtifactTableRow.vue +1 −1 Go to diff View file
M plugins/testmanagement/include/TestManagement/Heartbeat/LatestHeartbeatsCollector.php +4 −4 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail.tpl.html +4 −4 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-link-issue.tpl.html +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemCard.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/__snapshots__/BacklogItemCard.test.ts.snap +1 −1 Go to diff View file
M plugins/timetracking/scripts/personal-timetracking-widget/src/components/WidgetLinkToArtifact.vue +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/LatestHeartbeatsCollector.php +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactTemplate.test.ts +1 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactTemplate.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field/link-field.tpl.html +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html +1 −1 Go to diff View file
M plugins/tracker/templates/form-element/reference/cross_reference.mustache +1 −1 Go to diff View file
M pnpm-workspace.yaml +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/RecentItems/RecentItemsEntry.vue +1 −1 Go to diff View file
M src/scripts/switch-to/src/components/Body/RecentItems/__snapshots__/RecentItemsEntry.test.ts.snap +2 −2 Go to diff View file
M src/themes/BurningParrot/css/burning-parrot.scss +1 −1 Go to diff View file
M src/themes/BurningParrot/package.json +3 −2 Go to diff View file
A src/themes/BurningParrot/pnpm-lock.yaml +7 −0 Go to diff View file
D src/themes/FlamingParrot/css/utils/_cross-ref-badges.scss +0 −85 Go to diff View file
M src/themes/FlamingParrot/css/utils/_definitions.scss +1 −1 Go to diff View file
A src/themes/FlamingParrot/package.json +11 −0 Go to diff View file
A src/themes/FlamingParrot/pnpm-lock.yaml +7 −0 Go to diff View file