Skip to content

Fix stale letter issue in add letter button#36

Open
aeraa1725-bot wants to merge 1 commit into
Sant60:mainfrom
aeraa1725-bot:fix-add-letter-delay
Open

Fix stale letter issue in add letter button#36
aeraa1725-bot wants to merge 1 commit into
Sant60:mainfrom
aeraa1725-bot:fix-add-letter-delay

Conversation

@aeraa1725-bot

Copy link
Copy Markdown

Fixes #29

Changes made

  • Updated add_letter() API to accept the currently displayed letter from the frontend instead of relying on delayed server state.
  • Modified the frontend Add Letter button logic to send the visible letter at click time.
  • Ensures the exact displayed prediction is added, preventing stale-letter issues caused by prediction delay.

Result

The "Add Letter" button now adds the exact letter visible on screen when clicked, improving word formation accuracy.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Responsive "Add Letter" Button fix

1 participant