ActivityWatch / ActivityWatch/aw-webui

Different interpretation of regex in the Activity and Timeline sections

Đang mở
#939 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
151
Fork
179
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
28

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.