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

Support for projects #21

Open
wireless25 opened this issue Aug 4, 2021 · 7 comments
Open

Support for projects #21

wireless25 opened this issue Aug 4, 2021 · 7 comments

Comments

@wireless25
Copy link

problem statement

  • install the app as described in the readme
  • add company and API key
  • app appears in the menubar
  • if the timer is running (started on the Hakuna website) time is displayed correctly
  • if the timer is running and the pause icon is clicked on the menubar, the timer stops as intended
  • trying to start the timer again is not possible, clicking the play icon has no effect

OS and machine

  • macOS Catalina 10.15.7 (19H15)
  • MacBook Pro (16-inch, 2019)
@MaxGfeller
Copy link
Contributor

Hi Stephan, thanks for the issue! In the context menu, is there a "Task Type" selected?

@StanBarrows
Copy link

StanBarrows commented Aug 4, 2021

I can confirm this issue. If this behavior is not intended, I can have a closer look by cloning the repository offline and run it via npm.

CleanShot 2021-08-04 at 14 06 43@2x

@MaxGfeller
Copy link
Contributor

I assume you have the newest version of the app installed? Could you try starting it via the command line: /Applications/Hakuna\ Menubar.app/Contents/MacOS/Hakuna\ Menubar

...and check if there appears an error if you try to start the timer?

@wireless25
Copy link
Author

wireless25 commented Aug 5, 2021

@MaxGfeller I started the app from the command line, no errors when starting the timer

I tried to run the app in dev mode, and I was able to start it, but I didn't find out how to open the dev tools for debugging, as there is no real window, and therefore the Electron app is not opening. I have no experience with Electron, some quick googling didn't help.

@MaxGfeller
Copy link
Contributor

The timer logic is happening in the main process and therefore outside of any browser windows, that's why the dev tools unfortunately aren't of much help.

I can't reproduce the problem here but i just found something that might be responsible: do you have Hakuna's projects module enabled? Because this is probably not yet supported by the Hakuna Menubar app.

@wireless25
Copy link
Author

We use different projects to track time, yes. If this is the issue, fair enough. Could you give me a hint on how to debug the application when the dev tools are not helpful?

I could support implementing the projects feature if this would be of interest :)

@MaxGfeller
Copy link
Contributor

Alright, then i guess that's the problem!

It's kinda hard for me to implement this as we don't use the projects module internally. Do you think the project selection could be done similar to the selection of the task type?

@MaxGfeller MaxGfeller changed the title starting timer from menubar not possible Support for projects Oct 4, 2021
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

No branches or pull requests

3 participants