Skip to content

Slow auto-expand project item clicks#100

Merged
qqrm merged 1 commit intomainfrom
codex/add-delay-to-auto-expand-projects
Feb 5, 2026
Merged

Slow auto-expand project item clicks#100
qqrm merged 1 commit intomainfrom
codex/add-delay-to-auto-expand-projects

Conversation

@qqrm
Copy link
Owner

@qqrm qqrm commented Feb 5, 2026

Motivation

  • Auto-expanding project folders was triggering many clicks in quick succession which can confuse the UI/React, so clicks should be staggered to better mimic human interaction.
  • The extension version must be bumped when changing logic so deployments remain consistent.

Description

  • Added AUTO_EXPAND_PROJECT_ITEM_CLICK_DELAY_MS = 500 and a per-item delayMs counter to stagger folder toggle clicks.
  • Replaced immediate dispatchHumanClick calls with window.setTimeout scheduling and updated the debug message to include the scheduled delay.
  • Bumped manifest.json version from 1.0.104 to 1.0.105.

Testing

  • Ran npm run lint which completed successfully.
  • Ran npm run format:check and npm run format:write and confirmed prettier formatting passed.
  • Ran npm run typecheck and npm run test where vitest reported 1 test passed.
  • Ran npm run verify which completed successfully.

Codex Task

@qqrm qqrm enabled auto-merge (squash) February 5, 2026 05:31
@qqrm qqrm merged commit 53908d7 into main Feb 5, 2026
1 check passed
@qqrm qqrm deleted the codex/add-delay-to-auto-expand-projects branch February 5, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant