Content
View differences
Updated by Henriette Darge about 6 years ago
### Acceptance criteria
**1\. Cost reports page**
* When the user presses on the "Edit"-icon (pencil) in the non grouped table of a cost report, the edit time entry modal is opened (same as editing a time entry from the "My spent time" widget). Upon saving, the whole page is reloaded (ideally, only the result table is reloaded) to reflect the change.
* When the user presses on the "Delete"- icon (garbage bin) in the non grouped table of a cost report, the time entry is removed via API v3 (after confirmation). After a successful removal, the results table/whole page is reloaded to reflect the change.
* PR: [\[32126\] Use time logging widget on cost reports page](https://github.com/opf/openproject/pull/8345)

**2\. Project overview page**
* When the user presses on the "Edit"-icon (pencil) in the"spent time" widget, the edit time entry modal is opened (same as editing a time entry from the "My spent time" widget). Upon saving, the widget data is reloaded to reflect the change.
* PR: [\[32126\] Use time logging widget on project overview page](https://github.com/opf/openproject/pull/8344)

**3\. Code cleanup**
* Remove code for [TimelogController#create, TimelogController#update, TimelogController#destroy](https://github.com/opf/openproject/blob/dev/app/controllers/timelog_controller.rb#L103-L155),
* remove associated routes
* remove specs
* remove i18n keys
* remove actions from permissions
**4\. Additional** 
* Inform [rlogiacco](https://github.com/rlogiacco) , author of [https://github.com/opf/openproject/pull/7974](https://github.com/opf/openproject/pull/7974), that logging for other users can be implemented.
### Out of scope
* Work package views (single and list): #32129
* Replacing the functionality behind the icon on the time sheet module as the whole module is removed: #20696
**1\. Cost reports page**
* When the user presses on the "Edit"-icon (pencil) in the non grouped table of a cost report, the edit time entry modal is opened (same as editing a time entry from the "My spent time" widget). Upon saving, the whole page is reloaded (ideally, only the result table is reloaded) to reflect the change.
* When the user presses on the "Delete"- icon (garbage bin) in the non grouped table of a cost report, the time entry is removed via API v3 (after confirmation). After a successful removal, the results table/whole page is reloaded to reflect the change.
* PR: [\[32126\] Use time logging widget on cost reports page](https://github.com/opf/openproject/pull/8345)

**2\. Project overview page**
* When the user presses on the "Edit"-icon (pencil) in the"spent time" widget, the edit time entry modal is opened (same as editing a time entry from the "My spent time" widget). Upon saving, the widget data is reloaded to reflect the change.
* PR: [\[32126\] Use time logging widget on project overview page](https://github.com/opf/openproject/pull/8344)

**3\. Code cleanup**
* Remove code for [TimelogController#create, TimelogController#update, TimelogController#destroy](https://github.com/opf/openproject/blob/dev/app/controllers/timelog_controller.rb#L103-L155),
* remove associated routes
* remove specs
* remove i18n keys
* remove actions from permissions
**4\. Additional**
* Inform [rlogiacco](https://github.com/rlogiacco) , author of [https://github.com/opf/openproject/pull/7974](https://github.com/opf/openproject/pull/7974), that logging for other users can be implemented.
### Out of scope
* Work package views (single and list): #32129
* Replacing the functionality behind the icon on the time sheet module as the whole module is removed: #20696