Skip to content

[BUG]: Impossible to update a timesheet and the modal delete window does not give feedback to the user on the Timesheet page. #3922

@NdekoCode

Description

@NdekoCode

Is there already an issue for this bug?

  • I have checked existing issues

Current behavior

On the /timesheet/[...params] page, when trying to interact with a manual time log using the dot menu (...), several errors occur:

  1. When clicking Change Status, we get the following error toast:

Mutation Error: Forbidden resource

  1. When toggling the Billable switch, we get:

Mutation Error: Failed to update manual time log

  1. When clicking Delete and confirming the deletion in the modal:
  • Nothing happens.
  • The button shows a loading state briefly, but no success message or visual feedback is shown.
  • The time log is not removed.

This makes it impossible to manage manual time logs from the Timesheet UI.

What I expected was:

  • To be able to successfully update the time log status or billable value.
  • To see proper feedback after deleting a time log (and the log should disappear from the list).
screencast-localhost_3030-2025_06_27-09_08_00.webm

Steps to reproduce

  1. Go to /timesheet/[...params]
  2. Click on the ... button of any manual time log
  3. Click Change Status
  4. Observe toast error: Forbidden resource
  5. Try toggling the Billable switch
  6. Observe toast error: Failed to update manual time log
  7. Try clicking Delete, confirm in modal
  8. Nothing happens, and the time log is not deleted

Environment

Development

Browser

Google Chrome

Operating System

macOS

Version

v0.117.2

Relevant logs

Mutation Error: Forbidden resource
Mutation Error: Failed to update manual time log
`

Additional information

  • The issue happens for multiple users and affects all manual time logs on the Timesheet page.
  • It may be related to permission or incorrect API handling for manual time logs.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions