# Feature OP-6655 - Use angular modal for time logging throughout the application

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-6655

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 10.6.0 |
| Sprint | 10.6.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

### 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)

![](/api/v3/attachments/17513/content)

**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)

![](/api/v3/attachments/17512/content)

**3. Additional**

  - Inform [rlogiacco](https://github.com/rlogiacco) , author of <https://github.com/opf/openproject/pull/7974>, that logging for other users can be implemented.

### Out of scope

  - Work package views (single and list): <mention class="mention" data-id="32129" data-type="work_package" data-text="#32129">#32129</mention>
  - Replacing the functionality behind the icon on the time sheet module as the whole module is removed: <mention class="mention" data-id="20696" data-type="work_package" data-text="#20696">#20696</mention>
  - Cleaning up code e.g. rails routes, removing the form ... (moved to <mention class="mention" data-id="20696" data-type="work_package" data-text="#20696">#20696</mention>)
