Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Records absolute path instead of path from content root #301

Open
devurandom opened this issue Nov 15, 2024 · 2 comments
Open

Records absolute path instead of path from content root #301

devurandom opened this issue Nov 15, 2024 · 2 comments
Labels

Comments

@devurandom
Copy link

When working on a Clojure project (deps.edn, with Cursive plugin), WakaTime shows me absolute paths on https://wakatime.com/projects/[REDACTED] in the tooltips, instead of what IntelliJ seems to call "Path From Content Root" or "Path From Repository Root" (right click on a file in the "Project" side bar, "Copy Path/Reference..."). Thus the records will be different for different people working on the same project, when moving the files around new records will be started, and the filenames in the tooltips are long and inconvenient.

@devurandom devurandom added the bug label Nov 15, 2024
@gandarez
Copy link
Member

@devurandom you are right, the balloons shows the filename sorted by time spent whereas the tooltip shows the full filepath of each balloon. Can you attach an screenschot of the the problem you mentioned when different people start working on the same project?

@alanhamlett
Copy link
Member

alanhamlett commented Nov 16, 2024

That's why heartbeats have a project_root_count attribute, which is the count of slashes needed to reach the project's root path. We use that when comparing absolute paths between team members.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants