Skip to content

Commit d053330

Browse files
author
GitLab Bot
committed
Add latest changes from gitlab-org/gitlab@master
1 parent aa068e9 commit d053330

File tree

31 files changed

+200
-241
lines changed

31 files changed

+200
-241
lines changed

app/assets/javascripts/admin/abuse_reports/constants.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const ABUSE_CATEGORIES = {
125125
},
126126
other: {
127127
backgroundColor: '#dcdcde',
128-
textColor: 'gl-text-gray-700',
128+
textColor: 'gl-text-subtle',
129129
title: s__('AbuseReport|Other'),
130130
},
131131
};

app/assets/javascripts/ci/runner/components/runner_job_status_badge.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default {
3131
};
3232
case JOB_STATUS_IDLE:
3333
return {
34-
classes: '!gl-text-gray-700 gl-shadow-inner-1-gray-400 !gl-border-gray-500',
34+
classes: '!gl-text-subtle gl-shadow-inner-1-gray-400 !gl-border-gray-500',
3535
label: I18N_JOB_STATUS_IDLE,
3636
};
3737
default:

app/assets/javascripts/projects/pipelines/charts/components/pipeline_duration_chart.vue

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script>
22
import { GlLoadingIcon } from '@gitlab/ui';
3+
import { engineeringNotation } from '@gitlab/ui/src/utils/number_utils';
34
import { GlLineChart } from '@gitlab/ui/dist/charts';
45
import { s__ } from '~/locale';
56
import { stringifyTime, parseSeconds } from '~/lib/utils/datetime/date_format_utility';
@@ -50,7 +51,18 @@ export default {
5051
},
5152
lineChartOptions: {
5253
yAxis: {
53-
name: s__('Pipeline|Seconds'),
54+
name: s__('Pipeline|Minutes'),
55+
type: 'value',
56+
axisLabel: {
57+
formatter: (seconds) => {
58+
const minutes = seconds / 60;
59+
// using engineering notation for small amounts is strange, as we'd render "milliminutes"
60+
if (minutes < 1) {
61+
return minutes.toFixed(2).replace(/\.?0*$/, '');
62+
}
63+
return engineeringNotation(minutes, 2);
64+
},
65+
},
5466
},
5567
xAxis: {
5668
name: s__('Pipeline|Time'),

app/assets/javascripts/projects/pipelines/charts/components/pipeline_status_chart.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default {
7272
v-else
7373
x-axis-type="category"
7474
:x-axis-title="s__('Pipelines|Time')"
75-
:y-axis-title="s__('Pipelines|Pipelines count')"
75+
:y-axis-title="s__('Pipelines|Number of Pipelines')"
7676
:custom-palette="$options.palette"
7777
:group-by="groupBy"
7878
:bars="bars"

app/assets/javascripts/repository/components/header_area.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export default {
241241
opened
242242
aria-hidden="true"
243243
class="gl-mr-3 gl-inline-flex"
244-
:class="{ 'gl-text-gray-700': isTreeView }"
244+
:class="{ 'gl-text-subtle': isTreeView }"
245245
/>{{ directoryName }}
246246
</h1>
247247

app/assets/javascripts/vue_merge_request_widget/components/widget/utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ const textStyleTags = {
3030
[getStartTag('success')]: '<span class="gl-font-bold gl-text-success">',
3131
[getStartTag('danger')]: '<span class="gl-font-bold gl-text-danger">',
3232
[getStartTag('critical')]: '<span class="gl-font-bold gl-text-red-800">',
33-
[getStartTag('same')]: '<span class="gl-font-bold gl-text-gray-700">',
33+
[getStartTag('same')]: '<span class="gl-font-bold gl-text-subtle">',
3434
[getStartTag('strong')]: '<span class="gl-font-bold">',
35-
[getStartTag('small')]: '<span class="gl-text-sm gl-text-gray-700">',
35+
[getStartTag('small')]: '<span class="gl-text-sm gl-text-subtle">',
3636
};
3737

3838
const escapeText = (text) =>

app/assets/javascripts/vue_shared/components/commit.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,20 +167,20 @@ export default {
167167
<gl-link
168168
v-if="mergeRequestRef"
169169
:href="mergeRequestRef.path"
170-
class="gl-text-gray-700"
170+
class="gl-text-subtle"
171171
data-testid="ref-name"
172172
>
173173
{{ mergeRequestRef.iid }}
174174
</gl-link>
175-
<gl-link v-else :href="refUrl" class="gl-text-gray-700" data-testid="ref-name">
175+
<gl-link v-else :href="refUrl" class="gl-text-subtle" data-testid="ref-name">
176176
{{ commitRef.name }}
177177
</gl-link>
178178
</tooltip-on-truncate>
179179
</div>
180180

181181
<div class="gl-inline-block gl-rounded-base gl-bg-strong gl-px-2 gl-text-sm gl-text-default">
182182
<gl-icon name="commit" class="js-commit-icon" :size="12" />
183-
<gl-link :href="commitUrl" class="gl-text-gray-700" data-testid="commit-sha">{{
183+
<gl-link :href="commitUrl" class="gl-text-subtle" data-testid="commit-sha">{{
184184
shortSha
185185
}}</gl-link>
186186
</div>

app/assets/javascripts/work_items/components/shared/work_item_sidebar_dropdown_widget.vue

+1-6
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ export default {
107107
required: false,
108108
default: () => ({}),
109109
},
110-
noResetButton: {
111-
type: Boolean,
112-
required: false,
113-
default: false,
114-
},
115110
},
116111
data() {
117112
return {
@@ -128,7 +123,7 @@ export default {
128123
return `work-item-dropdown-listbox-value-${this.dropdownName}`;
129124
},
130125
resetButton() {
131-
return this.noResetButton ? null : this.resetButtonLabel || __('Clear');
126+
return this.resetButtonLabel || __('Clear');
132127
},
133128
toggleText() {
134129
return !this.toggleDropdownText && !this.hasValue

app/assets/javascripts/work_items/components/work_item_attributes_wrapper.vue

-18
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
WIDGET_TYPE_ITERATION,
1414
WIDGET_TYPE_LABELS,
1515
WIDGET_TYPE_MILESTONE,
16-
WIDGET_TYPE_STATUS,
1716
WIDGET_TYPE_PARTICIPANTS,
1817
WIDGET_TYPE_PROGRESS,
1918
WIDGET_TYPE_START_AND_DUE_DATE,
@@ -55,7 +54,6 @@ export default {
5554
WorkItemColor: () => import('ee_component/work_items/components/work_item_color.vue'),
5655
WorkItemCustomFields: () =>
5756
import('ee_component/work_items/components/work_item_custom_fields.vue'),
58-
WorkItemStatus: () => import('ee_component/work_items/components/work_item_status.vue'),
5957
},
6058
mixins: [glFeatureFlagMixin()],
6159
inject: ['hasSubepicsFeature'],
@@ -185,9 +183,6 @@ export default {
185183
workItemColor() {
186184
return this.isWidgetPresent(WIDGET_TYPE_COLOR);
187185
},
188-
workItemStatus() {
189-
return this.isWidgetPresent(WIDGET_TYPE_STATUS);
190-
},
191186
workItemAuthor() {
192187
return this.workItem?.author;
193188
},
@@ -203,9 +198,6 @@ export default {
203198
showWorkItemCustomFields() {
204199
return this.glFeatures.customFieldsFeature && this.customFields;
205200
},
206-
showWorkItemStatus() {
207-
return this.glFeatures.workItemStatusFeatureFlag;
208-
},
209201
},
210202
methods: {
211203
isWidgetPresent(type, workItem = this.workItem) {
@@ -217,16 +209,6 @@ export default {
217209
218210
<template>
219211
<div class="work-item-attributes-wrapper">
220-
<work-item-status
221-
v-if="showWorkItemStatus"
222-
class="work-item-attributes-item"
223-
:can-update="canUpdateMetadata"
224-
:work-item-id="workItem.id"
225-
:work-item-iid="workItem.iid"
226-
:work-item-type="workItemType"
227-
:full-path="fullPath"
228-
@error="$emit('error', $event)"
229-
/>
230212
<work-item-assignees
231213
v-if="workItemAssignees"
232214
class="js-assignee work-item-attributes-item"

app/assets/javascripts/work_items/constants.js

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export const WIDGET_TYPE_PROGRESS = 'PROGRESS';
2424
export const WIDGET_TYPE_HIERARCHY = 'HIERARCHY';
2525
export const WIDGET_TYPE_MILESTONE = 'MILESTONE';
2626
export const WIDGET_TYPE_ITERATION = 'ITERATION';
27-
export const WIDGET_TYPE_STATUS = 'STATUS';
2827
export const WIDGET_TYPE_NOTES = 'NOTES';
2928
export const WIDGET_TYPE_HEALTH_STATUS = 'HEALTH_STATUS';
3029
export const WIDGET_TYPE_LINKED_ITEMS = 'LINKED_ITEMS';

app/controllers/groups/work_items_controller.rb

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class WorkItemsController < Groups::ApplicationController
1616
push_force_frontend_feature_flag(:glql_load_on_click, !!group&.glql_load_on_click_feature_flag_enabled?)
1717
push_force_frontend_feature_flag(:continue_indented_text, !!group&.continue_indented_text_feature_flag_enabled?)
1818
push_frontend_feature_flag(:issues_list_drawer, group)
19-
push_frontend_feature_flag(:work_item_status_feature_flag, group&.root_ancestor)
2019
end
2120
before_action :handle_new_work_item_path, only: [:show]
2221

app/controllers/groups_controller.rb

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class GroupsController < Groups::ApplicationController
3939
push_force_frontend_feature_flag(:work_items_alpha, group.work_items_alpha_feature_flag_enabled?)
4040
push_frontend_feature_flag(:issues_grid_view)
4141
push_frontend_feature_flag(:issues_list_drawer, group)
42-
push_frontend_feature_flag(:work_item_status_feature_flag, group&.root_ancestor)
4342
push_force_frontend_feature_flag(:namespace_level_work_items, group.namespace_work_items_enabled?)
4443
end
4544

app/controllers/projects/issues_controller.rb

-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ class Projects::IssuesController < Projects::ApplicationController
5656
push_force_frontend_feature_flag(:work_items_beta, !!project&.work_items_beta_feature_flag_enabled?)
5757
push_force_frontend_feature_flag(:work_items_alpha, !!project&.work_items_alpha_feature_flag_enabled?)
5858
push_frontend_feature_flag(:work_item_view_for_issues, project&.group)
59-
push_frontend_feature_flag(:work_item_status_feature_flag, project&.root_ancestor)
6059
end
6160

6261
before_action only: [:index, :show] do

app/controllers/projects/work_items_controller.rb

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class Projects::WorkItemsController < Projects::ApplicationController
1515
push_force_frontend_feature_flag(:glql_integration, !!project&.glql_integration_feature_flag_enabled?)
1616
push_force_frontend_feature_flag(:glql_load_on_click, !!project&.glql_load_on_click_feature_flag_enabled?)
1717
push_force_frontend_feature_flag(:continue_indented_text, !!project&.continue_indented_text_feature_flag_enabled?)
18-
push_frontend_feature_flag(:work_item_status_feature_flag, project&.root_ancestor)
1918
push_frontend_feature_flag(:namespace_level_work_items, project&.group)
2019
push_frontend_feature_flag(:work_item_planning_view, project&.group)
2120
end

app/views/shared/_clone_panel.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
%span.js-clone-dropdown-label
66
= enabled_protocol_button(container, enabled_protocol)
77
- else
8-
= render Pajamas::ButtonComponent.new(href: '#', button_options: { id: 'clone-dropdown', class: 'input-group-text btn-icon hover:gl-no-underline gl-text-gray-700', data: { toggle: 'dropdown', testid: 'clone-dropdown' } }) do
8+
= render Pajamas::ButtonComponent.new(href: '#', button_options: { id: 'clone-dropdown', class: 'input-group-text btn-icon hover:gl-no-underline', data: { toggle: 'dropdown', testid: 'clone-dropdown' } }) do
99
%span.js-clone-dropdown-label
1010
= default_clone_protocol.upcase
1111
= sprite_icon('chevron-down', css_class: 'gl-icon')

app/views/shared/_mobile_clone_panel.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- http_copy_label = _('Copy %{http_label} clone URL') % { http_label: gitlab_config.protocol.upcase }
44

55
.btn-group.mobile-git-clone.js-mobile-git-clone.btn-block
6-
= clipboard_button(button_text: default_clone_label, size: :medium, category: :primary, variant: :confirm, text: default_url_to_repo(project), hide_button_icon: true, class: "hover:gl-no-underline gl-text-gray-700 js-clone-dropdown-label")
6+
= clipboard_button(button_text: default_clone_label, size: :medium, category: :primary, variant: :confirm, text: default_url_to_repo(project), hide_button_icon: true, class: "hover:gl-no-underline js-clone-dropdown-label")
77
%button.btn.gl-button.btn-confirm.dropdown-toggle.js-dropdown-toggle.flex-grow-0.gl-flex.gl-items-center.gl-justify-center.w-auto.ml-0{ type: "button", data: { toggle: "dropdown" } }
88
= sprite_icon("chevron-down", css_class: "dropdown-btn-icon icon")
99
%ul.dropdown-menu.dropdown-menu-selectable.dropdown-menu-right.clone-options-dropdown{ data: { dropdown: true } }

config/events/work_item_status_updated.yml

-17
This file was deleted.

data/deprecations/17-7-runner-alpine-versions.yml

-65
This file was deleted.

data/deprecations/17-9-runner-helper-images-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- title: Make the `gitlab-runner-helper-images` Linux OS package an optional dependency of `gitlab-runner`
22
# The milestones for the deprecation announcement, and the removal.
3-
removal_milestone: "18.0"
3+
removal_milestone: "19.0"
44
announcement_milestone: "17.9"
55
# Change breaking_change to false if needed.
66
breaking_change: true

doc/ci/interactive_web_terminal/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ for the current job. Only the person who started a job can debug it.
7979
When selected, a new tab opens to the terminal page where you can access
8080
the terminal and type commands like in a standard shell.
8181

82-
![terminal of the job](img/interactive_web_terminal_page_v11_1.png)
82+
![A command being executed on a job's terminal page](img/interactive_web_terminal_page_v11_1.png)
8383

8484
If your terminal is open after the job completes,
8585
the job doesn't finish until after the configured

0 commit comments

Comments
 (0)