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

Starting aw-qt should open the web UI #10

Open
ErikBjare opened this issue Apr 25, 2017 · 6 comments
Open

Starting aw-qt should open the web UI #10

ErikBjare opened this issue Apr 25, 2017 · 6 comments

Comments

@ErikBjare
Copy link
Member

ErikBjare commented Apr 25, 2017

Obviously not if autostarted (a flag might be helpful, that's how Syncthing does it).

@johan-bjareholt
Copy link
Member

I don't agree with this.
If it's the first time you start the program it might be nice, but otherwise I would just find it to be annoying.
The best solution would in my opinion be that when you start it for the first time, you get a pop-up with a picture of the icon in the tray and a short text like "activitywatch is now running, right click on the tray icon to see your activity and settings"

@ErikBjare
Copy link
Member Author

Added startup notification in 879b790

@ErikBjare
Copy link
Member Author

Reopening due to user feedback from @JohnHamiltonNZ in Twitter DM:

Depending on how easy you want to make it for less technically Savvy users you may want it to open a link in the web browser to its location when you start application. But I understand this is development version and I had no problem opening it. 😀

That startup notification I created could also be more informative, such as including where to click to open the web UI.

@ErikBjare ErikBjare reopened this Oct 14, 2017
@ErikBjare
Copy link
Member Author

I now think that when first started/clicked, it should only open the ActivityWatch web UI if it's already running (so that a user who clicks it and wonders why nothing is happening/doesn't notice the tray icon, will at least have the web UI opened for them).

This gets a tiny bit complicated by the possibility that the user could be running multiple instances of aw-qt (one for prod and one for testing), which should then open their respective web UIs (see also #79).

@Edwardsoen
Copy link

Edwardsoen commented Apr 10, 2023

i have briefly gone through the code, i think i can give this issue a shot.

@Edwardsoen
Copy link

Edwardsoen commented Apr 17, 2023

added small method to auto-open webui here https://github.com/Edwardsoen/aw-qt/commit/620fd8a9f3e7ba4092cd7710b37c7d1861a6a719.
for this issue #79, i dont see any way to load the port from config file without modify aw-server, and looks like we still don't have the option to store port config persistently other than changing the code in config.py ( anyway, I think for this use-case categorizing events is a better approach than having 2 prod instances? )

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