Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omit gitignored files from context file picker #23777

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

marcospb19
Copy link
Contributor

In both thread and prompt editor the context file picker, gitignored files are hidden (as expected) when searching files by path, but they are still shown initially as you create the file picker.

Plus, selecting gitignored files in the prompt editor is bugged and collapses everything.

This PR settles on not showing gitignored files to solve these inconsistencies.

Release Notes:

  • Fix gitignored files filter occasionally not working in context file picker.

by default, gitignored files can't be selected, and don't show up when
filtering files by path or name, but `/file` still displayed them
initially (useless if you can't select)
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 28, 2025
@marcospb19 marcospb19 force-pushed the prompt-editor-slash-file-omit-gitignored-entries branch from f0e5dc8 to a249bf3 Compare January 28, 2025 14:01
@marcospb19 marcospb19 changed the title omit gitignored files from context file picker Omit gitignored files from context file picker Jan 28, 2025
@marcospb19
Copy link
Contributor Author

thnks for the review :)

@marcospb19 marcospb19 merged commit 2b160f4 into main Jan 28, 2025
12 checks passed
@marcospb19 marcospb19 deleted the prompt-editor-slash-file-omit-gitignored-entries branch January 28, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants