Skip to content
Snippets Groups Projects
Commit cb2287df authored by Fatih Acet's avatar Fatih Acet
Browse files

Notes bundle for the issue discussions refactor.

parent f7344338
No related branches found
No related tags found
No related merge requests found
import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
document.addEventListener('DOMContentLoaded', () => {
// instantiate Vue here...
});
Loading
Loading
@@ -3,5 +3,10 @@
= link_to 'Reopen issue', issue_path(@issue, issue: {state_event: :reopen}, format: 'json'), data: {original_text: "Reopen issue", alternative_text: "Comment & reopen issue"}, class: "btn btn-nr btn-reopen btn-comment js-note-target-reopen #{issue_button_visibility(@issue, false)}", title: 'Reopen issue'
= link_to 'Close issue', issue_path(@issue, issue: {state_event: :close}, format: 'json'), data: {original_text: "Close issue", alternative_text: "Comment & close issue"}, class: "btn btn-nr btn-close btn-comment js-note-target-close #{issue_button_visibility(@issue, true)}", title: 'Close issue'
 
#js-notes
- content_for :page_specific_javascripts do
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'notes'
#notes
= render 'shared/notes/notes_with_form', :autocomplete => true
Loading
Loading
@@ -51,6 +51,7 @@ var config = {
monitoring: './monitoring/monitoring_bundle.js',
network: './network/network_bundle.js',
notebook_viewer: './blob/notebook_viewer.js',
notes: './notes/index.js',
pdf_viewer: './blob/pdf_viewer.js',
pipelines: './pipelines/pipelines_bundle.js',
pipelines_details: './pipelines/pipeline_details_bundle.js',
Loading
Loading
@@ -166,6 +167,7 @@ var config = {
'merge_conflicts',
'monitoring',
'notebook_viewer',
'notes',
'pdf_viewer',
'pipelines',
'pipelines_details',
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment