ActivityWatch / ActivityWatch/aw-webui

Different interpretation of regex in the Activity and Timeline sections

Abierto
#939 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
151
Forks
179
Merge medio
1 d 20 h
PR fusionados (30 d)
28

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.