Add hierarchical file explorer for directory selection#487
Add hierarchical file explorer for directory selection#487theovilardo merged 12 commits intomasterfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| val parentCanonical = runCatching { parent.canonicalPath }.getOrNull() | ||
| val isAboveRoot = parentCanonical?.startsWith(rootCanonicalPath) == false | ||
|
|
||
| if (isAboveRoot || current.path == visibleRoot.path) { | ||
| loadDirectory(visibleRoot) |
There was a problem hiding this comment.
Explorer cannot reach SD card directories
Navigation is clamped to the visibleRoot (set to Environment.getExternalStorageDirectory()), and navigateUp snaps back to that root whenever the parent is outside it. Because the explorer always starts at /storage/emulated/0 and cannot ascend to /storage, users on devices with removable storage cannot browse or re-allow music folders on secondary volumes like /storage/XXXX-XXXX, a capability the previous MediaStore-backed picker provided.
Useful? React with 👍 / 👎.
- Add Gemini API key input and model selection dropdown in settings. - Implement a `SystemPromptDialog` to allow users to modify and reset the Gemini system prompt. - Refine the `FileExplorerBottomSheet` UI by updating button shapes, colors, and layout for better visual consistency.
Summary
Testing
Codex Task