Skip to content

Handle double clicking a checkbox#720

Closed
SharonStrats wants to merge 3 commits intomainfrom
fix/checkbox-dblclk
Closed

Handle double clicking a checkbox#720
SharonStrats wants to merge 3 commits intomainfrom
fix/checkbox-dblclk

Conversation

@SharonStrats
Copy link
Copy Markdown
Contributor

Ticket #124.

You can test this on a Tracker in the settings there is a place to check public and private indexes. This triggered teh error for me.

Copilot AI review requested due to automatic review settings March 19, 2026 06:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses SolidOS/solid-ui issue #124 by preventing double-clicks on an editable checkbox from triggering overlapping kb.updater.update() operations, which can lead to inconsistent UI state and update errors.

Changes:

  • Add an isUpdating guard to ignore additional clicks while an update is in progress.
  • Disable the checkbox button during the update and re-enable it in the update callback.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread src/widgets/forms.js
@timea-solid timea-solid moved this from In review to Ready in SolidOS NLNet UI Apr 2, 2026
@SharonStrats
Copy link
Copy Markdown
Contributor Author

moved to post-milestone3m

@github-project-automation github-project-automation Bot moved this from Ready to Done in SolidOS NLNet UI May 4, 2026
@SharonStrats SharonStrats deleted the fix/checkbox-dblclk branch May 4, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants