Skip to content

kopuz/settings_sources: keep the folder picker on the source that opened it - #992

Draft
temidaradev wants to merge 1 commit into
masterfrom
fix-folder-browser-source
Draft

temidaradev wants to merge 1 commit into
masterfrom
fix-folder-browser-source

Conversation

@temidaradev

Copy link
Copy Markdown
Member

Why

With two folder based sources in Settings, the folder picker opened from one is drawn under both, and confirming in the other card adds the folder to the wrong source.

What Changed

The picker is drawn only under the source that opened it and adds its folder to that source. No unit test was added for the picker.

Checklist

  • I have read the contribution guidelines.
  • I added tests for behavior that can regress, or explained under What
    Changed why there aren't any.
  • I ran cargo fmt, clippy (debug and release) and the relevant tests.
  • I did not commit screenshots or other media to the repository.
  • A human reviewed every change and can explain it.

Testing

Behavior Linux macOS Windows Android
The folder picker adds folders to the source it was opened from ❎ ❎ ❎ ❎

Before / After

No visible or audible change

AI Usage

  • I used an LLM to write code or text in this pull request.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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.

1 participant