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
53f6388a
Commit
53f6388a
authored
Jul 26, 2021
by
Denys Mishunov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '335028-improve-time-tracking-wordage' into 'master'
Improve time tracking wordage See merge request gitlab-org/gitlab!66720
parents
31ecdedd
bdba0eb9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
13 deletions
+16
-13
app/assets/javascripts/sidebar/components/time_tracking/help_state.vue
...vascripts/sidebar/components/time_tracking/help_state.vue
+3
-5
doc/user/project/img/remaining_time_v14_2.png
doc/user/project/img/remaining_time_v14_2.png
+0
-0
doc/user/project/time_tracking.md
doc/user/project/time_tracking.md
+10
-5
locale/gitlab.pot
locale/gitlab.pot
+3
-3
No files found.
app/assets/javascripts/sidebar/components/time_tracking/help_state.vue
View file @
53f6388a
...
@@ -15,9 +15,7 @@ export default {
...
@@ -15,9 +15,7 @@ export default {
},
},
estimateText
()
{
estimateText
()
{
return
sprintf
(
return
sprintf
(
s__
(
s__
(
'
estimateCommand|%{slash_command} overwrites the total estimated time.
'
),
'
estimateCommand|%{slash_command} will update the estimated time with the latest command.
'
,
),
{
{
slash_command
:
'
<code>/estimate</code>
'
,
slash_command
:
'
<code>/estimate</code>
'
,
},
},
...
@@ -26,7 +24,7 @@ export default {
...
@@ -26,7 +24,7 @@ export default {
},
},
spendText
()
{
spendText
()
{
return
sprintf
(
return
sprintf
(
s__
(
'
spendCommand|%{slash_command}
will update the sum of the time
spent.
'
),
s__
(
'
spendCommand|%{slash_command}
adds or subtracts time already
spent.
'
),
{
{
slash_command
:
'
<code>/spend</code>
'
,
slash_command
:
'
<code>/spend</code>
'
,
},
},
...
@@ -41,7 +39,7 @@ export default {
...
@@ -41,7 +39,7 @@ export default {
<div
data-testid=
"helpPane"
class=
"time-tracking-help-state"
>
<div
data-testid=
"helpPane"
class=
"time-tracking-help-state"
>
<div
class=
"time-tracking-info"
>
<div
class=
"time-tracking-info"
>
<h4>
{{
__
(
'
Track time with quick actions
'
)
}}
</h4>
<h4>
{{
__
(
'
Track time with quick actions
'
)
}}
</h4>
<p>
{{
__
(
'
Quick actions can be used in
the issues
description and comment boxes.
'
)
}}
</p>
<p>
{{
__
(
'
Quick actions can be used in description and comment boxes.
'
)
}}
</p>
<p
v-html=
"estimateText"
></p>
<p
v-html=
"estimateText"
></p>
<p
v-html=
"spendText"
></p>
<p
v-html=
"spendText"
></p>
<gl-button
:href=
"href"
>
{{
__
(
'
Learn more
'
)
}}
</gl-button>
<gl-button
:href=
"href"
>
{{
__
(
'
Learn more
'
)
}}
</gl-button>
...
...
doc/user/project/img/remaining_time_v14_2.png
0 → 100644
View file @
53f6388a
4.14 KB
doc/user/project/time_tracking.md
View file @
53f6388a
...
@@ -14,8 +14,8 @@ requests in GitLab.
...
@@ -14,8 +14,8 @@ requests in GitLab.
Use time tracking for these tasks:
Use time tracking for these tasks:
-
Record the time spent working on an issue or a merge request.
-
Record the time spent working on an issue or a merge request.
-
Add
an estimate of the amount of time needed
to complete an issue or a merge
-
Add
or update an estimate of the total time
to complete an issue or a merge
request.
request.
-
View a breakdown of time spent working on an issue or a merge request.
-
View a breakdown of time spent working on an issue or a merge request.
You don't have to indicate an estimate to enter the time spent, and vice versa.
You don't have to indicate an estimate to enter the time spent, and vice versa.
...
@@ -45,9 +45,14 @@ For example, if you need to enter an estimate of 1 month, 2 weeks, 3 days, 4 hou
...
@@ -45,9 +45,14 @@ For example, if you need to enter an estimate of 1 month, 2 weeks, 3 days, 4 hou
type
`/estimate 1mo 2w 3d 4h 5m`
.
type
`/estimate 1mo 2w 3d 4h 5m`
.
Check the
[
time units you can use
](
#configuration
)
.
Check the
[
time units you can use
](
#configuration
)
.
Every time you enter a new time estimate, any previous time estimates are
The estimate is designed to show the total estimated time. The estimated
overridden by this new value. There should only be one valid estimate in an
time remaining is automatically calculated and displayed when hovering over
issue or a merge request.
the time tracking information in the right sidebar.
![
Estimated time remaining
](
img/remaining_time_v14_2.png
)
An issue or a merge request can have only one estimate. Every time you enter a
new time estimate, it overwrites the previous value.
To remove an estimation entirely, use
`/remove_estimate`
.
To remove an estimation entirely, use
`/remove_estimate`
.
...
...
locale/gitlab.pot
View file @
53f6388a
...
@@ -26810,7 +26810,7 @@ msgstr ""
...
@@ -26810,7 +26810,7 @@ msgstr ""
msgid "Queued"
msgid "Queued"
msgstr ""
msgstr ""
msgid "Quick actions can be used in
the issues
description and comment boxes."
msgid "Quick actions can be used in description and comment boxes."
msgstr ""
msgstr ""
msgid "Quick help"
msgid "Quick help"
...
@@ -38701,7 +38701,7 @@ msgstr ""
...
@@ -38701,7 +38701,7 @@ msgstr ""
msgid "error"
msgid "error"
msgstr ""
msgstr ""
msgid "estimateCommand|%{slash_command}
will update the estimated time with the latest command
."
msgid "estimateCommand|%{slash_command}
overwrites the total estimated time
."
msgstr ""
msgstr ""
msgid "exceeds the limit of %{bytes} bytes"
msgid "exceeds the limit of %{bytes} bytes"
...
@@ -39619,7 +39619,7 @@ msgstr ""
...
@@ -39619,7 +39619,7 @@ msgstr ""
msgid "specified top is not part of the tree"
msgid "specified top is not part of the tree"
msgstr ""
msgstr ""
msgid "spendCommand|%{slash_command}
will update the sum of the time
spent."
msgid "spendCommand|%{slash_command}
adds or subtracts time already
spent."
msgstr ""
msgstr ""
msgid "ssh:"
msgid "ssh:"
...
...
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