muety / wakapi

📊 A minimalist, self-hosted WakaTime-compatible backend for coding statistics

Home Page:https://wakapi.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to hide unknown section

gingerbeardman opened this issue · comments

unknown files are loose files that have been opened that are not recognised as part of any project.

I have almost 2000 of them.

from
#617 (comment)

Note to myself: this would either require to pre-compute two different summaries, one with unknown projects included and one without them (heartbeat's project column being NULL or "") or be always computed on the fly (analogously to when applying filters), which would result in poor performance, though. As simple as it sounds, this is not as straightforward from a technical perspective.

Question related to this: would you only want to hide the unknown project from the list of projects (top left chart on the dashboard) or would you also want it to be excluded from the total duration and from the language-, editor-, etc. charts? The former would be trivial to implement, the latter is harder for the above reasons.

Yeah, I ideally it would be excluded everywhere. It a thorn in my side, out of sight out of mind.

Had another thought about this. If we made this a global per-user setting (which would require to re-compute all summaries once initially), implementing this would actually be quite straightforward. Could be implemented in a way similar to how #156 will be realized. Will look into this soon!

Thanks so much, working a treat! My sanity is restored (somewhat) 😄