Skip to content

Commit 53cb681

Browse files
author
GitLab Bot
committed
Add latest changes from gitlab-org/gitlab@master
1 parent 0a367a4 commit 53cb681

File tree

88 files changed

+1922
-1183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+1922
-1183
lines changed

.browserslistrc

+9-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
#
22
# This list of browsers is a conservative definition, based on
3-
# https://docs.gitlab.com/ee/install/requirements.html#supported-web-browsers. We
4-
# also use the following reasoning to choose the target versions:
5-
#
6-
# - Actual Browser usage on gitlab.com
7-
# - Support second latest version of Firefox ESR
8-
# - Support Chrome / Edge versions about the same age as the Firefox ESR version chosen
9-
#
10-
# If need be we raise versions closer to the actual supported web browsers.
11-
#
12-
# See also this epic: https://gitlab.com/groups/gitlab-org/-/epics/3957
13-
#
14-
chrome >= 103
15-
edge >= 103
16-
firefox >= 102
17-
safari >= 15.6
3+
# https://docs.gitlab.com/ee/install/requirements.html#supported-web-browsers.
4+
#
5+
# To see what browsers this targets, go here:
6+
# https://browsersl.ist/#q=%3E+0.5%25%2C+last+2+versions%2C+Firefox+ESR%2C+not+dead
7+
#
188

9+
> 0.5%
10+
last 2 versions
11+
Firefox ESR
12+
not dead

.rubocop_todo/gitlab/feature_flag_without_actor.yml

-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ Gitlab/FeatureFlagWithoutActor:
143143
- 'ee/lib/search/zoekt/circuit_breaker.rb'
144144
- 'ee/spec/lib/gitlab/product_analytics/developments/setup_spec.rb'
145145
- 'ee/spec/models/gitlab_subscriptions/features_spec.rb'
146-
- 'lib/api/features.rb'
147146
- 'lib/api/helpers/packages/dependency_proxy_helpers.rb'
148147
- 'lib/api/integrations.rb'
149148
- 'lib/api/internal/base.rb'

.rubocop_todo/layout/line_end_string_concatenation_indentation.yml

-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ Layout/LineEndStringConcatenationIndentation:
162162
- 'ee/lib/api/iterations.rb'
163163
- 'ee/lib/api/protected_environments.rb'
164164
- 'ee/lib/api/vulnerability_findings.rb'
165-
- 'ee/lib/ee/api/features.rb'
166165
- 'ee/lib/ee/api/helpers/groups_helpers.rb'
167166
- 'ee/lib/ee/gitlab/auth/ldap/access.rb'
168167
- 'ee/lib/ee/gitlab/auth/o_auth/user.rb'
@@ -344,7 +343,6 @@ Layout/LineEndStringConcatenationIndentation:
344343
- 'lib/api/ci/runners.rb'
345344
- 'lib/api/error_tracking/project_settings.rb'
346345
- 'lib/api/feature_flags_user_lists.rb'
347-
- 'lib/api/features.rb'
348346
- 'lib/api/freeze_periods.rb'
349347
- 'lib/api/groups.rb'
350348
- 'lib/api/issue_links.rb'

.rubocop_todo/style/guard_clause.yml

-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ Style/GuardClause:
307307
- 'ee/db/geo/migrate/20180314175612_add_partial_index_to_project_registy_verification_failure_columns.rb'
308308
- 'ee/db/geo/migrate/20180315222132_add_partial_index_to_project_registy_checksum_columns.rb'
309309
- 'ee/db/geo/migrate/20180412213305_add_index_to_artifact_id_on_job_artifact_registry.rb'
310-
- 'ee/lib/ee/api/features.rb'
311310
- 'ee/lib/ee/api/helpers/projects_helpers.rb'
312311
- 'ee/lib/ee/api/projects.rb'
313312
- 'ee/lib/ee/gitlab/auth/ldap/access.rb'

.rubocop_todo/style/inline_disable_annotation.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,6 @@ Style/InlineDisableAnnotation:
17051705
- 'lib/api/entities/project_details.rb'
17061706
- 'lib/api/entities/project_integration.rb'
17071707
- 'lib/api/entities/project_with_access.rb'
1708-
- 'lib/api/features.rb'
17091708
- 'lib/api/group_boards.rb'
17101709
- 'lib/api/groups.rb'
17111710
- 'lib/api/helm_packages.rb'

GITALY_SERVER_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9aea54d16acab5377a7e0488411f6fb066788570
1+
555d6e8568136f22dfe61dd3bdc58979e1097a3c

app/assets/javascripts/ci/pipeline_new/components/pipeline_new_form.vue

+10-10
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const i18n = {
5353
5454
export default {
5555
i18n,
56-
formElementClasses: 'gl-mr-3 gl-mb-3 gl-basis-1/4 gl-shrink-0 gl-flex-grow-0',
56+
formElementClasses: 'gl-basis-1/4 gl-shrink-0 gl-flex-grow-0',
5757
// this height value is used inline on the textarea to match the input field height
5858
// it's used to prevent the overwrite if 'gl-h-7' or '!gl-h-7' were used
5959
textAreaStyle: { height: '32px' },
@@ -462,16 +462,16 @@ export default {
462462
/>
463463
</gl-form-group>
464464
465-
<gl-loading-icon v-if="isLoading" class="gl-mb-5" size="lg" />
465+
<gl-loading-icon v-if="isLoading" class="gl-mb-5" size="md" />
466466
467-
<gl-form-group v-else class="gl-mb-3" :label="s__('Pipeline|Variables')">
467+
<gl-form-group v-else :label="s__('Pipeline|Variables')">
468468
<div
469469
v-for="(variable, index) in variables"
470470
:key="variable.uniqueId"
471-
class="gl-mb-3 gl-pb-2"
471+
class="gl-mb-4"
472472
data-testid="ci-variable-row-container"
473473
>
474-
<div class="gl-flex gl-flex-col gl-items-stretch md:gl-flex-row">
474+
<div class="gl-flex gl-flex-col gl-items-stretch gl-gap-4 md:gl-flex-row">
475475
<gl-collapsible-listbox
476476
:items="variableTypeListboxItems"
477477
:selected="variable.variable_type"
@@ -501,7 +501,6 @@ export default {
501501
v-else
502502
v-model="variable.value"
503503
:placeholder="s__('CiVariables|Input variable value')"
504-
class="gl-mb-3"
505504
:style="$options.textAreaStyle"
506505
:no-resize="false"
507506
data-testid="pipeline-form-ci-variable-value-field"
@@ -510,24 +509,25 @@ export default {
510509
<template v-if="variables.length > 1">
511510
<gl-button
512511
v-if="canRemove(index)"
513-
class="gl-mb-3 md:gl-ml-3"
512+
size="small"
513+
class="gl-shrink-0"
514514
data-testid="remove-ci-variable-row"
515515
:category="removeButtonCategory"
516516
:aria-label="$options.i18n.removeVariableLabel"
517517
@click="removeVariable(index)"
518518
>
519519
<gl-icon class="!gl-mr-0" name="remove" />
520-
<span class="gl-ml-2 md:gl-hidden">{{ $options.i18n.removeVariableLabel }}</span>
520+
<span class="md:gl-hidden">{{ $options.i18n.removeVariableLabel }}</span>
521521
</gl-button>
522522
<gl-button
523523
v-else
524-
class="gl-invisible gl-mb-3 gl-hidden md:gl-ml-3 md:gl-block"
524+
class="gl-invisible gl-hidden gl-shrink-0 md:gl-block"
525525
icon="remove"
526526
:aria-label="$options.i18n.removeVariableLabel"
527527
/>
528528
</template>
529529
</div>
530-
<div v-if="descriptions[variable.key]" class="gl-mb-3 gl-text-subtle">
530+
<div v-if="descriptions[variable.key]" class="gl-text-subtle">
531531
{{ descriptions[variable.key] }}
532532
</div>
533533
</div>

app/assets/javascripts/environments/components/deploy_board.vue

+4-10
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,24 @@
88
* - Button Actions.
99
* [Mockup](https://gitlab.com/gitlab-org/gitlab-foss/uploads/2f655655c0eadf655d0ae7467b53002a/environments__deploy-graphic.png)
1010
*/
11-
import {
12-
GlIcon,
13-
GlLoadingIcon,
14-
GlLink,
15-
GlTooltip,
16-
GlTooltipDirective,
17-
GlSprintf,
18-
} from '@gitlab/ui';
11+
import { GlLoadingIcon, GlLink, GlTooltip, GlTooltipDirective, GlSprintf } from '@gitlab/ui';
1912
import { isEmpty } from 'lodash';
2013
import SafeHtml from '~/vue_shared/directives/safe_html';
2114
import { s__, n__ } from '~/locale';
2215
import InstanceComponent from '~/vue_shared/components/deployment_instance.vue';
16+
import HelpIcon from '~/vue_shared/components/help_icon/help_icon.vue';
2317
import { STATUS_MAP, CANARY_STATUS } from '../constants';
2418
import CanaryIngress from './canary_ingress.vue';
2519
2620
export default {
2721
components: {
2822
InstanceComponent,
2923
CanaryIngress,
30-
GlIcon,
3124
GlLoadingIcon,
3225
GlLink,
3326
GlSprintf,
3427
GlTooltip,
28+
HelpIcon,
3529
},
3630
directives: {
3731
GlTooltip: GlTooltipDirective,
@@ -154,7 +148,7 @@ export default {
154148
>{{ instanceTitle }} ({{ instanceCount }})</span
155149
>
156150
<span ref="legend-icon" data-testid="legend-tooltip-target">
157-
<gl-icon class="gl-ml-2" name="question-o" variant="info" />
151+
<help-icon class="gl-ml-2" />
158152
</span>
159153
<gl-tooltip :target="() => $refs['legend-icon']" boundary="#content-body">
160154
<div class="deploy-board-legend gl-flex gl-flex-col">

app/assets/javascripts/feature_flags/components/strategy.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import { GlAlert, GlButton, GlFormSelect, GlFormGroup, GlIcon, GlLink, GlToken } from '@gitlab/ui';
44
import { isNumber } from 'lodash';
55
import { s__, __ } from '~/locale';
6+
import HelpIcon from '~/vue_shared/components/help_icon/help_icon.vue';
67
import {
78
EMPTY_PARAMETERS,
89
STRATEGY_SELECTIONS,
@@ -23,6 +24,7 @@ export default {
2324
GlToken,
2425
NewEnvironmentsDropdown,
2526
StrategyParameters,
27+
HelpIcon,
2628
},
2729
inject: {
2830
strategyTypeDocsPagePath: {
@@ -139,7 +141,7 @@ export default {
139141
<template #description>
140142
{{ $options.i18n.strategyTypeDescription }}
141143
<gl-link :href="strategyTypeDocsPagePath" target="_blank">
142-
<gl-icon name="question-o" />
144+
<help-icon />
143145
</gl-link>
144146
</template>
145147
<gl-form-select

app/assets/javascripts/ide/components/commit_sidebar/message_field.vue

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<script>
2-
import { GlIcon, GlPopover } from '@gitlab/ui';
2+
import { GlPopover } from '@gitlab/ui';
33
import { __, sprintf } from '~/locale';
4+
import HelpIcon from '~/vue_shared/components/help_icon/help_icon.vue';
45
import { MAX_TITLE_LENGTH, MAX_BODY_LENGTH } from '../../constants';
56
67
export default {
78
components: {
8-
GlIcon,
99
GlPopover,
10+
HelpIcon,
1011
},
1112
props: {
1213
text: {
@@ -81,8 +82,8 @@ export default {
8182
<li>
8283
{{ __('Commit Message') }}
8384
<div id="ide-commit-message-popover-container">
84-
<span id="ide-commit-message-question" class="form-text gl-ml-3 gl-text-subtle">
85-
<gl-icon name="question-o" />
85+
<span id="ide-commit-message-question" class="form-text gl-ml-3">
86+
<help-icon />
8687
</span>
8788
<gl-popover
8889
target="ide-commit-message-question"

app/assets/javascripts/issuable/components/issuable_by_email.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import {
77
GlSprintf,
88
GlLink,
99
GlFormInputGroup,
10-
GlIcon,
1110
} from '@gitlab/ui';
1211
import { TYPE_ISSUE } from '~/issues/constants';
1312
import axios from '~/lib/utils/axios_utils';
1413
import { sprintf, __ } from '~/locale';
1514
import ModalCopyButton from '~/vue_shared/components/modal_copy_button.vue';
15+
import HelpIcon from '~/vue_shared/components/help_icon/help_icon.vue';
1616
1717
export default {
1818
i18n: {
@@ -25,7 +25,7 @@ export default {
2525
GlSprintf,
2626
GlLink,
2727
GlFormInputGroup,
28-
GlIcon,
28+
HelpIcon,
2929
ModalCopyButton,
3030
},
3131
directives: {
@@ -150,7 +150,7 @@ export default {
150150
>
151151
<template #helpIcon>
152152
<gl-link :href="emailsHelpPagePath" target="_blank">
153-
<gl-icon name="question-o" variant="info" />
153+
<help-icon />
154154
</gl-link>
155155
</template>
156156
<template #resetLink="{ content }">

app/assets/javascripts/issues/new/components/title_suggestions.vue

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<script>
2-
import { GlTooltipDirective, GlIcon } from '@gitlab/ui';
2+
import { GlTooltipDirective } from '@gitlab/ui';
33
import { __ } from '~/locale';
4+
import HelpIcon from '~/vue_shared/components/help_icon/help_icon.vue';
45
import query from '../queries/issues.query.graphql';
56
import TitleSuggestionsItem from './title_suggestions_item.vue';
67
78
export default {
89
components: {
9-
GlIcon,
10+
HelpIcon,
1011
TitleSuggestionsItem,
1112
},
1213
directives: {
@@ -69,14 +70,7 @@ export default {
6970
<div v-show="showSuggestions" class="form-group">
7071
<div v-once class="gl-pb-3">
7172
{{ __('Similar issues') }}
72-
<gl-icon
73-
v-gl-tooltip.bottom
74-
:title="$options.helpText"
75-
:aria-label="$options.helpText"
76-
name="question-o"
77-
class="gl-cursor-help"
78-
variant="subtle"
79-
/>
73+
<help-icon v-gl-tooltip.bottom :title="$options.helpText" :aria-label="$options.helpText" />
8074
</div>
8175
<ul class="gl-m-0 gl-list-none gl-p-0">
8276
<li

app/assets/javascripts/issues/new/components/type_popover.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<script>
2-
import { GlIcon, GlPopover } from '@gitlab/ui';
2+
import { GlPopover } from '@gitlab/ui';
33
import { __ } from '~/locale';
4+
import HelpIcon from '~/vue_shared/components/help_icon/help_icon.vue';
45
56
export default {
67
i18n: {
@@ -11,15 +12,15 @@ export default {
1112
incidentHelpText: __('For investigating IT service disruptions or outages'),
1213
},
1314
components: {
14-
GlIcon,
15+
HelpIcon,
1516
GlPopover,
1617
},
1718
};
1819
</script>
1920

2021
<template>
2122
<span id="popovercontainer" class="gl-ml-2">
22-
<gl-icon id="issue-type-info" name="question-o" variant="info" />
23+
<help-icon id="issue-type-info" />
2324

2425
<gl-popover
2526
target="issue-type-info"

app/assets/javascripts/issues/show/components/incidents/timeline_events_tags_popover.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<script>
2-
import { GlIcon, GlPopover, GlLink } from '@gitlab/ui';
2+
import { GlPopover, GlLink } from '@gitlab/ui';
33
import { helpPagePath } from '~/helpers/help_page_helper';
4+
import HelpIcon from '~/vue_shared/components/help_icon/help_icon.vue';
45
import { timelineEventTagsPopover } from './constants';
56
67
export default {
78
name: 'TimelineEventsTagsPopover',
89
components: {
9-
GlIcon,
1010
GlPopover,
1111
GlLink,
12+
HelpIcon,
1213
},
1314
i18n: timelineEventTagsPopover,
1415
learnMoreLink: helpPagePath('operations/incident_management/incident_timeline_events', {
@@ -19,7 +20,7 @@ export default {
1920

2021
<template>
2122
<span>
22-
<gl-icon id="timeline-events-tag-question" name="question-o" variant="info" />
23+
<help-icon id="timeline-events-tag-question" />
2324

2425
<gl-popover
2526
target="timeline-events-tag-question"

app/assets/javascripts/notes/components/comment_form.vue

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script>
2-
import { GlAlert, GlButton, GlIcon, GlFormCheckbox, GlTooltipDirective } from '@gitlab/ui';
2+
import { GlAlert, GlButton, GlFormCheckbox, GlTooltipDirective } from '@gitlab/ui';
33
import $ from 'jquery';
44
// eslint-disable-next-line no-restricted-imports
55
import { mapActions, mapGetters, mapState } from 'vuex';
@@ -16,6 +16,7 @@ import { InternalEvents } from '~/tracking';
1616
import { badgeState } from '~/merge_requests/components/merge_request_header.vue';
1717
import MarkdownEditor from '~/vue_shared/components/markdown/markdown_editor.vue';
1818
import TimelineEntryItem from '~/vue_shared/components/notes/timeline_entry_item.vue';
19+
import HelpIcon from '~/vue_shared/components/help_icon/help_icon.vue';
1920
import { trackSavedUsingEditor } from '~/vue_shared/components/markdown/tracking';
2021
import { fetchUserCounts } from '~/super_sidebar/user_counts_fetch';
2122
@@ -40,7 +41,7 @@ export default {
4041
GlAlert,
4142
GlButton,
4243
TimelineEntryItem,
43-
GlIcon,
44+
HelpIcon,
4445
CommentFieldLayout,
4546
CommentTypeDropdown,
4647
GlFormCheckbox,
@@ -398,12 +399,9 @@ export default {
398399
data-testid="internal-note-checkbox"
399400
>
400401
{{ $options.i18n.internal }}
401-
<gl-icon
402+
<help-icon
402403
v-gl-tooltip:tooltipcontainer.bottom
403-
name="question-o"
404-
:size="16"
405404
:title="$options.i18n.internalVisibility"
406-
class="gl-text-blue-500"
407405
/>
408406
</gl-form-checkbox>
409407
<template v-if="hasDrafts">

0 commit comments

Comments
 (0)