Bug: can't select previously selected "last duration"

Open
#1,284 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
frontend

Research direction

Start in the timeline UI where duration options are selected and highlighted, then trace how the selected duration is stored and updated when switching options. Try to reproduce by selecting one duration, switching to another, and returning to the first; the issue says the behavior is intermittent and provides no file or test to start from. Done when previously selected durations can be selected again reliably.

Written by the indexing model from the issue text.

Description

In timeline, sometimes I will select a duration other than the default (e.g. 1/2 hour), then select another (e.g. 2 hour), and then can switch from the latter to any other, except the former, which remains highlighted. Doesn't reproduce consistently -- when I closed the tab and opened another, it worked fine. No clear cause.

Using v0.14.3 (rust), Firefox 160.0 (64 bit), macOS 26.7.1

Dominant language
TypeScript
Stars
157
Forks
199
Avg merge
3d 18m
Merged PRs (30d)
81

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ActivityWatch/aw-webui

All issues in ActivityWatch/aw-webui

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.