Feature proposal: focus/distraction analytics dashboard built on the category system
Maintainers usually reply within 3 days
Nobody has claimed this yet.
- #1118 by @TimeToBuildBob — closed without merging
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
Research direction
The issue proposes a new dashboard view for focus/distraction analytics. Start by examining the existing category tree and metrics module in the aw-webui codebase. The new view will need to add a 'class' field to category leaves, compute metrics like utilization percentage and context switch count, and render the dashboard. Look for existing dashboard components and the data flow for categories to understand where to integrate. The work is additive, so ensure no existing views are altered.
Written by the indexing model from the issue text.
Description
aw-webui has categories but no way to see how time splits across focus vs operational vs distracted work, no context-switch tracking, no attention-span metrics.
I've been building this on top of the existing category tree (adding a class field per leaf: focus/operational/distraction, computed in a pure metrics module, rendered as a new dashboard view).
Scope I'm proposing: utilization %, focus/distraction ratios, context switch count, attention span average, an "unclassified time" panel with one-click classify buttons that write back to the existing category settings. All additive, no changes to existing views or data model beyond the new class field.
Not proposing: browser extension requirements, LLM-based classification, or anything that changes existing behavior for users who don't touch the new view.
Before I put more time in: is this something you'd take as a PR into aw-webui, or would you rather this live as a separate companion project referenced from your docs/ecosystem list? Happy to go either way, want to build toward whatever you'd actually accept.
Screenshot:
- 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
-
Support Browser tab in multi-device Activity view (@all / device subset)Possibly taken @nedulau claimed this 1 day ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 18/100
ActivityWatch/aw-webui#1302 ·
Maintainers usually reply within 3 days
-
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
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