diff --git a/src/components/Modal.vue b/src/components/Modal.vue index 44e9810..efb7e85 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -12,7 +12,7 @@ -
+
<button @click="close" class="Box-btn-octicon btn-octicon float-right" type="button" aria-label="Close dialog" data-close-dialog=""> <svg class="octicon octicon-x" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z"></path></svg> @@ -21,7 +21,7 @@ {{title}} </slot> -
+
diff --git a/src/components/SelectMenuItem.vue b/src/components/SelectMenuItem.vue index 91a02f6..160f086 100644 --- a/src/components/SelectMenuItem.vue +++ b/src/components/SelectMenuItem.vue @@ -40,7 +40,6 @@ cursor: pointer; background-color: #fff; border: 0; - border-bottom: 1px solid #eaecef; svg{ width: 16px; diff --git a/src/network/api.js b/src/network/api.js index 44f6803..5e806e3 100644 --- a/src/network/api.js +++ b/src/network/api.js @@ -254,15 +254,15 @@ export const API_TREE_LIST = payload => { } export const API_REPOSITORY_ISSUES_AVAILABLE_AUTHORS = payload => { - return `${PROXY_API_BASE}/${payload.owner}/${payload.repo}/issues/show_menu_content?partial=issues%2Ffilters%2Fauthors_content&q=${payload.query}` + return `${PROXY_API_BASE}/${payload.owner}/${payload.repo}/issues/show_menu_content?partial=issues/filters/authors_content&q=${payload.query}` } export const API_REPOSITORY_ISSUES_AVAILABLE_ASSIGNEES = payload => { - return `${PROXY_API_BASE}/${payload.owner}/${payload.repo}/issues/show_menu_content?partial=issues%2Ffilters%2Fassigns_content&q=${payload.query}` + return `${PROXY_API_BASE}/${payload.owner}/${payload.repo}/issues/${payload.number}/show_partial?partial=issues/sidebar/assignees_menu_content` } export const API_REPOSITORY_ISSUES_AVAILABLE_LABELS = payload => { - return `${PROXY_API_BASE}/${payload.owner}/${payload.repo}/issues/show_menu_content?partial=issues%2Ffilters%2Flabels_content&q=${payload.query}` + return `${PROXY_API_BASE}/${payload.owner}/${payload.repo}/issues/show_menu_content?partial=issues/filters/labels_content&q=${payload.query}` } export const API_REPOSITORY_AVAILABLE_BRANCHES = payload => { @@ -440,9 +440,5 @@ export const API_COMMITS_OF_PULL_REQUEST = payload => { export const API_PROXY_TAGS = payload => `${PROXY_API_BASE}/${payload.owner}/${payload.repo}/tags?q=${payload.query}` -export const API_ISSUE_AVAILABLE_ASSIGNEES = payload => { - let query = util_queryParse.querify(payload.params) - return `${GITHUB_REST_API_BASE}/repos/${payload.owner}/${payload.repo}/assignees?${query}` -} +export const API_ISSUE_ASSIGNEES_ACTION = payload => `${GITHUB_REST_API_BASE}/repos/${payload.owner}/${payload.repo}/issues/${payload.number}/assignees` -export const API_ISSUE_ASSIGNEES_ACTION = payload => `${GITHUB_REST_API_BASE}/repos/${payload.owner}/${payload.repo}/issues/${payload.number}/assignees` \ No newline at end of file diff --git a/src/pages/Repository/Issues/IssueDetail/IssueDetail.vue b/src/pages/Repository/Issues/IssueDetail/IssueDetail.vue index 8676674..2daa649 100644 --- a/src/pages/Repository/Issues/IssueDetail/IssueDetail.vue +++ b/src/pages/Repository/Issues/IssueDetail/IssueDetail.vue @@ -393,6 +393,7 @@ this.data.labels = event.detail }, milestoneUpdatedHook(event) { + console.log(event) this.data.milestone = event.detail }, assigneesChangedHook(event) { diff --git a/src/pages/Repository/Issues/IssueDetail/components/BottomInfoRows.vue b/src/pages/Repository/Issues/IssueDetail/components/BottomInfoRows.vue index d2604fc..3cd732a 100644 --- a/src/pages/Repository/Issues/IssueDetail/components/BottomInfoRows.vue +++ b/src/pages/Repository/Issues/IssueDetail/components/BottomInfoRows.vue @@ -82,18 +82,19 @@ v-model="chooseAssigneesModal.searchQuery"/> - -