Skip to content

feat(sessions): Prefil mode-dropdown on new task screen based on previous tasks#2939

Open
mp-hog wants to merge 3 commits into
mainfrom
repo-mode-history-for-smart-selection
Open

feat(sessions): Prefil mode-dropdown on new task screen based on previous tasks#2939
mp-hog wants to merge 3 commits into
mainfrom
repo-mode-history-for-smart-selection

Conversation

@mp-hog

@mp-hog mp-hog commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Problem

Follow-up for #2712 (comment)

When you click "+" on a repo group in the Tasks sidebar, the new-task screen did not consider previous tasks.

Changes

  • Derive a repo's most recent run environment from its visible tasks
  • Open the new-task screen in that mode, the repo-selection resolver now takes the signal and picks Local/Cloud, preferring the repo's history over the global mode
  • Carry the signal from the "+" click to the resolver, threaded through TaskListViewuseOpenTask → prefill store → useAppViewTaskInput

How did you test this?

  • Test cases
  • Manually

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit c019968.

@greptile-apps

greptile-apps Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Pass repo's run history from "+" to the ..." | Re-trigger Greptile

@mp-hog mp-hog changed the title feat: Repo mode history for smart selection feat(sessions): Prefil mode on new task screen based on previous tasks Jun 25, 2026
@mp-hog mp-hog requested review from a team and charlesvien June 25, 2026 20:28
@mp-hog mp-hog changed the title feat(sessions): Prefil mode on new task screen based on previous tasks feat(sessions): Prefil mode-dropdown on new task screen based on previous tasks Jun 25, 2026
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.

1 participant