ActivityWatch / ActivityWatch/aw-webui

Different interpretation of regex in the Activity and Timeline sections

Open
#939 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
151
Forks
179
Avg merge
1d 20h
Merged PRs (30d)
28

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:

Image

ImageImage

But not in activities:

Image

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.