Top Browser Domain/URLs shows "No data"

Open
#201 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 10 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by reading queries.ts and tracing how browser application names are matched for the Activity page. Compare the Gentoo names firefox-bin and google-chrome with the names produced by the linked awatcher implementation, then verify that matching data appears instead of “No data” in the Activity page.

Written by the indexing model from the issue text.

Description

I can see the browser history in the Timeline page, but the Activity page shows no data.

Image Image

After some searching, I found that this seems to be the same issue as https://github.com/ActivityWatch/aw-watcher-web/issues/148

I'm using Gentoo where the app name for package www-client/firefox-bin is firefox-bin, and for package www-client/google-chrome is google-chrome. Neither of these are present in queries.ts

FWIW, I am using Hyprland, so i dont use official windows watcher, I am using this wayland implementation, and looks like the app name comes from there.

I understand is hard/impossible to add all browser name across various distros and unofficial watchers. so what would your suggest -- should i find a way to change app name?

Any advice would be greatly appreciated!

Dominant language
TypeScript
Stars
580
Forks
102
Avg merge
12d 14h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ActivityWatch/aw-watcher-web

All issues in ActivityWatch/aw-watcher-web

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.