Skip to content

Multiple Clockify buttons appearing in Todoist integration #304

@codigoisaac

Description

@codigoisaac

I am experiencing a recurring UI bug where multiple Clockify timer buttons are injected into Todoist tasks. Sometimes two, or even three, Clockify buttons appear side-by-side to the left of a single task.

Environment:

  • Browser: Floorp (Gecko-based)
  • Platform: Todoist Web
  • Extension: Clockify (Firefox/Gecko version)

Steps to Reproduce & Observations:

  1. Standard Load: Open a Todoist project URL or perform a regular refresh.
    • Result: Two or three Clockify buttons appear side-by-side.
  2. Hard Refresh (Ctrl + F5): Perform a hard reload.
    • Result: The issue is fixed, and only one button is displayed correctly.
  3. Internal Navigation: Navigate to another project and back within the Todoist app (SPA navigation).
    • Result: The duplicates disappear, and only one button remains.

Expected Behavior:
Only one Clockify button should be injected per task, regardless of the loading method (standard load vs. hard refresh).

Note:
The injection script seems to trigger multiple times during the initial page load event, but correctly handles the DOM when a hard refresh or internal navigation occurs.

When loading the page normally:

Image Image Image

When hard-refreshing the page with Ctrl + F5, or navigating to another Todoist page an then coming back:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions