You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extension currently supports custom project names per URL pattern (via the settings page), but there is no way to set a custom category for URL patterns.
For example, mail.google.com is not recognized by any built-in site parser, so heartbeats from Gmail are sent without a category. Users who want to track time spent on email as communicating (similar to how Slack is categorized) have no way to do so.
Proposal
Extend the existing Custom Project Names feature to also support an optional category field. The settings UI already has a table of URL regex → project name mappings. Adding a category dropdown (with values like coding, communicating, designing, browsing, debugging, building, running tests, etc.) to each row would allow users to categorize any website.
Implementation sketch
In WakaTimeCore.ts, buildHeartbeat() currently resolves the project name from customProjectNames:
Problem
The extension currently supports custom project names per URL pattern (via the settings page), but there is no way to set a custom category for URL patterns.
For example,
mail.google.comis not recognized by any built-in site parser, so heartbeats from Gmail are sent without a category. Users who want to track time spent on email ascommunicating(similar to how Slack is categorized) have no way to do so.Proposal
Extend the existing Custom Project Names feature to also support an optional category field. The settings UI already has a table of URL regex → project name mappings. Adding a category dropdown (with values like
coding,communicating,designing,browsing,debugging,building,running tests, etc.) to each row would allow users to categorize any website.Implementation sketch
In
WakaTimeCore.ts,buildHeartbeat()currently resolves the project name fromcustomProjectNames:A similar lookup could resolve a custom category:
Use cases
mail.google.com) → category:communicatingcalendar.google.com) → category:communicatingcodingor a custom project namedesigningPrior art
macos-wakatimeapp already sets categories per app (e.g. Slack →communicating, Figma →designing).customProjectNamesfeature in this extension already demonstrates the pattern of per-URL custom overrides.