paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
18.52k stars 1.71k forks source link

[Feature request]: Better GUI element for file selection #997

Open akaihola opened 1 month ago

akaihola commented 1 month ago

Issue

[Update: I'm working on this in my branch akaihola/aider@file-tree-select. I'll only create a PR if someone gives me green light and I've solved the widget initialization problem – see comments below.]

The "Add files to the chat" UI element in aider --gui shows all repository files in a multi-select drop-down box. Only 7 files are visible at once, so with a large repository there's a lot of scrolling.

Could e.g. the streamlit_tree_select extension be used to get a more usable user experience?

tree-select 2024-08-06.webm

Version and model info

Aider v0.47.2-dev

akaihola commented 1 month ago

I added a screencast of the widget in action.

There are two issues:

akaihola commented 3 weeks ago

Update: I rebased on current main and everything seems to still work.