Project

General

Profile

Actions

Feature #8761

closed

My page - Spent time section only display 7 days, make it a parameter

Added by Mario Morneau over 13 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
My page
Target version:
Start date:
2011-07-07
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Sorry for my english I am from Québec native language french

This feature would be easy to add.

In My Page if I personnalize my page by hadding the spent time option

only 7 days are shown.(sorry in french)

Temps passé (les 7 derniers jours)

Total: 22.21
Activité Projet Commentaire Heures

Here in my shop we do the time sheet every 2 weeks (14 days).

Could we had a parameter in the configuration section of redmine to select the number of days that could be shown in that report.

We could have general parameter in the administration configuration section
let said
Default days "time spent" report 7 day(s)

And event better could it be set by user in the my account section. (note the general one would suffice for us)
for exemple by adding a parameter

User default days "time spent" report (default) day(s)

Where (default) means to use the general one from the admin section

So in the code for the report if the user one is not default we use that one and if it is default we use the general one

here an exemple of my page (sorry in french)

Temps passé (les 7 derniers jours)

Total: 22.21
Activité Projet Commentaire Heures

so if i set my User default days "time spent" report to 14 (or the general one)
I would have see (in bold)

Temps passé (les 14 derniers jours)

Total: 22.21
Activité Projet Commentaire Heures
and list 14 days in the report


Files


Related issues

Related to Redmine - Patch #2106: Ability to choose period in 'Spent time' and count of watched issues on 'My page'.New2008-10-29

Actions
Related to Redmine - Feature #24346: My page - Spent time: add predefined parameter "This week"New

Actions
Related to Redmine - Feature #10713: My Page: Make the items on the page configurableNew

Actions
Has duplicate Redmine - Feature #7508: modify the extent time of the "spent time" on "my page"Closed2011-02-01

Actions
Has duplicate Redmine - Feature #916: Improve the timesheet summary on My PageClosed2008-03-24

Actions
Actions #1

Updated by Mario Morneau over 13 years ago

Hi! i found the following plug-in

Redmine Extended Spent Time plugin

does part of what i want but since it is week and dépending of the begening day of working week could have problem.

I would prefer to be able to show the number of days.

Could it be done and integrate to the main redmine project....

Thanks

Actions #2

Updated by Etienne Massip over 13 years ago

  • Category set to Administration
Actions #3

Updated by Stefan Grad over 12 years ago

This feature would be very useful for us, too.

Actions #4

Updated by htellez htellez over 11 years ago

All the people at my office (20 guys) would love a feature like this.

Despite we update our time entries daily, sometimes we need to review how much time a task took.

In the summary pages for time entries it is difficult to know how much time we spent in a specific day.
You need to sum up the time logged. In the "my page" it is beautiful, it only shows your time entries
and it sums up how much time you spent in each day.

It has been a whole year since the last update to this post. What have happened?

Actions #5

Updated by Filou Centrinov over 11 years ago

Category: My Page

Actions #6

Updated by Toshi MARUYAMA over 11 years ago

  • Category changed from Administration to My page
Actions #7

Updated by Keven Marin over 11 years ago

I'm currently working a plugin that could send a weekly email report to help our employees to manager and clock their time.
In My Page, it could be nice to have such a feature that tell your activities for the last X days/month.

Actions #8

Updated by Jean-Philippe Lang about 8 years ago

  • Subject changed from My page - Spent time section only display 7 days make it a parameter to My page - Spent time section only display 7 days, make it a parameter
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.4.0
  • Resolution set to Fixed

Each user can now change the number of days that are displayed on "My Page".

Actions #9

Updated by Jean-Philippe Lang about 8 years ago

  • Related to Patch #2106: Ability to choose period in 'Spent time' and count of watched issues on 'My page'. added
Actions #10

Updated by Pavel Potcheptsov almost 8 years ago

Could you also add a predefined parameter "This week" which actually looks like

where("#{TimeEntry.table_name}.user_id = ? \
AND #{TimeEntry.table_name}.spent_on \
BETWEEN ? AND ?", User.current.id, \
Date.today - (Date.today.cwday - 1) % 7, \
Date.today - (Date.today.cwday - 1) % 7 + 6).

This is important for employees who have to register defined amount of hours per week and it's useful to see amount of time that you spent/registered during current week.

Actions #11

Updated by Marius BĂLTEANU almost 8 years ago

Pavel Potcheptsov wrote:

Could you also add a predefined parameter "This week" which actually looks like
[...]
This is important for employees who have to register defined amount of hours per week and it's useful to see amount of time that you spent/registered during current week.

You should open a new issue for your request.

Actions #12

Updated by Pavel Potcheptsov almost 8 years ago

Thanks, I've created #24346.

Actions #13

Updated by Toshi MARUYAMA almost 8 years ago

  • Related to Feature #24346: My page - Spent time: add predefined parameter "This week" added
Actions #14

Updated by Go MAEDA almost 8 years ago

  • Related to Feature #10713: My Page: Make the items on the page configurable added
Actions #15

Updated by Go MAEDA almost 8 years ago

  • Has duplicate Feature #7508: modify the extent time of the "spent time" on "my page" added
Actions #16

Updated by Tobias Fischer almost 8 years ago

Jean-Philippe Lang wrote:

Each user can now change the number of days that are displayed on "My Page".

There's a regression with that in Firefox on Mac (at least). When clicking the "gear" icon the input field is shown, but it is not clickable because the drag handler for positioning the box overlays it.
I cannot edit the input field. I can't even click the "Save" button.

Can you have a look please?

Actions #17

Updated by Tobias Fischer almost 8 years ago

P.S.: I can only edit the text field when clicking the label to the right....

Actions #18

Updated by Go MAEDA almost 8 years ago

Tobias Fischer wrote:

There's a regression with that in Firefox on Mac (at least). When clicking the "gear" icon the input field is shown, but it is not clickable because the drag handler for positioning the box overlays it.
I cannot edit the input field. I can't even click the "Save" button.

Probably you were in the "Personalize this page" screen. Please click the gear icon in the normal "My page" screen.

Actions #19

Updated by Tobias Fischer almost 8 years ago

Go MAEDA wrote:

Probably you were in the "Personalize this page" screen. Please click the gear icon in the normal "My page" screen.

Yow are right, that works! But shouldn't we hide the "Plus" and the "Gear" icon then in "personalization mode" on this page to avoid such situations?

Actions #20

Updated by Marius BĂLTEANU over 7 years ago

In the "Personalize this page" screen, there are multiple issues:
1. Input field from time block is not clickable on Firefox mac (reported above by Tobias Fischer)
2. Save no of days for spent time block is not working because of the incorrect action form ("/my/page_layout" instead of "my/page"). It throws the following error "ActionController::RoutingError (No route matches [POST] "/my/page_layout"):"
3. The cursor on issue/time entry hover indicates that a contextual menu is available, but if you try to open the menu, it won't work because of the edit mode.

Attached is a patch that fixes all 3 issues. I chose to hide the contextual icons because I think that in the "Personalize this page" mode, the user should focus on how to arrange the blocks, and not on the block settings.

Any feedback is welcomed.

Actions #21

Updated by Go MAEDA over 7 years ago

  • Status changed from Closed to Reopened

Reopening to deal with #8761#note-20.

Actions #22

Updated by Jean-Philippe Lang over 7 years ago

  • Status changed from Reopened to Closed

Patch applied, thanks.

Actions #23

Updated by Marius BĂLTEANU over 6 years ago

  • Has duplicate Feature #916: Improve the timesheet summary on My Page added
Actions

Also available in: Atom PDF