Skip to content

Commit bc73043

Browse files
committed
Resolve merge conflicts from upstream v0.62.1 sync
* Keep teal brand and warning colours in light.ts and dark.ts * Take v0.62.1 version for all other values
1 parent 9d47cb2 commit bc73043

5 files changed

Lines changed: 2 additions & 114 deletions

File tree

.clj-kondo/config/modules/config.edn

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,8 @@
160160
metabase.agent-api.init}
161161
:uses #{api
162162
auth-identity
163-
<<<<<<< HEAD
164-
collections
165-
||||||| 0a60f2436f
166-
=======
167163
channel
168164
collections
169-
>>>>>>> v0.62.1
170165
dashboards
171166
events
172167
lib

.github/workflows/backend.yml

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -49,67 +49,6 @@ jobs:
4949
- run: clojure -X:dev:ee:ee-dev:drivers:drivers-dev:test:eastwood/test
5050
name: Run Eastwood linter on our backend tests
5151

52-
<<<<<<< HEAD
53-
be-linter-eastwood-test-changed:
54-
# PR / merge queue: lint only the test namespaces touched by the diff.
55-
if: ${{ !inputs.skip && (github.event_name == 'pull_request' || github.event_name == 'merge_group') }}
56-
runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
57-
timeout-minutes: 15
58-
name: Eastwood (changed tests only)
59-
steps:
60-
- uses: actions/checkout@v4
61-
with:
62-
# Enough history for `git merge-base` on a typical PR.
63-
fetch-depth: 200
64-
- name: Prepare back-end environment
65-
uses: ./.github/actions/prepare-backend
66-
- name: Compute changed test namespaces
67-
id: changed
68-
env:
69-
BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha }}
70-
HEAD_SHA: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha || github.sha }}
71-
run: |
72-
set -euo pipefail
73-
74-
# Diff from the merge-base so changes that landed on the base branch after the PR was
75-
# last synced don't widen our scope. Falls back to BASE_SHA if older than fetched depth.
76-
git fetch --no-tags --depth=200 origin "$BASE_SHA"
77-
DIFF_BASE=$(git merge-base "$BASE_SHA" "$HEAD_SHA" 2>/dev/null || echo "$BASE_SHA")
78-
# Test roots we lint: core, EE, and each driver module's test tree.
79-
# :eastwood/test derives matching :source-paths from the classpath, so any
80-
# namespace we name here is reachable. Include renames (R) so a test that
81-
# was just renamed still gets linted under its new name.
82-
FILES=$(git diff --name-only --diff-filter=AMR "$DIFF_BASE" "$HEAD_SHA" \
83-
-- 'test/**/*.clj' 'test/**/*.cljc' \
84-
'enterprise/backend/test/**/*.clj' 'enterprise/backend/test/**/*.cljc' \
85-
'modules/drivers/**/test/**/*.clj' 'modules/drivers/**/test/**/*.cljc')
86-
87-
if [ -z "$FILES" ]; then
88-
echo "No backend test files changed; skipping lint."
89-
echo "namespaces=" >> "$GITHUB_OUTPUT"
90-
exit 0
91-
fi
92-
93-
# Defence-in-depth: paths flow into a subsequent shell command via $GITHUB_OUTPUT.
94-
if grep -Eqv '^[A-Za-z0-9_./-]+$' <<<"$FILES"; then
95-
echo "Refusing to lint: unexpected characters in changed file paths:" >&2
96-
echo "$FILES" >&2
97-
exit 1
98-
fi
99-
100-
NS=$(sed -E 's#^(test/|enterprise/backend/test/|modules/drivers/[^/]+/test/)##; s#\.cljc?$##; s#/#.#g; s#_#-#g' <<<"$FILES" \
101-
| sort -u \
102-
| paste -sd' ' -)
103-
echo "Changed test namespaces: $NS"
104-
echo "namespaces=$NS" >> "$GITHUB_OUTPUT"
105-
- name: Run Eastwood on changed test namespaces
106-
if: steps.changed.outputs.namespaces != ''
107-
env:
108-
NAMESPACES: ${{ steps.changed.outputs.namespaces }}
109-
run: clojure -X:dev:ee:ee-dev:drivers:drivers-dev:test:eastwood/test :namespaces "[$NAMESPACES]"
110-
111-
||||||| 0a60f2436f
112-
=======
11352
be-linter-eastwood-test-changed:
11453
# PR / merge queue: lint only the test namespaces touched by the diff.
11554
if: ${{ !inputs.skip && (github.event_name == 'pull_request' || github.event_name == 'merge_group') }}
@@ -168,7 +107,6 @@ jobs:
168107
NAMESPACES: ${{ steps.changed.outputs.namespaces }}
169108
run: clojure -X:dev:ee:ee-dev:drivers:drivers-dev:test:eastwood/test :namespaces "[$NAMESPACES]"
170109

171-
>>>>>>> v0.62.1
172110
be-tests:
173111
if: ${{ !inputs.skip }}
174112
runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}

.github/workflows/docs-generate-base.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,11 @@ jobs:
3333
- name: Prepare backend environment
3434
uses: ./.github/actions/prepare-backend
3535

36-
<<<<<<< HEAD
37-
- name: Set up Babashka
38-
uses: turtlequeue/setup-babashka@2d4df498c7a578b4f3e906283f9af913590bdec7 # v1.7.0
39-
with:
40-
babashka-version: 1.12.197
41-
42-
||||||| 0a60f2436f
43-
=======
4436
- name: Set up Babashka
4537
uses: turtlequeue/setup-babashka@d78ec6570aea3b614bc695cafcceb82eb45c2af9 # v1.8.0
4638
with:
4739
babashka-version: 1.12.197
4840

49-
>>>>>>> v0.62.1
5041
- name: Generate environment variables documentation
5142
id: generate_env_docs
5243
run: |

frontend/src/metabase/ui/colors/constants/themes/dark.ts

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,8 @@ export const METABASE_DARK_THEME: MetabaseThemeV2 = {
3535
overlay: baseColors.orionAlpha[70],
3636
"background-error": baseColors.lobster[90],
3737
"background-success": baseColors.palm[90],
38-
<<<<<<< HEAD
39-
<<<<<<< HEAD
40-
brand: "#135756",
41-
=======
42-
"background-success-secondary": baseColors.palm[70],
43-
||||||| 0a60f2436f
44-
=======
4538
"background-success-secondary": baseColors.palm[70],
46-
>>>>>>> v0.62.1
47-
brand: baseColors.blue[40],
48-
>>>>>>> v0.61.3
39+
brand: "#135756",
4940
"brand-hover": baseColors.brand[30],
5041
danger: baseColors.lobster[50],
5142
error: baseColors.lobster[50],
@@ -86,18 +77,9 @@ export const METABASE_DARK_THEME: MetabaseThemeV2 = {
8677
"tooltip-background": baseColors.orion[70],
8778
"tooltip-text-secondary": baseColors.orionAlphaInverse[60],
8879
"tooltip-text": baseColors.orionAlphaInverse[80],
89-
<<<<<<< HEAD
9080
warning: "#E2B018",
9181
"background-warning": "color-mix(in srgb, #E2B018, black 70%)",
9282
"background-warning-secondary": "color-mix(in srgb, #E2B018, black 50%)",
93-
||||||| 0a60f2436f
94-
warning: baseColors.dubloon[30],
95-
"background-warning": baseColors.dubloon[90],
96-
=======
97-
warning: baseColors.dubloon[30],
98-
"background-warning": baseColors.dubloon[90],
99-
"background-warning-secondary": baseColors.dubloon[70],
100-
>>>>>>> v0.62.1
10183
info: baseColors.orion[50],
10284
"background-info": baseColors.orion[90],
10385
white: baseColors.orion[110],

frontend/src/metabase/ui/colors/constants/themes/light.ts

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,8 @@ export const METABASE_LIGHT_THEME: MetabaseThemeV2 = {
3535
overlay: baseColors.orionAlpha[60],
3636
"background-error": baseColors.lobster[10],
3737
"background-success": baseColors.palm[5],
38-
<<<<<<< HEAD
39-
<<<<<<< HEAD
40-
brand: "#135756",
41-
=======
42-
"background-success-secondary": baseColors.palm[20],
43-
||||||| 0a60f2436f
44-
=======
4538
"background-success-secondary": baseColors.palm[20],
46-
>>>>>>> v0.62.1
47-
brand: baseColors.blue[40],
48-
>>>>>>> v0.61.3
39+
brand: "#135756",
4940
"brand-hover": baseColors.brand[50],
5041
danger: baseColors.lobster[50],
5142
error: baseColors.lobster[50],
@@ -86,18 +77,9 @@ export const METABASE_LIGHT_THEME: MetabaseThemeV2 = {
8677
"tooltip-background": baseColors.orion[80],
8778
"tooltip-text-secondary": baseColors.orionAlphaInverse[60],
8879
"tooltip-text": baseColors.white,
89-
<<<<<<< HEAD
9080
warning: "#E2B018",
9181
"background-warning": "#FDF0C8",
9282
"background-warning-secondary": "color-mix(in srgb, #E2B018, white 70%)",
93-
||||||| 0a60f2436f
94-
warning: baseColors.dubloon[30],
95-
"background-warning": baseColors.dubloon[5],
96-
=======
97-
warning: baseColors.dubloon[30],
98-
"background-warning": baseColors.dubloon[5],
99-
"background-warning-secondary": baseColors.dubloon[20],
100-
>>>>>>> v0.62.1
10183
info: baseColors.orion[40],
10284
"background-info": baseColors.orion[10],
10385
white: baseColors.white,

0 commit comments

Comments
 (0)