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
375760bb
Commit
375760bb
authored
Dec 06, 2021
by
Coung Ngo
Committed by
Simon Knox
Dec 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move issuable_header_warnings.vue into ~/issuable
parent
18fc6343
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/issuable/components/issuable_header_warnings.vue
...ascripts/issuable/components/issuable_header_warnings.vue
+0
-0
app/assets/javascripts/issuable/init_issuable_header_warning.js
...sets/javascripts/issuable/init_issuable_header_warning.js
+1
-1
app/assets/javascripts/pages/projects/issues/show.js
app/assets/javascripts/pages/projects/issues/show.js
+1
-1
app/assets/javascripts/pages/projects/merge_requests/show/index.js
...s/javascripts/pages/projects/merge_requests/show/index.js
+1
-1
spec/frontend/issuable/components/issuable_header_warnings_spec.js
...tend/issuable/components/issuable_header_warnings_spec.js
+1
-1
No files found.
app/assets/javascripts/
vue_shared/components/issuable
/issuable_header_warnings.vue
→
app/assets/javascripts/
issuable/components
/issuable_header_warnings.vue
View file @
375760bb
File moved
app/assets/javascripts/
vue_shared/components/
issuable/init_issuable_header_warning.js
→
app/assets/javascripts/issuable/init_issuable_header_warning.js
View file @
375760bb
import
Vue
from
'
vue
'
;
import
{
parseBoolean
}
from
'
~/lib/utils/common_utils
'
;
import
IssuableHeaderWarnings
from
'
./issuable_header_warnings.vue
'
;
import
IssuableHeaderWarnings
from
'
./
components/
issuable_header_warnings.vue
'
;
export
default
function
issuableHeaderWarnings
(
store
)
{
const
el
=
document
.
getElementById
(
'
js-issuable-header-warnings
'
);
...
...
app/assets/javascripts/pages/projects/issues/show.js
View file @
375760bb
...
...
@@ -10,7 +10,7 @@ import initNotesApp from '~/notes';
import
{
store
}
from
'
~/notes/stores
'
;
import
initRelatedMergeRequestsApp
from
'
~/related_merge_requests
'
;
import
initSentryErrorStackTraceApp
from
'
~/sentry_error_stack_trace
'
;
import
initIssuableHeaderWarning
from
'
~/
vue_shared/components/
issuable/init_issuable_header_warning
'
;
import
initIssuableHeaderWarning
from
'
~/issuable/init_issuable_header_warning
'
;
import
ZenMode
from
'
~/zen_mode
'
;
export
default
function
initShowIssue
()
{
...
...
app/assets/javascripts/pages/projects/merge_requests/show/index.js
View file @
375760bb
...
...
@@ -2,7 +2,7 @@ import { initReviewBar } from '~/batch_comments';
import
initMrNotes
from
'
~/mr_notes
'
;
import
store
from
'
~/mr_notes/stores
'
;
import
initSidebarBundle
from
'
~/sidebar/sidebar_bundle
'
;
import
initIssuableHeaderWarning
from
'
~/
vue_shared/components/
issuable/init_issuable_header_warning
'
;
import
initIssuableHeaderWarning
from
'
~/issuable/init_issuable_header_warning
'
;
import
initShow
from
'
../init_merge_request_show
'
;
initMrNotes
();
...
...
spec/frontend/
vue_shared/components/issuable
/issuable_header_warnings_spec.js
→
spec/frontend/
issuable/components
/issuable_header_warnings_spec.js
View file @
375760bb
...
...
@@ -4,7 +4,7 @@ import { createMockDirective, getBinding } from 'helpers/vue_mock_directive';
import
{
shallowMountExtended
}
from
'
helpers/vue_test_utils_helper
'
;
import
{
createStore
as
createMrStore
}
from
'
~/mr_notes/stores
'
;
import
createIssueStore
from
'
~/notes/stores
'
;
import
IssuableHeaderWarnings
from
'
~/
vue_shared/components/issuable
/issuable_header_warnings.vue
'
;
import
IssuableHeaderWarnings
from
'
~/
issuable/components
/issuable_header_warnings.vue
'
;
const
ISSUABLE_TYPE_ISSUE
=
'
issue
'
;
const
ISSUABLE_TYPE_MR
=
'
merge request
'
;
...
...
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