Support Browser tab in multi-device Activity view (@all / device subset)
Maintainers usually reply within 3 days
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 18/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start in src/queries.ts at multideviceQuery() and canonicalMultideviceEvents(), then follow buildMultideviceHostParams and multidevice_params to see how per-host browser buckets are passed. The store side is activityStore.get_buckets_multidevice, ensure_loaded_multidevice and query_multidevice_full, which reuse mergeFullDesktopResults. Done means the Browser tab fills for @all and device subsets, and activity.multideviceNote mentions only stopwatch data. PR #1303 is already open against this issue, so check it before starting.
Written by the indexing model from the issue text.
Description
Problem
When viewing multiple devices in the Activity view (@all or a selected subset of devices), the Browser tab always reports "This feature is missing data from a required watcher" and stays in "Loading..." even when the selected hosts have host-attributed web.tab.current buckets (such as aw-watcher-web-*_<host> on desktop and aw-watcher-android-web-synced-from-<host> on Android via aw-sync).
Cause
activityStore.get_buckets_multidevicehardcodesthis.buckets.browser = [],ensure_loaded_multidevicesetsthis.browser.available = false, andquery_multidevice_fullnever callsquery_browser_completed(...).multideviceQuery()andcanonicalMultideviceEvents()insrc/queries.tsreturn only"window"and do not collect or combine per-host browser events across desktop and mobile hosts.
Proposal
- Attribute only explicit host-scoped
web.tab.currentbuckets per selected host (bucketsByType(host, 'web.tab.current', false)— no'unknown'-host fallback, preventing legacy'unknown'browser buckets from being misattributed or duplicated across hosts). - Pass per-host
bid_browsersthroughbuildMultideviceHostParamsandmultidevice_params, extract desktop browser events viabrowserEventsand mobile browser events via a sharedandroidBrowserEventshelper, merge per-hostbrowser_eventsin host priority order withunion_no_overlap, and return"browser": { domains, urls, titles, duration }frommultideviceQuery. - Complete
activityStore.browserinquery_multidevice_full(reusingmergeFullDesktopResults's existing browser aggregation across chunked time periods) and updateactivity.multideviceNoteto mention only stopwatch data.
- Dominant language
- TypeScript
- Stars
- 157
- Forks
- 199
- Avg merge
- 3d 18m
- Merged PRs (30d)
- 81
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ActivityWatch/aw-webui
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
ActivityWatch/aw-webui#1284 · 6 comments ·
Maintainers usually reply within 3 days
-
Feature request: Select date and time range when exporting bucket dataPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 72/100
ActivityWatch/aw-webui#1178 ·
Maintainers usually reply within 3 days
-
Complete i18n suiteMay be free again @TimeToBuildBob claimed this 36 days ago, and no pull request is open. Open
ActivityWatch/aw-webui#1137 · 23 comments · 1 assignee ·
Maintainers usually reply within 3 days
-
Different interpretation of regex in the Activity and Timeline sectionsMay be free again @Yarish652 claimed this 38 days ago, and no pull request is open. Open
Difficulty 3/5 1-2 days Newbie friendliness 65/100
ActivityWatch/aw-webui#939 · 6 comments ·
Maintainers usually reply within 3 days
-
Feature proposal: focus/distraction analytics dashboard built on the category systemMay be free again A pull request for this issue was closed without being merged. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
ActivityWatch/aw-webui#897 · 2 comments · 1 reaction ·
Maintainers usually reply within 3 days
All issues in ActivityWatch/aw-webui
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 66/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
prometheus/docs#3198 ·
Maintainers usually reply within 3 days
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier capturePossibly taken @jianyx1 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
volcengine/OpenViking#8354 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ARTPARK-SAHAI-ORG/calibrate-frontend#842 ·
Maintainers usually reply within 1 day
-
Chat: Copying a selection that includes the end of a message also copies the actions menu labelsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
suitenumerique/hub#176 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day