Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Switch to query2 #48
By the way, how is "Show AFK time" broken/inconsistent?
It had issues before you started working on query2. I'm fine with just adding a notification that it's partially broken for now if it's something you don't feel like putting a lot of work into (assuming a fix is non-trivial).
The start- and endtime should be the same as previous queries so it shouldn't differ, so i should probably rebase to your commit later.
The "Show AFK time" is inconsistent due to the timeline used the "total_duration" field in chunks, and since we now use the query2 merge function instead which doesn't have the total_duration field i did a second "total_duration" query. Generally that requests returns before the timeline query, but not always and in that case it can completely break so you have to refresh to fix it. Could be a trivial fix, but we'll see.