Add Arc browser data in Timeline > Browser tab #622
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently
/activity/Mac/view/browser
will not display Arc browser data, despite that data already appearing in the/#/timeline
tab. This fixes the issue.We fix this by just pushing all the Arc browser data to the chrome bucket for purposes of visualization. While not a perfect solution, it is an easy one, and far superior to not displaying that data at all.
This issue is known:
fixes ActivityWatch/activitywatch#1094
This fix can be extended to support Brave/Vivaldi/etc, without relying on custom browser identification hacks. The tradeoff (obviously) is that all browsers' data based on chromium gets merged I guess.
@ErikBjare if you have time would love a quick look :)
Important
Fixes Arc browser data display issue by associating it with Chrome's bucket in
queries.ts
./activity/Mac/view/browser
by associating Arc with Chrome's bucket inbrowsersWithBuckets()
inqueries.ts
.browser_appnames
inqueries.ts
.This description was created by for ef85adc. It will automatically update as commits are pushed.