API ability to get "leading" events for query period
Maintainers usually reply within 5 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
The issue names no files or tests; start by tracing the Events and Query API endpoints and their handling of events that overlap a query period. Check the corresponding timeline UI behavior described in the issue. Done means an endpoint option can return a qualifying leading event and the timeline represents that event as beginning before the viewed period.
Written by the indexing model from the issue text.
Description
First I'd like to express again my thanks for such a wonderful and helpful project!
I've been using ActivityWatch for about two weeks now, and have also implemented a few very custom watchers for my own use cases. I'm currently running off of the latest tag, v0.8.0b7.
One thing I've noticed though that is a bit annoying to me is the Events and Query API behavior (and corresponding UI behavior) for long events that begin prior to the query period being cut off. For example, if I was AFK for a long amount of time until 30 minutes ago, and query for events in the last hour (or pull up the Timeline view in the UI for the last hour), I only see the "not-afk" event that started 30 minutes ago... and blank space leading up to it.
It seems to me like it would be really helpful if the events and query API endpoints had an option to return a "leading" event, if there's an event that started before the start of the query period but ended during the query period. I could also see this being represented in the timeline view with some sort of special icon or left border, indicating that the event began prior to the currently-viewed period.
- Dominant language
- Python
- Stars
- 129
- Forks
- 104
- Avg merge
- 5d 14h
- Merged PRs (30d)
- 15
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ActivityWatch/aw-server
-
Difficulty 3/5 1-2 days Newbie friendliness 51/100
ActivityWatch/aw-server#213 ·
Maintainers usually reply within 5 days
-
Return structured 400 when event storage rejects a foreign-bucket IDPossibly taken @TimeToBuildBob claimed this 26 days ago. Open
Difficulty 4/5 1-2 days Newbie friendliness 35/100
ActivityWatch/aw-server#211 ·
Maintainers usually reply within 5 days
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
ActivityWatch/aw-server#187 · 2 comments ·
Maintainers usually reply within 5 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ActivityWatch/aw-server#86 · 1 comment ·
Maintainers usually reply within 5 days
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ActivityWatch/aw-server#82 ·
Maintainers usually reply within 5 days
All issues in ActivityWatch/aw-server
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ActivityWatch/docs#223 ·
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier capturePossibly taken @jianyx1 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
volcengine/OpenViking#8354 ·
Maintainers usually reply within 1 day
-
comp/tools P2 tool/skills type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#159541 ·
Maintainers usually reply within 1 day
-
bot-triaged module: correctness (silent) module: cpu module: empty tensor module: loss triage review
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
request-theme
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
LizardByte/ThemerrDB#10167 · 1 comment ·