Skip to content

feat(ui): enable direct repo path editing in new task dialog#101

Merged
TomCC7 merged 1 commit into
mainfrom
fix/issue99
Feb 25, 2026
Merged

feat(ui): enable direct repo path editing in new task dialog#101
TomCC7 merged 1 commit into
mainfrom
fix/issue99

Conversation

@TomCC7
Copy link
Copy Markdown
Owner

@TomCC7 TomCC7 commented Feb 25, 2026

Summary

Allow users to type and edit the repo path directly in the new task dialog without opening the picker dialog.

Changes

  • dialogs.rs: Add NewTaskField::Repo to Char and Backspace input handlers
  • ui.rs:
    • Add cursor positioning for Repo field when focused
    • Improve empty picker message to show "Start typing to see suggestions..."

Behavior

  • Users can now type directly into the Repo field (no auto-suggestions)
  • Pressing Enter on Repo still opens the picker with fuzzy-matching suggestions
  • Cursor is properly positioned in the Repo field when focused

Testing

  • All 367 tests pass
  • Clippy clean

Closes #99

Allow users to type and edit the repo path directly in the new task dialog

without opening the picker dialog. No auto-suggestions appear when typing directly.

Changes:

- Add Repo field to Char/Backspace handlers in dialogs.rs

- Add cursor positioning for Repo field in ui.rs

- Improve empty picker message to prompt typing

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@TomCC7 TomCC7 merged commit 98140f1 into main Feb 25, 2026
3 checks passed
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/ui.rs 0.00% 5 Missing ⚠️
src/app/dialogs.rs 0.00% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@TomCC7 TomCC7 deleted the fix/issue99 branch March 4, 2026 04:50
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.

Cannot add or select external Git repository when creating new task

2 participants