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

BUGFIX: Task tracking #255

Merged
merged 3 commits into from
Apr 4, 2023
Merged

Conversation

justnat3
Copy link
Contributor

By tracking a task, you could no longer not track it without resorting to a double-click.

Untrack is now in place for a task that is already being tracked.

@vercel
Copy link

vercel bot commented Mar 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
astrostation ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 30, 2023 at 1:31PM (UTC)

@justnat3
Copy link
Contributor Author

linked to #254

@justnat3 justnat3 changed the title Task track patch BUGFIX: Task tracking Mar 30, 2023
src/components/TaskTracker/Task.tsx Outdated Show resolved Hide resolved
While I was fixing a ts-ignore, I found that track logic didn't really
act the way it should even still. So now toggleInProgressState is used
by flag and not by hoping the task is in the right state when we toggle.
@justnat3
Copy link
Contributor Author

please test this to see if you find the behavior is still not what we want it to be. I guess I didn't get it reproduce when I originally submitted the PR. So we just pass inProgress by flag now, seems like the way to go. Matches some of the other state management that this point anyways.

Cheers, -Nate

@justnat3 justnat3 requested a review from royanger March 30, 2023 23:25
Copy link
Owner

@Melkeydev Melkeydev left a comment

Choose a reason for hiding this comment

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

Tested and LGTM!

@Melkeydev Melkeydev merged commit f0f20a2 into Melkeydev:staging Apr 4, 2023
mechakin pushed a commit to mechakin/astrostation that referenced this pull request Oct 16, 2023
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.

3 participants