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
24c8e6bc
Commit
24c8e6bc
authored
Aug 20, 2020
by
Tom Quirk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add todo_button to design sidebar
parent
957bd3bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
app/assets/javascripts/design_management/components/design_sidebar.vue
...vascripts/design_management/components/design_sidebar.vue
+8
-0
No files found.
app/assets/javascripts/design_management/components/design_sidebar.vue
View file @
24c8e6bc
...
...
@@ -8,6 +8,7 @@ import { extractDiscussions, extractParticipants } from '../utils/design_managem
import
{
ACTIVE_DISCUSSION_SOURCE_TYPES
}
from
'
../constants
'
;
import
DesignDiscussion
from
'
./design_notes/design_discussion.vue
'
;
import
Participants
from
'
~/sidebar/components/participants/participants.vue
'
;
import
TodoButton
from
'
~/vue_shared/components/todo_button.vue
'
;
export
default
{
components
:
{
...
...
@@ -16,6 +17,7 @@ export default {
GlCollapse
,
GlButton
,
GlPopover
,
TodoButton
,
},
props
:
{
design
:
{
...
...
@@ -102,6 +104,12 @@ export default {
<
template
>
<div
class=
"image-notes"
@
click=
"handleSidebarClick"
>
<div
class=
"gl-display-flex gl-justify-content-space-between gl-border-b-1 gl-border-b-gray-100"
>
<span>
{{
__
(
'
To-Do
'
)
}}
</span>
<todo-button
issuable-type=
"design"
:issuable-id=
"design.iid"
/>
</div>
<h2
class=
"gl-font-weight-bold gl-mt-0"
>
{{
issue
.
title
}}
</h2>
...
...
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