Skip to content

Conversation

nerg4l
Copy link

@nerg4l nerg4l commented Apr 13, 2025

The current functionality of the file picker is limited. It would be great to have

  • Help
  • Filter
  • Only display directories and AllowedTypes (this could be added as a filter)
  • Browsing any filesystem (even virtual)

This PR includes a proposal for the last list item. The idea is to expose an FS property which by default uses the default os filesystem but it can be changed to a different value. It seemed that this won't require a method, but I might be wrong about this.

It is a really rough attempt so please let me know how I could improve on this.

@nerg4l nerg4l requested a review from bashbunni as a code owner April 13, 2025 12:06
@dolmen
Copy link

dolmen commented Oct 15, 2025

See also #759 which would allow to use an FS in v1 without breaking change.

@nerg4l
Copy link
Author

nerg4l commented Oct 15, 2025

@dolmen I think my changes are backwards compatible and can be cherry picked. However, I did not add symlink resolution, which could be a problem.

@dolmen
Copy link

dolmen commented Oct 16, 2025

Could you edit the description of the PR to remove the stuff that is irrelevant (Help, Filter...)? Make it fully focused on what the code delivers.

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.

2 participants