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

feat(focus): unfocus a task after it has been completed #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wjzijderveld
Copy link
Contributor

Focussing on a task is a nice addition!
But it bugged me a little when you mark something as done, that it would still be shown as being focussed on, to me it makes sense to unfocus the task.

Sidenote: it took me by surprise that there are a bunch of tests for the User and UserList, but it doesn't actually cover the actual result in the end as the dom changes aren't based on the current model state. It might be nice to simply rerender the whole task when something changes, instead of trying to sync the state of the dom and the state of the underlaying models? Something like this.rerenderTask(id) instead of this.completeTaskFromDOM(id)?

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.

1 participant