diff --git a/.gitlab/ci/global.gitlab-ci.yml b/.gitlab/ci/global.gitlab-ci.yml index 85ccc58923e..33b544ad8fd 100644 --- a/.gitlab/ci/global.gitlab-ci.yml +++ b/.gitlab/ci/global.gitlab-ci.yml @@ -532,8 +532,7 @@ - name: clickhouse/clickhouse-server:23.11.3.23-alpine alias: clickhouse variables: - CLICKHOUSE_USER: clickhouse - CLICKHOUSE_PASSWORD: clickhouse + CLICKHOUSE_USER: default CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1 CLICKHOUSE_DB: gitlab_clickhouse_test diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index 42d78649cfd..ab82a1b31aa 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -2001,7 +2001,7 @@ when: never - <<: *if-merge-request-targeting-stable-branch when: never - - <<: *if-default-refs + - <<: *if-not-merge-request when: never - !reference [".rails:rules:ee-and-foss-migration", rules] diff --git a/app/assets/javascripts/boards/components/board_card.vue b/app/assets/javascripts/boards/components/board_card.vue index 29a81a80d5f..5a6d5714e8c 100644 --- a/app/assets/javascripts/boards/components/board_card.vue +++ b/app/assets/javascripts/boards/components/board_card.vue @@ -1,5 +1,6 @@ diff --git a/app/assets/javascripts/repository/constants.js b/app/assets/javascripts/repository/constants.js index 003cf3a5475..4aa9de465e3 100644 --- a/app/assets/javascripts/repository/constants.js +++ b/app/assets/javascripts/repository/constants.js @@ -6,14 +6,6 @@ export const TREE_PAGE_SIZE = 100; // the amount of items to be fetched per (bat export const COMMIT_BATCH_SIZE = 25; // we request commit data in batches of 25 -export const SECONDARY_OPTIONS_TEXT = __('Cancel'); -export const COMMIT_LABEL = __('Commit message'); -export const TARGET_BRANCH_LABEL = __('Target branch'); -export const TOGGLE_CREATE_MR_LABEL = __('Create a merge request for this change'); -export const NEW_BRANCH_IN_FORK = __( - 'GitLab will create a branch in your fork and start a merge request.', -); - export const COMMIT_MESSAGE_SUBJECT_MAX_LENGTH = 52; export const COMMIT_MESSAGE_BODY_MAX_LENGTH = 72; diff --git a/app/assets/javascripts/usage_quotas/components/sectioned_percentage_bar.vue b/app/assets/javascripts/usage_quotas/components/sectioned_percentage_bar.vue index c61adb3cc23..1d4bf214825 100644 --- a/app/assets/javascripts/usage_quotas/components/sectioned_percentage_bar.vue +++ b/app/assets/javascripts/usage_quotas/components/sectioned_percentage_bar.vue @@ -11,6 +11,8 @@ export default { * label: string; * value: number; * formattedValue: number | string; + * color: string; + * hideLabel: boolean, * }[] */ sections: { @@ -27,10 +29,9 @@ export default { computedSections() { return this.sections.map((section, index) => { const percentage = section.value / this.sectionsCombinedValue; - return { ...section, - backgroundColor: colorFromDefaultPalette(index), + backgroundColor: section.color ?? colorFromDefaultPalette(index), cssPercentage: `${roundOffFloat(percentage * 100, 4)}%`, srLabelPercentage: formatNumber(percentage, { style: 'percent', @@ -39,6 +40,9 @@ export default { }; }); }, + sectionLabels() { + return this.computedSections.filter((s) => !s.hideLabel); + }, }, }; @@ -62,7 +66,7 @@ export default {