chore: filter out unwanted categories

This commit is contained in:
Kartikey Chauhan
2025-08-19 04:35:53 +05:30
parent 08cd34e6cc
commit fac7758391

View File

@@ -6,6 +6,9 @@ class TestWakatimeService
# trusting time from hackatime extensions.....
# @scope = @scope.coding_only
@scope = @scope.with_valid_timestamps
# yeah macha we're removing unwated categories
@scope = @scope.where.not("LOWER(category) IN (?)", [ "browsing", "ai coding", "meeting", "communicating" ])
@user = user
@boundary_aware = boundary_aware