Skip to content

[Clockify] Add Time Entry #29613

Closed
Closed

Description

@CisDutchRose

Extension

https://www.raycast.com/isma/clockify

Raycast Version

0.69.0.0 (Raycast 2 Beta)

OS Version

MacOS Tahoe 26.5.2

Description

I can't select any projects anymore. Every time it resets itself to the 1e one in the list.
I know i'm using Raycast 2 Beta but all my other extensions are working fine.

Steps To Reproduce

  1. Open Raycast 2 Beta
  2. Time Tracking
  3. Add Time Entry
  4. Select any other project

Current Behaviour

Project resets itself to the 1e in the list.

Expected Behaviour

Select any project I want.

Activity

  1. added
    bug
    extension
    on Jul 21, 2026
  2. added theissue type on Jul 21, 2026
  3. raycastbot commented on Jul 21, 2026

    @raycastbot
    Collaborator

    Thank you for opening this issue!

    🔔 @ismamz @sxn @kuddl @azlekov @sebboer @shkm @constantins2001 @xmok @pcamminadi @riccardogiorato you might want to have a look.

    💡 Author and Contributors commands

    The author and contributors of isma/clockify can trigger bot actions by commenting:

    • @raycastbot close this issue Closes the issue.
    • @raycastbot close as not planned Closes the issue as not planned.
    • @raycastbot close as duplicate Closes the issue as duplicate.
    • @raycastbot rename this issue to "Awesome new title" Renames the issue.
    • @raycastbot reopen this issue Reopens the issue.
    • @raycastbot assign me Assigns yourself to the issue.
    • @raycastbot good first issue Adds the "Good first issue" label to the issue.
    • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.
  4. added
    extension: clockify
    on Jul 21, 2026
  5. changed the title [-][Clockify] Add Time Enry[/-] [+][Clockify] Add Time Entry[/+] on Jul 21, 2026
  6. tonygauderman commented on Sep 7, 2026

    @tonygauderman
    Contributor

    Root cause found — PR #30877 fixes this.

    Both project dropdowns in src/index.tsx declared onChange after spreading itemProps:

    <Form.Dropdown {...itemProps.projectId} title="Project" onChange={(projectId) => fetchTasksForProject(projectId)}>

    The later prop wins, so this replaced the onChange that useForm provides through itemProps, and values.projectId was never written. itemProps returns a controlled value (useForm returns null instead of undefined on purpose so the field isn't uncontrolled), so the next render forced the dropdown back to null — the selection snapped to the first project, which re-emitted onChange, and so on. That also explains the burst of task requests / occasional HTTP 429s while the dropdown is open.

    The fix drives the task fetch off the form value instead of intercepting onChange, so useForm's handler stays intact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextensionextension: clockify

    Type

    Fields

    Priority

    None yet

    Severity

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions