Show autocomplete suggestions for File Query Filters on Obsidian App#1128
Show autocomplete suggestions for File Query Filters on Obsidian App#1128debanjum merged 5 commits intokhoj-ai:masterfrom
Conversation
535f353 to
0f0cfba
Compare
- Unify regex between input listener and getSuggestions to both use /file:([^"\s]*)$/ to prevent mismatched state when file: token is not at end of input - Reset isFileFilterMode when input no longer matches file filter pattern (previously got stuck in file filter mode on clear) - Preserve original selectSuggestion behavior for normal search results instead of reimplementing close+onChoose
# Conflicts: # src/interface/obsidian/styles.css
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 15894534 | Triggered | Generic High Entropy Secret | 6f20320 | docker-compose.yml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
|
Thanks for the PR! It took a long while but finally reviewed and merged your changes (with some improvements) |
Thanks for the merge and review! |
Closes #1025
Show autocomplete suggestions for File Query Filters on Obsidian App
Changes
file:, you should see list of all files in vault and non-vaultTechnical Details
isFileFilterModestate) to filter search results by specific filesgetSuggestions()function to search file from vault and non-vault via khoj backend.Testing
Screensort
demo.mov