Skip to content

Commit baa5910

Browse files
authored
Merge pull request #4848 from learningequality/unstable
Update `search-recommendations` with the latest from `unstable`
2 parents 3accf66 + d687a5c commit baa5910

File tree

18 files changed

+95
-526
lines changed

18 files changed

+95
-526
lines changed

.github/pull_request_template.md

Lines changed: 0 additions & 84 deletions
This file was deleted.

.github/workflows/frontendlint.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,6 @@ jobs:
4545
npm rebuild node-sass
4646
- name: Run tests
4747
run: yarn run lint-frontend:format
48-
- name: Check for modified files
49-
if: github.event.pull_request && github.event.pull_request.head.repo.full_name == github.repository
50-
id: git-check
51-
run: echo ::set-output name=modified::$(git diff-index --name-only HEAD)
52-
- uses: tibdex/github-app-token@v2
53-
if: github.event.pull_request && github.event.pull_request.head.repo.full_name == github.repository && steps.git-check.outputs.modified != ''
54-
id: generate-token
55-
with:
56-
app_id: ${{ secrets.CODE_FIX_APP_ID }}
57-
private_key: ${{ secrets.CODE_FIX_APP_PRIVATE_KEY }}
58-
- name: Push changes
59-
if: github.event.pull_request && github.event.pull_request.head.repo.full_name == github.repository && steps.git-check.outputs.modified != ''
60-
run: |
61-
git config --global user.name 'Learning Equality'
62-
git config --global user.email 'dev@learningequality.org'
63-
git remote set-url origin https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/${{ github.repository }}
64-
git commit -am "Frontend linting of ${{ steps.git-check.outputs.modified }}"
65-
git push
48+
- name: Run pre-commit-ci-lite
49+
uses: pre-commit-ci/lite-action@v1.1.0
50+
if: always()

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ migrate:
3838
# 4) Remove the management command from this `deploy-migrate` recipe
3939
# 5) Repeat!
4040
deploy-migrate:
41-
python contentcuration/manage.py rectify_incorrect_contentnode_source_fields
41+
echo "Nothing to do here!"
4242

4343
contentnodegc:
4444
python contentcuration/manage.py garbage_collect

contentcuration/contentcuration/frontend/RecommendedResourceCard/components/RecommendedResourceCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class="recommended-resource-card"
55
:to="to"
66
:title="title"
7-
layout="horizontal"
7+
orientation="horizontal"
88
:headingLevel="headingLevel"
99
thumbnailScaleType="contain"
1010
thumbnailDisplay="small"

contentcuration/contentcuration/frontend/channelEdit/components/ContentNodeEditListItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<VListTileAction class="handle-col" :aria-hidden="!hover" @click.stop>
3131
<transition name="fade">
3232
<VBtn :disabled="copying" flat icon>
33-
<Icon :color="$themePalette.grey.v_600" icon="dragVertical" />
33+
<Icon :color="$themePalette.grey.v_700" icon="dragVertical" />
3434
</VBtn>
3535
</transition>
3636
</VListTileAction>

contentcuration/contentcuration/frontend/channelEdit/components/ContentNodeValidator.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<span v-else-if="error" class="mx-2">
1010
<VTooltip bottom lazy>
1111
<template #activator="{ on }">
12-
<VIconWrapper :color="$themePalette.red.v_1100" v-on="on">
12+
<VIconWrapper :color="$themePalette.red.v_600" v-on="on">
1313
error
1414
</VIconWrapper>
1515
</template>
@@ -19,7 +19,7 @@
1919
<span v-else-if="warning" class="mx-2">
2020
<VTooltip bottom lazy>
2121
<template #activator="{ on }">
22-
<VIconWrapper :color="$themePalette.yellow.v_1100" v-on="on">
22+
<VIconWrapper :color="$themePalette.yellow.v_600" v-on="on">
2323
warning
2424
</VIconWrapper>
2525
</template>

contentcuration/contentcuration/frontend/shared/styles/vuetify.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4562,7 +4562,7 @@ p {
45624562
transition-property: box-shadow;
45634563
}
45644564
.v-card--hover:hover {
4565-
@extend %dropshadow-4dp;
4565+
@extend %dropshadow-6dp;
45664566
}
45674567
.v-card--hover.v-card--flat:hover {
45684568
@extend %dropshadow-2dp;

contentcuration/contentcuration/frontend/shared/views/errors/TechnicalTextBlock.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
wrap="soft"
1010
aria-hidden="true"
1111
:style="[dynamicHeightStyle, {
12-
backgroundColor: $themePalette.grey.v_50,
13-
border: $themePalette.grey.v_100,
12+
backgroundColor: $themePalette.grey.v_100,
13+
border: $themePalette.grey.v_200,
1414
}]"
1515
>
1616
</textarea>

contentcuration/contentcuration/frontend/shared/vuetify/theme.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ export default function theme() {
66
const tokens = themeTokens();
77
return Object.assign(
88
{
9-
loading: palette.black,
10-
primaryBackground: brand.primary.v_200,
11-
backgroundColor: palette.grey.v_50,
12-
greyBackground: palette.grey.v_200,
9+
loading: palette.grey.v_900,
10+
primaryBackground: brand.primary.v_100,
11+
backgroundColor: palette.grey.v_100,
12+
greyBackground: palette.grey.v_300,
1313
greyBorder: palette.grey.v_400,
14-
grey: palette.grey.v_600,
14+
grey: palette.grey.v_700,
1515
darkGrey: palette.grey.v_800,
1616
greenSuccess: tokens.success,
1717
topic: palette.grey.v_400,
@@ -23,11 +23,11 @@ export default function theme() {
2323
html5: tokens.explore,
2424
zim: tokens.explore,
2525
slideshow: tokens.read,
26-
channelHighlightDefault: palette.grey.v_200,
27-
draggableDropZone: palette.grey.v_100,
28-
draggableDropOverlay: brand.primary.v_400,
29-
greenHighlightBackground: brand.secondary.v_200,
30-
roleVisibilityCoach: palette.lightblue.v_1100,
26+
channelHighlightDefault: palette.grey.v_300,
27+
draggableDropZone: palette.grey.v_200,
28+
draggableDropOverlay: brand.primary.v_200,
29+
greenHighlightBackground: brand.secondary.v_100,
30+
roleVisibilityCoach: palette.lightblue.v_600,
3131
},
3232
tokens
3333
);

contentcuration/contentcuration/tests/test_rectify_source_field_migraiton_command.py

Lines changed: 0 additions & 182 deletions
This file was deleted.

0 commit comments

Comments
 (0)