Skip to content

fix(code): do not re-sort on task click#1507

Open
adboio wants to merge 1 commit intomainfrom
04-06-fix_code_do_not_re-sort_on_task_click
Open

fix(code): do not re-sort on task click#1507
adboio wants to merge 1 commit intomainfrom
04-06-fix_code_do_not_re-sort_on_task_click

Conversation

@adboio
Copy link
Copy Markdown
Contributor

@adboio adboio commented Apr 6, 2026

Problem

clicking a task re-sorts the entire list. this is kinda jarring and makes it hard to click around tasks looking for things

root cause: we consider opening a task "activity" , which updates client-side and backend storage, and i think that's just probably not the right move? we could instrument this as a posthog event, but i don't think clicking a task is a meaningful-enough interaction to consider it "updated"

closes #1489

Changes

  • removes the call to markActivity from session connection
  • moves activity call in prompt handler to fire before the agent turn

new behavior:

  • clicking a task does not re-sort the list
  • task is updated & re-sorted as soon as a prompt is submitted

How did you test this?

manually

Copy link
Copy Markdown
Contributor Author

adboio commented Apr 6, 2026

@adboio adboio force-pushed the 04-06-fix_code_do_not_re-sort_on_task_click branch from 6b29987 to 0bfd292 Compare April 6, 2026 20:25
@adboio adboio requested a review from a team April 6, 2026 20:26
@adboio adboio marked this pull request as ready for review April 6, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

task lists is too sort-happy

1 participant