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
bbae5109
Commit
bbae5109
authored
May 03, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move TimeTrackingSpentOnlyPane vue component
parent
c89c7b6c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
2 deletions
+25
-2
app/assets/javascripts/sidebar/components/time_tracking/spent_only_pane.vue
...ipts/sidebar/components/time_tracking/spent_only_pane.vue
+18
-0
app/assets/javascripts/sidebar/components/time_tracking/time_tracker.vue
...scripts/sidebar/components/time_tracking/time_tracker.vue
+2
-2
changelogs/unreleased/move-time-tracking-spent-only-pane-vue-component.yml
...ased/move-time-tracking-spent-only-pane-vue-component.yml
+5
-0
No files found.
app/assets/javascripts/sidebar/components/time_tracking/spent_only_pane.
js
→
app/assets/javascripts/sidebar/components/time_tracking/spent_only_pane.
vue
View file @
bbae5109
<
script
>
export
default
{
export
default
{
name
:
'
time-tracking-spent-only-p
ane
'
,
name
:
'
TimeTrackingSpentOnlyP
ane
'
,
props
:
{
props
:
{
timeSpentHumanReadable
:
{
timeSpentHumanReadable
:
{
type
:
String
,
type
:
String
,
required
:
true
,
required
:
true
,
},
},
},
},
template
:
`
<div class="time-tracking-spend-only-pane">
<span class="bold">Spent:</span>
{{ timeSpentHumanReadable }}
</div>
`
,
};
};
</
script
>
<
template
>
<div
class=
"time-tracking-spend-only-pane"
>
<span
class=
"bold"
>
Spent:
</span>
{{
timeSpentHumanReadable
}}
</div>
</
template
>
app/assets/javascripts/sidebar/components/time_tracking/time_tracker.vue
View file @
bbae5109
<
script
>
<
script
>
import
TimeTrackingHelpState
from
'
./help_state.vue
'
;
import
TimeTrackingHelpState
from
'
./help_state.vue
'
;
import
TimeTrackingCollapsedState
from
'
./collapsed_state.vue
'
;
import
TimeTrackingCollapsedState
from
'
./collapsed_state.vue
'
;
import
timeTrackingSpentOnlyPane
from
'
./spent_only_pan
e
'
;
import
TimeTrackingSpentOnlyPane
from
'
./spent_only_pane.vu
e
'
;
import
TimeTrackingNoTrackingPane
from
'
./no_tracking_pane.vue
'
;
import
TimeTrackingNoTrackingPane
from
'
./no_tracking_pane.vue
'
;
import
TimeTrackingEstimateOnlyPane
from
'
./estimate_only_pane.vue
'
;
import
TimeTrackingEstimateOnlyPane
from
'
./estimate_only_pane.vue
'
;
import
TimeTrackingComparisonPane
from
'
./comparison_pane.vue
'
;
import
TimeTrackingComparisonPane
from
'
./comparison_pane.vue
'
;
...
@@ -13,7 +13,7 @@ export default {
...
@@ -13,7 +13,7 @@ export default {
components
:
{
components
:
{
TimeTrackingCollapsedState
,
TimeTrackingCollapsedState
,
TimeTrackingEstimateOnlyPane
,
TimeTrackingEstimateOnlyPane
,
'
time-tracking-spent-only-pane
'
:
t
imeTrackingSpentOnlyPane
,
T
imeTrackingSpentOnlyPane
,
TimeTrackingNoTrackingPane
,
TimeTrackingNoTrackingPane
,
TimeTrackingComparisonPane
,
TimeTrackingComparisonPane
,
TimeTrackingHelpState
,
TimeTrackingHelpState
,
...
...
changelogs/unreleased/move-time-tracking-spent-only-pane-vue-component.yml
0 → 100644
View file @
bbae5109
---
title
:
Move TimeTrackingSpentOnlyPane vue component
merge_request
:
18710
author
:
George Tsiolis
type
:
performance
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