-
Notifications
You must be signed in to change notification settings - Fork 168
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
Update Hamster plugin to work with new plugin api. #465
Update Hamster plugin to work with new plugin api. #465
Conversation
update to new plugin api and update the description we send to dbus-hamster version 3.0.
I'm impressed this still works! UI Ideas
RevivingThere's a few extra steps in order to make this a living plugin again.
Thanks for working on this! |
9b82ec8
to
df8a3ce
Compare
@diegogangl thanks for your valuable comments, I just pushed a new version with your suggestions. |
df8a3ce
to
c49ac4c
Compare
Great work! One thing I noticed is that when you start a task in the editor, the icon toggling gets confused and it shows stop for start and viceversa. Something similar happens if I set the task to done with the timer on. Ideally the timer should auto-stop if I dismiss or set the task to done. |
hi @diegogangl just pushed a fix for
but I can't reproduce what you mention marking as done or dismiss (when I do this with shortcut, on browser with context menu or button or in task editor ) the hasmter timer is stop to me all the time |
Another thing: The plugin name shows up in the list with quotes. |
581e502
to
7377aae
Compare
when a post is started in edit mode, and then is closed it will reload the button in current browser task selected.
7377aae
to
dc42b49
Compare
@diegogangl thanks again, I found it I had dark theme and it wasn't so clear there your image make it clear the issue, now it doesn't look like that toggle, and also remove the quotes in plugin name |
Alright, we're almost there! Only two more things I noticed:
|
- store the menu in a pool for tasks to handle different states - remove hamster plugin logs.
Hi @diegogangl for now I pushed a version removing logs, and handling the state of the menu in the editor to avoid that confusion when you open an editor (or multiple and change state in main window or different editor windows) Do you prefer move the menu to a button with icon "alarm-symbolic" like main windows? to me sound good I can try to handle and replace the button in the menu. |
Thanks for the updates!
I'd rather not add more buttons to the editor, since it's already pretty crowded. And in the future we might include the editor as a third pane in the main window, so we might have to remove the button anyways. I found another thing, if you quit gtg while a task is being tracked hamster keeps tracking that task. If you open gtg again, you get the option to start that task instead of stop (but it actually stops the task). |
Hi @diegogangl thank you as always with great feedback
to me doesn't sound like a problem, hamster can work in parallel and close, crash or disable plugin in GTG shouldn't affect that.
this doesn't happen to me, I click once gtg show the stop button, and don't do anything to hamster.
maybe the comparation options could be options
but to me sound like a new iteration, maybe a next phase, and start merging the minimum viable product. also for next phase apart of these options or other if appears feedback, |
Hm you are right, I tried tracking only one task this time and it works like that.
It'd be interesting to check if Hamster keeps some sort of ID for activities that can be fetched. Then we could link hamster activity ids to a task id, those can't be changed by the user
Agreed. If you don't have anything else to do with this branch I'll merge it later then. BTW, make sure to include these in one of the commits or the PR description since you actually brought it back to life and fixed these bugs :) fixes #198
Yeah, the API is missing several utilities. I have been avoiding it since the UI is still going several big changes and refactors. For instance we will probably start moving away from GtkTreeView for 0.6. Also I wonder if it wouldn't be better to use signals instead of those callbacks. Anways, feel free to open an issue if you have some ideas. |
@diegogangl added those 3 into the PR description |
Sounds good ! |
ref #114
fixes #198
fixes #80
closes #114