Feature #8761
closedMy page - Spent time section only display 7 days, make it a parameter
0%
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
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
Updated by Stefan Grad over 12 years ago
This feature would be very useful for us, too.
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?
Updated by Toshi MARUYAMA over 11 years ago
- Category changed from Administration to My page
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.
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".
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
Updated by Pavel Potcheptsov about 8 years ago
- File rm_this_week.png rm_this_week.png added
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.
Updated by Marius BĂLTEANU about 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.
Updated by Toshi MARUYAMA about 8 years ago
- Related to Feature #24346: My page - Spent time: add predefined parameter "This week" added
Updated by Go MAEDA about 8 years ago
- Related to Feature #10713: My Page: Make the items on the page configurable added
Updated by Go MAEDA about 8 years ago
- Has duplicate Feature #7508: modify the extent time of the "spent time" on "my page" added
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?
Updated by Tobias Fischer almost 8 years ago
P.S.: I can only edit the text field when clicking the label to the right....
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.
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?
Updated by Marius BĂLTEANU almost 8 years ago
- File rm_8761_fixes_for_personalize_this_page_mode.patch rm_8761_fixes_for_personalize_this_page_mode.patch added
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.
Updated by Go MAEDA almost 8 years ago
- Status changed from Closed to Reopened
Reopening to deal with #8761#note-20.
Updated by Jean-Philippe Lang almost 8 years ago
- Status changed from Reopened to Closed
Patch applied, thanks.
Updated by Marius BĂLTEANU over 6 years ago
- Has duplicate Feature #916: Improve the timesheet summary on My Page added