Closed Belphemur closed 8 years ago
@Belphemur thanks! that's very appreciated, this was a much needed work.
A few things:
Thanks again!
@paglias
I still have sometimes the bug with the countdown that doesn't "reset" in the popup.html, I haven't been able to track it down since the sitewatcher is working correctly and does send the data at the end of the countdown.
The rename should be completed now.
It should be good to merge. Changed Habitica, and removed the Todo feature (commented it.)
Thanks! I'll test it this weekend Il 15 gen 2016 4:24 PM, "Antoine Aflalo" notifications@github.com ha scritto:
It should be good to merge. Changed Habitica, and removed the Todo feature (commented it.)
— Reply to this email directly or view it on GitHub https://github.com/HabitRPG/habitrpg-chrome/pull/134#issuecomment-171990469 .
After this branch, I have another one to add support for https://pomodoro-tracker.com/
This tracker is better than tomato.es because it's using the timezone of your browser instead of the one of the server. Also the pomodoro are incremented by "sessions" instead of just daily.
I still struggling with the detecting of "skipping" break (minor issue) but other than that, I got everything working.
@Belphemur feel free to post another PR with it then! I'm sorry this is taking a bit to get reviewed by I'm a little busy
@Belphemur I've finally been able to check out this PR.
Some things/bugs:
^ Some are cosmetics, the important ones are being able to use activate the site watcher and the notification that appears every time the extension start
Interesting, it seems the extension have different behaviour when loaded on Linux/Windows or Mac. Which version of chrome are you using ?
Because on Chromium linux and Chrome Windows I don't have issue with the Site Watcher. Did you set it as always to try it ? It should then start the countdown.
@Belphemur chrome 47. Regarding the Site Watcher I managed to have it working playing with the settings (from always on to scheduled times and back to always on), same thing for the scrolling that went away once the Site watcher was enabled.
To reproduce both 3 and 4 try uninstalling the extension and then reinstalling it, the following happens:
Anyway it's a much needed overhaul and I'll be happy to merge it, if you can fix at least these two points it would be great :)
The sitewatcher bug is there since a long time in fact. The default file have a typo, the activatorName is alwayon instead of alwayson I fixed this. For the scrolling I really can't reproduce it at all even on new install.
For the configuration, I added a hook to make chrome open the settings page on installation of the extension
@Belphemur thanks a lot! I'm merging the PR and will publish the updated extension during the weekend. What's your Habitica UUID (Settings -> API -> User Id)?
@paglias you're welcome, it's a pleasure to work with a code base as good as this one.
My UserID is 75f801bb-0206-458f-9721-f9136007f9a2
@Belphemur thanks, even though most of the code base has been written several years ago by a different contributor before I joined the project, I'm happy it's such a good code :)
Hello,
I just wanted to fix first the use of the new API end-url. I also changed the name since HabitRPG has also. I took the time to redo all the icons to reflect the new logo. All the icon but the logo are my work, I added the psd in the repo in case somebody want to change them/add new icons.
The extension can create new task correctly with all the attribute. It does check first if the task is already presents. I made this because the API call POST /user/tasks/{id}/{direction} is not working as described in the documentation, it dismiss every information given but the text when "automatically creating a task".
I added the idea of big break for Tomatoes and provides a bonus for it. It wasn't implemented correctly.
I'm thinking of adding support for another tomatoes system: pomodoro.cc It does have also a task list that could be link to Habitica and also it would be a good way to start from scratch a tomato implementation.