Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close #876 - fix todo modal editing feeling slow #940

Merged

Conversation

aeter
Copy link
Contributor

@aeter aeter commented Jul 24, 2020

References #876. The modal shown when editing todos was feeling slow to show - there was required an additional hit of Enter to show the modal.

This commit queues a Draw update in the updateSelected function (similarly to the newItem function) - so now the modal feels fast to show.

Tests:

  • ran make test
  • tested locally with a todo list

Fixes wtfutil#876. The modal shown when editing todos was feeling slow to start
It required an additional hit of `Enter` to show the modal.

This commit fixes it by queueing a `Draw` update - so now the modal
feels fast to show.

Tests:
* ran `make test`
* tested locally with a todo list
@aeter aeter force-pushed the feature/fix-todo-modal-slowness branch from ea78904 to f051bdb Compare July 24, 2020 05:20
@senorprogrammer
Copy link
Collaborator

senorprogrammer commented Jul 27, 2020

Thank you for this. This PR will be included in the next release.

@senorprogrammer senorprogrammer merged commit 2054d7c into wtfutil:master Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants