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

[Bug] Multiple API fields are ignored with Hackatime, incl Editor #13

Open
Tracked by #8
techy-robot opened this issue Nov 18, 2024 · 3 comments
Open
Tracked by #8
Assignees
Labels
bug Something isn't working
Milestone

Comments

@techy-robot
Copy link
Contributor

techy-robot commented Nov 18, 2024

I've been live testing wakapi-anyide, and I discovered some information like the editor field is lost.
According to the official hackatime docs, these are the fields, and the editor field is not used due to some wakatime incompatibility. image

This means that Hackatime is pulling editor information from the user agent field, and any custom editor information is lost with the upload. Normal wakatime instances should not have this issue, but hackatime is different. This doc may be outdated, because the machine is detected correctly and here it says it isn't used. Custom editor information is still not appearing on the dashboard, though.

To solve this, we may be able to change the user agent field with custom editor information; alternatively, we can get hackatime to support the field.

@techy-robot techy-robot changed the title [Bug] Multiple API fields are ignored with Hackatime, incl Editor and lines added/removed [Bug] Multiple API fields are ignored with Hackatime, incl Editor Nov 18, 2024
@techy-robot
Copy link
Contributor Author

I created an issue on Hackatime to track this as well, to see if the field will be supported. hackclub/hackatime#12

@iamawatermelo iamawatermelo added the bug Something isn't working label Nov 18, 2024
@iamawatermelo iamawatermelo added this to the v0.7 milestone Nov 18, 2024
@techy-robot
Copy link
Contributor Author

I've tried changing the user agent field with many variations, but regardless of what I do, it labels the editor "unknown," even if I specify a simple name like "test."

@techy-robot
Copy link
Contributor Author

I have a fix for this, close the issue when #15 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants