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] Add a doing status and timing the task currently doing #173

Open
JackTheMico opened this issue Feb 19, 2024 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@JackTheMico
Copy link

Is your feature request related to a problem? 😢 Please describe.
A to-do task has no "starting" or "doing" status. So sometimes I would forget what I was trying to do.

Describe the solution you'd like 🤔

  1. Add a new " doing " status for the to-do class.
  2. Add a timing mechanism(a background timer) to the current task so we can know how much time we spent on tasks.
  3. Need to add a field for 2. to save the spent time to the todo.yaml file.
  4. Alter the TodoWidget to show the spent time.

Describe alternatives you've considered 🧐

Additional context 📝
Thanks for creating this wonderful tool, I'd like to contribute because I'm learning how to use textual right now.

@JackTheMico JackTheMico added the enhancement New feature or request label Feb 19, 2024
@kraanzu
Copy link
Member

kraanzu commented Feb 26, 2024

Hey @JackTheMico, I see the use case and it'd be great!

Questions:
Let's say a user starts a task.

  • Will the user need to stop the task manually to record time?
  • Where do you plan to show the timer?

Thanks for creating this wonderful tool,

Thanks man!

I'd like to contribute because I'm learning how to use textual right now.

Sure! I can help as well after we are on the same page about the implementation :)
There can a lot of attributes related to a todo so I'm thinking of a way to let user decide how the tasks should render but haven't been able to reach a good solution yet + I really don't get much time to work on the projects to the development has been quite slow :(

@JackTheMico
Copy link
Author

My thoughts:

  1. A user should be able to pause the timer or toggle the task to the done status to complete the recording of time.
  2. I would like it to be shown at the status line personally, the format would be like --

@kraanzu
Copy link
Member

kraanzu commented Mar 9, 2024

I see. I'll have to test some things out so lets keep it on hold for a few days and then I can take a look ;)

@Arqamz
Copy link

Arqamz commented Jul 12, 2024

You could add a wakatime plugin for this also that would be great for this 'timing'

@kraanzu
Copy link
Member

kraanzu commented Jul 14, 2024

Yes I'm working on implementing plugins. Its taking time but I guess might as well take some time rather than a bad api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants