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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
76264cc0
Commit
76264cc0
authored
Jan 26, 2017
by
Phil Hughes
Committed by
Fatih Acet
Feb 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reloads issues when re-opening modal
parent
ff98a743
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
5 additions
and
35 deletions
+5
-35
app/assets/javascripts/boards/components/issue_card_inner.js.es6
...ets/javascripts/boards/components/issue_card_inner.js.es6
+0
-3
app/assets/javascripts/boards/components/modal/empty_state.js.es6
...ts/javascripts/boards/components/modal/empty_state.js.es6
+0
-3
app/assets/javascripts/boards/components/modal/footer.js.es6
app/assets/javascripts/boards/components/modal/footer.js.es6
+0
-3
app/assets/javascripts/boards/components/modal/header.js.es6
app/assets/javascripts/boards/components/modal/header.js.es6
+0
-3
app/assets/javascripts/boards/components/modal/index.js.es6
app/assets/javascripts/boards/components/modal/index.js.es6
+3
-3
app/assets/javascripts/boards/components/modal/list.js.es6
app/assets/javascripts/boards/components/modal/list.js.es6
+0
-3
app/assets/javascripts/boards/components/modal/lists_dropdown.js.es6
...javascripts/boards/components/modal/lists_dropdown.js.es6
+2
-11
app/assets/javascripts/boards/components/modal/tabs.js.es6
app/assets/javascripts/boards/components/modal/tabs.js.es6
+0
-3
app/assets/javascripts/boards/stores/modal_store.js.es6
app/assets/javascripts/boards/stores/modal_store.js.es6
+0
-3
No files found.
app/assets/javascripts/boards/components/issue_card_inner.js.es6
View file @
76264cc0
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
(() => {
(() => {
const Store = gl.issueBoards.BoardsStore;
const Store = gl.issueBoards.BoardsStore;
window.gl = window.gl || {};
window.gl.issueBoards = window.gl.issueBoards || {};
gl.issueBoards.IssueCardInner = Vue.extend({
gl.issueBoards.IssueCardInner = Vue.extend({
props: [
props: [
'issue', 'issueLinkBase', 'list',
'issue', 'issueLinkBase', 'list',
...
...
app/assets/javascripts/boards/components/modal/empty_state.js.es6
View file @
76264cc0
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
(() => {
(() => {
const ModalStore = gl.issueBoards.ModalStore;
const ModalStore = gl.issueBoards.ModalStore;
window.gl = window.gl || {};
window.gl.issueBoards = window.gl.issueBoards || {};
gl.issueBoards.ModalEmptyState = Vue.extend({
gl.issueBoards.ModalEmptyState = Vue.extend({
data() {
data() {
return ModalStore.store;
return ModalStore.store;
...
...
app/assets/javascripts/boards/components/modal/footer.js.es6
View file @
76264cc0
...
@@ -3,9 +3,6 @@
...
@@ -3,9 +3,6 @@
(() => {
(() => {
const ModalStore = gl.issueBoards.ModalStore;
const ModalStore = gl.issueBoards.ModalStore;
window.gl = window.gl || {};
window.gl.issueBoards = window.gl.issueBoards || {};
gl.issueBoards.ModalFooter = Vue.extend({
gl.issueBoards.ModalFooter = Vue.extend({
data() {
data() {
return ModalStore.store;
return ModalStore.store;
...
...
app/assets/javascripts/boards/components/modal/header.js.es6
View file @
76264cc0
...
@@ -3,9 +3,6 @@
...
@@ -3,9 +3,6 @@
(() => {
(() => {
const ModalStore = gl.issueBoards.ModalStore;
const ModalStore = gl.issueBoards.ModalStore;
window.gl = window.gl || {};
window.gl.issueBoards = window.gl.issueBoards || {};
gl.issueBoards.IssuesModalHeader = Vue.extend({
gl.issueBoards.IssuesModalHeader = Vue.extend({
data() {
data() {
return ModalStore.store;
return ModalStore.store;
...
...
app/assets/javascripts/boards/components/modal/index.js.es6
View file @
76264cc0
...
@@ -6,9 +6,6 @@
...
@@ -6,9 +6,6 @@
(() => {
(() => {
const ModalStore = gl.issueBoards.ModalStore;
const ModalStore = gl.issueBoards.ModalStore;
window.gl = window.gl || {};
window.gl.issueBoards = window.gl.issueBoards || {};
gl.issueBoards.IssuesModal = Vue.extend({
gl.issueBoards.IssuesModal = Vue.extend({
props: [
props: [
'blankStateImage', 'newIssuePath',
'blankStateImage', 'newIssuePath',
...
@@ -28,6 +25,9 @@
...
@@ -28,6 +25,9 @@
.then(() => {
.then(() => {
this.loading = false;
this.loading = false;
});
});
} else if (!this.showAddIssuesModal) {
this.issues = [];
this.selectedIssues = [];
}
}
},
},
},
},
...
...
app/assets/javascripts/boards/components/modal/list.js.es6
View file @
76264cc0
...
@@ -5,9 +5,6 @@
...
@@ -5,9 +5,6 @@
let listMasonry;
let listMasonry;
const ModalStore = gl.issueBoards.ModalStore;
const ModalStore = gl.issueBoards.ModalStore;
window.gl = window.gl || {};
window.gl.issueBoards = window.gl.issueBoards || {};
gl.issueBoards.ModalList = Vue.extend({
gl.issueBoards.ModalList = Vue.extend({
data() {
data() {
return ModalStore.store;
return ModalStore.store;
...
...
app/assets/javascripts/boards/components/modal/lists_dropdown.js.es6
View file @
76264cc0
/* global Vue */
/* global Vue */
(() => {
(() => {
const ModalStore = gl.issueBoards.ModalStore;
const ModalStore = gl.issueBoards.ModalStore;
const Store = gl.issueBoards.BoardsStore;
window.gl = window.gl || {};
window.gl.issueBoards = window.gl.issueBoards || {};
gl.issueBoards.ModalFooterListsDropdown = Vue.extend({
gl.issueBoards.ModalFooterListsDropdown = Vue.extend({
data() {
data() {
return {
return {
modal: ModalStore.store,
modal: ModalStore.store,
state: Store.state,
state:
gl.issueBoards.Boards
Store.state,
};
};
},
},
computed: {
computed: {
...
@@ -18,11 +14,6 @@
...
@@ -18,11 +14,6 @@
return this.modal.selectedList;
return this.modal.selectedList;
},
},
},
},
methods: {
selectList(list) {
this.modal.selectedList = list;
},
},
template: `
template: `
<div class="dropdown inline">
<div class="dropdown inline">
<button
<button
...
@@ -46,7 +37,7 @@
...
@@ -46,7 +37,7 @@
href="#"
href="#"
role="button"
role="button"
:class="{ 'is-active': list.id == selected.id }"
:class="{ 'is-active': list.id == selected.id }"
@click="
selectList(list)
">
@click="
modal.selectedList = list
">
<span
<span
class="dropdown-label-box"
class="dropdown-label-box"
:style="{ backgroundColor: list.label.color }">
:style="{ backgroundColor: list.label.color }">
...
...
app/assets/javascripts/boards/components/modal/tabs.js.es6
View file @
76264cc0
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
(() => {
(() => {
const ModalStore = gl.issueBoards.ModalStore;
const ModalStore = gl.issueBoards.ModalStore;
window.gl = window.gl || {};
window.gl.issueBoards = window.gl.issueBoards || {};
gl.issueBoards.ModalTabs = Vue.extend({
gl.issueBoards.ModalTabs = Vue.extend({
data() {
data() {
return ModalStore.store;
return ModalStore.store;
...
...
app/assets/javascripts/boards/stores/modal_store.js.es6
View file @
76264cc0
(() => {
(() => {
window.gl = window.gl || {};
window.gl.issueBoards = window.gl.issueBoards || {};
class ModalStore {
class ModalStore {
constructor() {
constructor() {
this.store = {
this.store = {
...
...
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