Skip to content

Conversation

@Abhijay007
Copy link
Collaborator

closes #6211

PR description:

Refactor the file picker to include hidden configuration folders in search results. Previously, all files and folders starting with . were excluded, making it impossible to reference important configuration files like GitHub workflows, VS Code settings, and other dotfiles.

Changes made

  • Added allowlist for hidden directories: Created allowedHiddenDirs array containing important configuration directories:

    • .github - GitHub workflows and actions
    • .vscode - VS Code settings
      etc .....
  • Updated filtering logic: Modified the file picker to check if hidden items are in the allowlist before skipping them, instead of blanket-excluding all dotfiles

  • Removed from skip list: Removed .vscode and .idea from skipDirs since they're now explicitly allowed

  • Documentation update: Updated file management guide to document the new hidden folder support

Type of Change

  • Refactor / Code quality

Testing

Tested in the desktop UI

Screenshots/Demos (for UX changes)

Before:

image

After:

image

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses issue #6211 by enabling the file picker to include important configuration directories that start with a dot (hidden folders) in search results, making it possible to reference files like GitHub workflows and VS Code settings.

  • Introduces an allowlist approach for hidden directories instead of blanket exclusion
  • Removes .vscode and .idea from the skip list since they're now explicitly allowed
  • Updates documentation to reflect the new hidden folder support

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
ui/desktop/src/components/MentionPopover.tsx Adds allowedHiddenDirs array with configuration directories (.github, .vscode, .idea, etc.) and modifies filtering logic to check the allowlist before skipping hidden items
documentation/docs/guides/file-management.md Updates file search documentation to remove .vscode and .idea from the auto-filtering list and adds a new bullet point documenting hidden folder support

Copilot AI review requested due to automatic review settings January 2, 2026 09:02
@Abhijay007 Abhijay007 force-pushed the refactor/AllowedDotfiles branch from 53f296a to 4296cfe Compare January 2, 2026 09:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@alexhancock alexhancock self-requested a review January 7, 2026 14:11
@Abhijay007 Abhijay007 requested review from angiejones and removed request for angiejones January 7, 2026 14:23
@alexhancock alexhancock merged commit 9376796 into block:main Jan 12, 2026
20 checks passed
fbalicchia pushed a commit to fbalicchia/goose that referenced this pull request Jan 13, 2026
zanesq added a commit that referenced this pull request Jan 13, 2026
…ased

* 'main' of github.com:block/goose: (23 commits)
  Use Intl.NumberFormat for token formatting in SessionsInsights (#6466)
  feat(ui): format large and small token counts for readability (#6449)
  fix: apply subrecipes when using slash commands (#6460)
  Fix: exclude platform_schedule_tool in CLI (#6442)
  Fix: Small update in how ML-based prompt injection determines final result (#6439)
  docs: remove SSE transport and rename to Streamable HTTP (#6319)
  fix: correct Cloudinary extension command and env variable (#6453)
  fix: add gap between buttons in MacDesktopInstallButtons.js (#6452)
  refactor: include hidden dotfiles folders in file picker search (#6315)
  upgraded safe npm packages (#6450)
  chore(deps): bump react-router and react-router-dom in /ui/desktop (#6408)
  chore(deps): bump lru from 0.12.5 to 0.16.3 (#6379)
  chore(deps-dev): bump @modelcontextprotocol/sdk from 1.24.0 to 1.25.2 in /ui/desktop (#6375)
  fix: inconsistent API url requirement between desktop and CLI versions (#6419)
  feat(vertexai): Add streaming support (#6409)
  fix deeplink recipe launch cold start (#6210)
  Spell check setting (#6446)
  File bug directly (#6413)
  fix(cli): incorrect bin name in shell completions (#6444)
  Use crunchy from crates instead of git fork (#6415)
  ...
wpfleger96 added a commit that referenced this pull request Jan 13, 2026
* main: (41 commits)
  Allow customizing the new line keybinding in the CLI (#5956)
  Ask for permission in the CLI (#6475)
  docs: add Ralph Loop tutorial for multi-model iterative development (#6455)
  Remove gitignore fallback from gooseignore docs (#6480)
  fix: clean up result recording for code mode (#6343)
  fix(code_execution): handle model quirks with tool calls (#6352)
  feat(ui): support prefersBorder option for MCP Apps (#6465)
  fixed line breaks (#6459)
  Use Intl.NumberFormat for token formatting in SessionsInsights (#6466)
  feat(ui): format large and small token counts for readability (#6449)
  fix: apply subrecipes when using slash commands (#6460)
  Fix: exclude platform_schedule_tool in CLI (#6442)
  Fix: Small update in how ML-based prompt injection determines final result (#6439)
  docs: remove SSE transport and rename to Streamable HTTP (#6319)
  fix: correct Cloudinary extension command and env variable (#6453)
  fix: add gap between buttons in MacDesktopInstallButtons.js (#6452)
  refactor: include hidden dotfiles folders in file picker search (#6315)
  upgraded safe npm packages (#6450)
  chore(deps): bump react-router and react-router-dom in /ui/desktop (#6408)
  chore(deps): bump lru from 0.12.5 to 0.16.3 (#6379)
  ...
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.

@ file picker excludes hidden folders (dotfiles like .github) from search results

4 participants