Vilhelm-Ian / Eisenhower_matrix_habitica

eisenhower-matrix-habitica.vercel.app
MIT License
2 stars 2 forks source link

Pomodoro Timer #2

Open Vilhelm-Ian opened 2 years ago

Vilhelm-Ian commented 2 years ago

@kalecream

I can add a pomodoro timer to the project. Just tell me how do you imagine it being done. Like a button next to a text that starts the timer and if you press it a pomodoro timer starts to countdown and when it finishes the countdown it checks the habit off?

kalecream commented 2 years ago

I was picturing it like this extension, where a pomodoro gets scored to a habit after it's finished. I use pomodoro and try to complete as many tasks as I can during the timer.

https://addons.mozilla.org/en-US/firefox/addon/habitica-pomodoro-sitekeeper/

Vilhelm-Ian commented 2 years ago

Can you check the website if the pomodoro function is what you wanted, @kalecream

kalecream commented 1 year ago

Hi, I checked it and had it a bit different as my idea was one timer which is linked to a pomodorlo habit and completing many tasks during that time until it runs out with an optional break.

I already changed the timer implementation and timer css, but continuing has been hard for me this week because of time-restraints 🙈

I'll finish what I'm doing on the weekend so you can at least have the preview.

Vilhelm-Ian commented 1 year ago

Okay now I understood what you meant. I can implement the logic for the "pomodoro habbit". Just I am not sure where to put the button to start the pomodoro

kalecream commented 1 year ago

@Vilhelm-Ian I had actually removed the circle timer and put the countdown on a button itself in a new div at the bottom.

Added a toast-notification instead of console.log statements for the comments you have there. I'm not sure which changes I have on my branch right now since my changing the timer was messy.

kalecream commented 1 year ago

Screenshot from 2022-10-13 06-04-45

I'm changing the color of the button to be cohesive, but the other divs in that bottom section are giving me some issues why I didn't finish styling this when I worked on it

Vilhelm-Ian commented 1 year ago

when you will be done with the design, I can implement the logic for updating a habit after the pomodoro is done