ActivityWatch / ActivityWatch/aw-webui

Different interpretation of regex in the Activity and Timeline sections

Offen
#939 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
151
Forks
179
Ø Merge
1 T. 20 Std.
Gemergte PRs (30 T.)
28

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.