Different interpretation of regex in the Activity and Timeline sections
Maintainers usually reply within 3 days
@Yarish652 is already working on this.
Since Oct 16, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- data-visualization, frontend
Research direction
The issue is about regex-based categorization working in the timeline view but not in the activity view. Start by examining the categorization logic in the webui, likely in components or stores handling activity and timeline data. Look for differences in how regex is applied between the two views. Check the test suite for categorization to understand expected behavior. Verify the fix by creating a test case that reproduces the described split failure in activities.
Written by the indexing model from the issue text.
Description
Hi, everyone.
ActivityWatch version: v0.13.2
Modules: aw-server,aw-watcher-window,aw-watcher-afk
OS: Windows 10
I need to split an activity between clients. To do this, I use a category with the regex app_name.*unic_word_for_app_from_title.*. This works for the timeline, but not for the activity.
Example:
Name: TG
Parent: AKARN
App: telegram.exe
Words: AKARN,Elena V
Regex: telegram.exe.*(AKARN|Elena V).*
Case insensitive: True
Color: green
Name: TG
Parent: ACG
App: telegram.exe
Words: ACG,Admin V
Regex: telegram.exe.*(ACG|Admin V).*
Case insensitive: True
Color: dark cyan
I see a split in the timeline:
But not in activities:
- 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
-
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