Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b2db7d99
Commit
b2db7d99
authored
Jun 18, 2021
by
mlunoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor(flash): use path short hand
parent
821e705a
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
24 additions
and
25 deletions
+24
-25
app/assets/javascripts/blob/balsamiq_viewer.js
app/assets/javascripts/blob/balsamiq_viewer.js
+1
-1
app/assets/javascripts/blob/file_template_mediator.js
app/assets/javascripts/blob/file_template_mediator.js
+1
-2
app/assets/javascripts/blob/viewer/index.js
app/assets/javascripts/blob/viewer/index.js
+1
-1
app/assets/javascripts/branches/divergence_graph.js
app/assets/javascripts/branches/divergence_graph.js
+1
-1
app/assets/javascripts/clusters/clusters_bundle.js
app/assets/javascripts/clusters/clusters_bundle.js
+1
-1
app/assets/javascripts/confidential_merge_request/components/project_form_group.vue
...fidential_merge_request/components/project_form_group.vue
+1
-1
app/assets/javascripts/environments/mixins/environments_mixin.js
...ets/javascripts/environments/mixins/environments_mixin.js
+1
-1
app/assets/javascripts/filtered_search/dropdown_ajax_filter.js
...ssets/javascripts/filtered_search/dropdown_ajax_filter.js
+1
-1
app/assets/javascripts/filtered_search/dropdown_emoji.js
app/assets/javascripts/filtered_search/dropdown_emoji.js
+1
-1
app/assets/javascripts/filtered_search/dropdown_non_user.js
app/assets/javascripts/filtered_search/dropdown_non_user.js
+1
-1
app/assets/javascripts/filtered_search/filtered_search_manager.js
...ts/javascripts/filtered_search/filtered_search_manager.js
+1
-1
app/assets/javascripts/notes/components/note_awards_list.vue
app/assets/javascripts/notes/components/note_awards_list.vue
+1
-1
app/assets/javascripts/notes/components/noteable_discussion.vue
...sets/javascripts/notes/components/noteable_discussion.vue
+1
-1
app/assets/javascripts/notes/components/noteable_note.vue
app/assets/javascripts/notes/components/noteable_note.vue
+1
-1
app/assets/javascripts/notes/components/notes_app.vue
app/assets/javascripts/notes/components/notes_app.vue
+1
-1
app/assets/javascripts/notes/stores/actions.js
app/assets/javascripts/notes/stores/actions.js
+1
-1
app/assets/javascripts/pages/admin/application_settings/payload_previewer.js
...pts/pages/admin/application_settings/payload_previewer.js
+1
-1
app/assets/javascripts/pipelines/pipeline_details_mediator.js
...assets/javascripts/pipelines/pipeline_details_mediator.js
+1
-1
app/assets/javascripts/profile/profile.js
app/assets/javascripts/profile/profile.js
+1
-1
app/assets/javascripts/protected_tags/protected_tag_edit.js
app/assets/javascripts/protected_tags/protected_tag_edit.js
+1
-1
app/assets/javascripts/sidebar/sidebar_mediator.js
app/assets/javascripts/sidebar/sidebar_mediator.js
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_auto_merge_enabled.vue
...widget/components/states/mr_widget_auto_merge_enabled.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_rebase.vue
...rge_request_widget/components/states/mr_widget_rebase.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue
...avascripts/vue_merge_request_widget/mr_widget_options.vue
+1
-1
No files found.
app/assets/javascripts/blob/balsamiq_viewer.js
View file @
b2db7d99
import
createFlash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
createFlash
from
'
../flash
'
;
import
BalsamiqViewer
from
'
./balsamiq/balsamiq_viewer
'
;
function
onError
()
{
...
...
app/assets/javascripts/blob/file_template_mediator.js
View file @
b2db7d99
...
...
@@ -2,11 +2,10 @@ import $ from 'jquery';
import
Api
from
'
~/api
'
;
import
initPopover
from
'
~/blob/suggest_gitlab_ci_yml
'
;
import
createFlash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
toast
from
'
~/vue_shared/plugins/global_toast
'
;
import
createFlash
from
'
../flash
'
;
import
BlobCiYamlSelector
from
'
./template_selectors/ci_yaml_selector
'
;
import
DockerfileSelector
from
'
./template_selectors/dockerfile_selector
'
;
import
GitignoreSelector
from
'
./template_selectors/gitignore_selector
'
;
...
...
app/assets/javascripts/blob/viewer/index.js
View file @
b2db7d99
import
$
from
'
jquery
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
createFlash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
REPO_BLOB_LOAD_VIEWER_START
,
...
...
@@ -8,7 +9,6 @@ import {
}
from
'
~/performance/constants
'
;
import
{
performanceMarkAndMeasure
}
from
'
~/performance/utils
'
;
import
{
fixTitle
}
from
'
~/tooltips
'
;
import
createFlash
from
'
../../flash
'
;
import
axios
from
'
../../lib/utils/axios_utils
'
;
import
{
handleLocationHash
}
from
'
../../lib/utils/common_utils
'
;
import
eventHub
from
'
../../notes/event_hub
'
;
...
...
app/assets/javascripts/branches/divergence_graph.js
View file @
b2db7d99
import
Vue
from
'
vue
'
;
import
createFlash
from
'
..
/flash
'
;
import
createFlash
from
'
~
/flash
'
;
import
axios
from
'
../lib/utils/axios_utils
'
;
import
{
__
}
from
'
../locale
'
;
import
DivergenceGraph
from
'
./components/divergence_graph.vue
'
;
...
...
app/assets/javascripts/clusters/clusters_bundle.js
View file @
b2db7d99
import
{
GlToast
}
from
'
@gitlab/ui
'
;
import
Visibility
from
'
visibilityjs
'
;
import
Vue
from
'
vue
'
;
import
createFlash
from
'
~/flash
'
;
import
AccessorUtilities
from
'
~/lib/utils/accessor
'
;
import
initProjectSelectDropdown
from
'
~/project_select
'
;
import
createFlash
from
'
../flash
'
;
import
Poll
from
'
../lib/utils/poll
'
;
import
{
s__
}
from
'
../locale
'
;
import
PersistentUserCallout
from
'
../persistent_user_callout
'
;
...
...
app/assets/javascripts/confidential_merge_request/components/project_form_group.vue
View file @
b2db7d99
<
script
>
import
{
GlIcon
,
GlLink
,
GlSprintf
}
from
'
@gitlab/ui
'
;
import
createFlash
from
'
~/flash
'
;
import
Api
from
'
../../api
'
;
import
createFlash
from
'
../../flash
'
;
import
{
__
}
from
'
../../locale
'
;
import
state
from
'
../state
'
;
import
Dropdown
from
'
./dropdown.vue
'
;
...
...
app/assets/javascripts/environments/mixins/environments_mixin.js
View file @
b2db7d99
...
...
@@ -3,7 +3,7 @@
*/
import
{
isEqual
,
isFunction
,
omitBy
}
from
'
lodash
'
;
import
Visibility
from
'
visibilityjs
'
;
import
createFlash
from
'
../..
/flash
'
;
import
createFlash
from
'
~
/flash
'
;
import
{
getParameterByName
}
from
'
../../lib/utils/common_utils
'
;
import
Poll
from
'
../../lib/utils/poll
'
;
import
{
s__
}
from
'
../../locale
'
;
...
...
app/assets/javascripts/filtered_search/dropdown_ajax_filter.js
View file @
b2db7d99
import
createFlash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
AjaxFilter
from
'
../droplab/plugins/ajax_filter
'
;
import
createFlash
from
'
../flash
'
;
import
DropdownUtils
from
'
./dropdown_utils
'
;
import
FilteredSearchDropdown
from
'
./filtered_search_dropdown
'
;
import
FilteredSearchTokenizer
from
'
./filtered_search_tokenizer
'
;
...
...
app/assets/javascripts/filtered_search/dropdown_emoji.js
View file @
b2db7d99
import
createFlash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
Ajax
from
'
../droplab/plugins/ajax
'
;
import
Filter
from
'
../droplab/plugins/filter
'
;
import
createFlash
from
'
../flash
'
;
import
DropdownUtils
from
'
./dropdown_utils
'
;
import
FilteredSearchDropdown
from
'
./filtered_search_dropdown
'
;
...
...
app/assets/javascripts/filtered_search/dropdown_non_user.js
View file @
b2db7d99
import
createFlash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
Ajax
from
'
../droplab/plugins/ajax
'
;
import
Filter
from
'
../droplab/plugins/filter
'
;
import
createFlash
from
'
../flash
'
;
import
DropdownUtils
from
'
./dropdown_utils
'
;
import
FilteredSearchDropdown
from
'
./filtered_search_dropdown
'
;
...
...
app/assets/javascripts/filtered_search/filtered_search_manager.js
View file @
b2db7d99
import
{
last
}
from
'
lodash
'
;
import
recentSearchesStorageKeys
from
'
ee_else_ce/filtered_search/recent_searches_storage_keys
'
;
import
IssuableFilteredSearchTokenKeys
from
'
~/filtered_search/issuable_filtered_search_token_keys
'
;
import
createFlash
from
'
~/flash
'
;
import
{
getParameterByName
}
from
'
~/lib/utils/common_utils
'
;
import
{
ENTER_KEY_CODE
,
...
...
@@ -10,7 +11,6 @@ import {
DOWN_KEY_CODE
,
}
from
'
~/lib/utils/keycodes
'
;
import
{
__
}
from
'
~/locale
'
;
import
createFlash
from
'
../flash
'
;
import
{
addClassIfElementExists
}
from
'
../lib/utils/dom_utils
'
;
import
{
visitUrl
,
getUrlParamsArray
}
from
'
../lib/utils/url_utility
'
;
import
FilteredSearchContainer
from
'
./container
'
;
...
...
app/assets/javascripts/notes/components/note_awards_list.vue
View file @
b2db7d99
<
script
>
import
{
mapActions
,
mapGetters
}
from
'
vuex
'
;
import
createFlash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
AwardsList
from
'
~/vue_shared/components/awards_list.vue
'
;
import
createFlash
from
'
../../flash
'
;
export
default
{
components
:
{
...
...
app/assets/javascripts/notes/components/noteable_discussion.vue
View file @
b2db7d99
...
...
@@ -2,11 +2,11 @@
import
{
GlTooltipDirective
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
mapActions
,
mapGetters
}
from
'
vuex
'
;
import
DraftNote
from
'
~/batch_comments/components/draft_note.vue
'
;
import
createFlash
from
'
~/flash
'
;
import
{
clearDraft
,
getDiscussionReplyKey
}
from
'
~/lib/utils/autosave
'
;
import
{
s__
,
__
}
from
'
~/locale
'
;
import
diffLineNoteFormMixin
from
'
~/notes/mixins/diff_line_note_form
'
;
import
TimelineEntryItem
from
'
~/vue_shared/components/notes/timeline_entry_item.vue
'
;
import
createFlash
from
'
../../flash
'
;
import
userAvatarLink
from
'
../../vue_shared/components/user_avatar/user_avatar_link.vue
'
;
import
eventHub
from
'
../event_hub
'
;
import
noteable
from
'
../mixins/noteable
'
;
...
...
app/assets/javascripts/notes/components/noteable_note.vue
View file @
b2db7d99
...
...
@@ -4,10 +4,10 @@ import $ from 'jquery';
import
{
escape
,
isEmpty
}
from
'
lodash
'
;
import
{
mapGetters
,
mapActions
}
from
'
vuex
'
;
import
{
INLINE_DIFF_LINES_KEY
}
from
'
~/diffs/constants
'
;
import
createFlash
from
'
~/flash
'
;
import
httpStatusCodes
from
'
~/lib/utils/http_status
'
;
import
{
truncateSha
}
from
'
~/lib/utils/text_utility
'
;
import
TimelineEntryItem
from
'
~/vue_shared/components/notes/timeline_entry_item.vue
'
;
import
createFlash
from
'
../../flash
'
;
import
{
__
,
s__
,
sprintf
}
from
'
../../locale
'
;
import
userAvatarLink
from
'
../../vue_shared/components/user_avatar/user_avatar_link.vue
'
;
import
eventHub
from
'
../event_hub
'
;
...
...
app/assets/javascripts/notes/components/notes_app.vue
View file @
b2db7d99
<
script
>
import
{
mapGetters
,
mapActions
}
from
'
vuex
'
;
import
highlightCurrentUser
from
'
~/behaviors/markdown/highlight_current_user
'
;
import
createFlash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
initUserPopovers
from
'
~/user_popovers
'
;
import
TimelineEntryItem
from
'
~/vue_shared/components/notes/timeline_entry_item.vue
'
;
import
OrderedLayout
from
'
~/vue_shared/components/ordered_layout.vue
'
;
import
glFeatureFlagsMixin
from
'
~/vue_shared/mixins/gl_feature_flags_mixin
'
;
import
draftNote
from
'
../../batch_comments/components/draft_note.vue
'
;
import
createFlash
from
'
../../flash
'
;
import
{
getLocationHash
,
doesHashExistInUrl
}
from
'
../../lib/utils/url_utility
'
;
import
placeholderNote
from
'
../../vue_shared/components/notes/placeholder_note.vue
'
;
import
placeholderSystemNote
from
'
../../vue_shared/components/notes/placeholder_system_note.vue
'
;
...
...
app/assets/javascripts/notes/stores/actions.js
View file @
b2db7d99
...
...
@@ -2,6 +2,7 @@ import $ from 'jquery';
import
Visibility
from
'
visibilityjs
'
;
import
Vue
from
'
vue
'
;
import
Api
from
'
~/api
'
;
import
createFlash
from
'
~/flash
'
;
import
{
EVENT_ISSUABLE_VUE_APP_CHANGE
}
from
'
~/issuable/constants
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
...
...
@@ -9,7 +10,6 @@ import { confidentialWidget } from '~/sidebar/components/confidential/sidebar_co
import
updateIssueLockMutation
from
'
~/sidebar/components/lock/mutations/update_issue_lock.mutation.graphql
'
;
import
updateMergeRequestLockMutation
from
'
~/sidebar/components/lock/mutations/update_merge_request_lock.mutation.graphql
'
;
import
loadAwardsHandler
from
'
../../awards_handler
'
;
import
createFlash
from
'
../../flash
'
;
import
{
isInViewport
,
scrollToElement
,
isInMRPage
}
from
'
../../lib/utils/common_utils
'
;
import
Poll
from
'
../../lib/utils/poll
'
;
import
{
create
}
from
'
../../lib/utils/recurrence
'
;
...
...
app/assets/javascripts/pages/admin/application_settings/payload_previewer.js
View file @
b2db7d99
import
createFlash
from
'
../../..
/flash
'
;
import
createFlash
from
'
~
/flash
'
;
import
axios
from
'
../../../lib/utils/axios_utils
'
;
import
{
__
}
from
'
../../../locale
'
;
...
...
app/assets/javascripts/pipelines/pipeline_details_mediator.js
View file @
b2db7d99
import
Visibility
from
'
visibilityjs
'
;
import
createFlash
from
'
..
/flash
'
;
import
createFlash
from
'
~
/flash
'
;
import
Poll
from
'
../lib/utils/poll
'
;
import
{
__
}
from
'
../locale
'
;
import
PipelineService
from
'
./services/pipeline_service
'
;
...
...
app/assets/javascripts/profile/profile.js
View file @
b2db7d99
import
$
from
'
jquery
'
;
import
createFlash
from
'
~/flash
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
parseBoolean
}
from
'
~/lib/utils/common_utils
'
;
import
{
Rails
}
from
'
~/lib/utils/rails_ujs
'
;
import
TimezoneDropdown
,
{
formatTimezone
,
}
from
'
~/pages/projects/pipeline_schedules/shared/components/timezone_dropdown
'
;
import
createFlash
from
'
../flash
'
;
export
default
class
Profile
{
constructor
({
form
}
=
{})
{
...
...
app/assets/javascripts/protected_tags/protected_tag_edit.js
View file @
b2db7d99
import
createFlash
from
'
..
/flash
'
;
import
createFlash
from
'
~
/flash
'
;
import
axios
from
'
../lib/utils/axios_utils
'
;
import
{
FAILED_TO_UPDATE_TAG_MESSAGE
}
from
'
./constants
'
;
import
ProtectedTagAccessDropdown
from
'
./protected_tag_access_dropdown
'
;
...
...
app/assets/javascripts/sidebar/sidebar_mediator.js
View file @
b2db7d99
import
Store
from
'
ee_else_ce/sidebar/stores/sidebar_store
'
;
import
createFlash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
toast
from
'
~/vue_shared/plugins/global_toast
'
;
import
createFlash
from
'
../flash
'
;
import
{
visitUrl
}
from
'
../lib/utils/url_utility
'
;
import
Service
from
'
./services/sidebar_service
'
;
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_auto_merge_enabled.vue
View file @
b2db7d99
...
...
@@ -2,10 +2,10 @@
import
{
GlLoadingIcon
,
GlSkeletonLoader
}
from
'
@gitlab/ui
'
;
import
autoMergeMixin
from
'
ee_else_ce/vue_merge_request_widget/mixins/auto_merge
'
;
import
autoMergeEnabledQuery
from
'
ee_else_ce/vue_merge_request_widget/queries/states/auto_merge_enabled.query.graphql
'
;
import
createFlash
from
'
~/flash
'
;
import
{
getIdFromGraphQLId
}
from
'
~/graphql_shared/utils
'
;
import
{
__
}
from
'
~/locale
'
;
import
glFeatureFlagMixin
from
'
~/vue_shared/mixins/gl_feature_flags_mixin
'
;
import
createFlash
from
'
../../../flash
'
;
import
{
AUTO_MERGE_STRATEGIES
}
from
'
../../constants
'
;
import
eventHub
from
'
../../event_hub
'
;
import
mergeRequestQueryVariablesMixin
from
'
../../mixins/merge_request_query_variables
'
;
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_rebase.vue
View file @
b2db7d99
...
...
@@ -2,9 +2,9 @@
/* eslint-disable vue/no-v-html */
import
{
GlButton
,
GlSkeletonLoader
}
from
'
@gitlab/ui
'
;
import
{
escape
}
from
'
lodash
'
;
import
createFlash
from
'
~/flash
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
glFeatureFlagMixin
from
'
~/vue_shared/mixins/gl_feature_flags_mixin
'
;
import
createFlash
from
'
../../../flash
'
;
import
simplePoll
from
'
../../../lib/utils/simple_poll
'
;
import
eventHub
from
'
../../event_hub
'
;
import
mergeRequestQueryVariablesMixin
from
'
../../mixins/merge_request_query_variables
'
;
...
...
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue
View file @
b2db7d99
...
...
@@ -5,12 +5,12 @@ import MrWidgetApprovals from 'ee_else_ce/vue_merge_request_widget/components/ap
import
MRWidgetService
from
'
ee_else_ce/vue_merge_request_widget/services/mr_widget_service
'
;
import
MRWidgetStore
from
'
ee_else_ce/vue_merge_request_widget/stores/mr_widget_store
'
;
import
stateMaps
from
'
ee_else_ce/vue_merge_request_widget/stores/state_maps
'
;
import
createFlash
from
'
~/flash
'
;
import
{
secondsToMilliseconds
}
from
'
~/lib/utils/datetime_utility
'
;
import
notify
from
'
~/lib/utils/notify
'
;
import
{
sprintf
,
s__
,
__
}
from
'
~/locale
'
;
import
Project
from
'
~/pages/projects/project
'
;
import
SmartInterval
from
'
~/smart_interval
'
;
import
createFlash
from
'
../flash
'
;
import
{
setFaviconOverlay
}
from
'
../lib/utils/favicon
'
;
import
GroupedAccessibilityReportsApp
from
'
../reports/accessibility_report/grouped_accessibility_reports_app.vue
'
;
import
GroupedCodequalityReportsApp
from
'
../reports/codequality_report/grouped_codequality_reports_app.vue
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment