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
c9424072
Commit
c9424072
authored
Nov 05, 2020
by
Marcin Sedlak-Jakubowski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'docs-update-guide' into 'master'
Update the upgrade guide See merge request gitlab-org/gitlab!46763
parents
628c7048
fe425e0c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
1 deletion
+36
-1
app/assets/javascripts/jira_connect/.eslintrc.yml
app/assets/javascripts/jira_connect/.eslintrc.yml
+5
-0
app/assets/javascripts/jira_connect/components/app.vue
app/assets/javascripts/jira_connect/components/app.vue
+7
-0
app/assets/javascripts/jira_connect/index.js
app/assets/javascripts/jira_connect/index.js
+15
-0
app/assets/stylesheets/page_bundles/jira_connect.scss
app/assets/stylesheets/page_bundles/jira_connect.scss
+3
-1
app/views/jira_connect/subscriptions/index.html.haml
app/views/jira_connect/subscriptions/index.html.haml
+5
-0
config/webpack.config.js
config/webpack.config.js
+1
-0
No files found.
app/assets/javascripts/jira_connect/.eslintrc.yml
0 → 100644
View file @
c9424072
globals
:
AP
:
readonly
rules
:
'
@gitlab/require-i18n-strings'
:
off
'
@gitlab/vue-require-i18n-strings'
:
off
app/assets/javascripts/jira_connect/components/app.vue
0 → 100644
View file @
c9424072
<
script
>
export
default
{};
</
script
>
<
template
>
<div></div>
</
template
>
app/assets/javascripts/jira_connect/index.js
0 → 100644
View file @
c9424072
import
Vue
from
'
vue
'
;
import
App
from
'
./components/app.vue
'
;
function
initJiraConnect
()
{
const
el
=
document
.
querySelector
(
'
.js-jira-connect-app
'
);
return
new
Vue
({
el
,
render
(
createElement
)
{
return
createElement
(
App
,
{});
},
});
}
document
.
addEventListener
(
'
DOMContentLoaded
'
,
initJiraConnect
);
app/assets/stylesheets/page_bundles/jira_connect.scss
View file @
c9424072
@import
'framework/variables'
;
@import
'mixins_and_variables_and_functions'
;
// We should only import styles that we actually use.
// @import '@gitlab/ui/src/scss/gitlab_ui';
$atlaskit-border-color
:
#dfe1e6
;
...
...
app/views/jira_connect/subscriptions/index.html.haml
View file @
c9424072
...
...
@@ -21,6 +21,8 @@
.gl-mt-5
%p
Note: this integration only works with accounts on GitLab.com (SaaS).
-
else
.js-jira-connect-app
%form
#add-subscription-form
.subscription-form
{
action:
jira_connect_subscriptions_path
}
.ak-field-group
%label
...
...
@@ -57,5 +59,8 @@
or enable cross-site cookies in your browser when adding a namespace.
%a
{
href:
'https://gitlab.com/gitlab-org/gitlab/-/issues/263509'
,
target:
'_blank'
,
rel:
'noopener noreferrer'
}
Learn more
=
webpack_bundle_tag
'performance_bar'
if
performance_bar_enabled?
=
webpack_bundle_tag
'jira_connect_app'
=
page_specific_javascript_tag
(
'jira_connect.js'
)
-
add_page_specific_style
'page_bundles/jira_connect'
config/webpack.config.js
View file @
c9424072
...
...
@@ -82,6 +82,7 @@ function generateEntries() {
// sentry: './sentry/index.js', Temporarily commented out to investigate performance: https://gitlab.com/gitlab-org/gitlab/-/issues/251179
performance_bar
:
'
./performance_bar/index.js
'
,
chrome_84_icon_fix
:
'
./lib/chrome_84_icon_fix.js
'
,
jira_connect_app
:
'
./jira_connect/index.js
'
,
};
return
Object
.
assign
(
manualEntries
,
autoEntries
);
...
...
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