Add file alias and link editing abilities to suggester-family elements - #675
Open
jglev wants to merge 1 commit into
Open
Add file alias and link editing abilities to suggester-family elements#675jglev wants to merge 1 commit into
jglev wants to merge 1 commit into
Conversation
…ments. - Added support for specifying link text with suggester elements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
optionQueryargument to specify a Dataview query.optionQueryonly include a list of file names from a given folder, and ignores file aliases (which are set in files'aliasesfrontmatter field).What changed
optionQueryresults include aliases of files, alongside the current filename-based results.How to see changes
Go to
Input Fields/Suggester.md. Note that the examplesuggesterelements that useoptionQuerynow have a pen icon next to them. Try clicking on the pen icon and changing the link text.Try adding a value to the
aliasesfrontmatter field for any note in the example vault. Then try adding a Suggester, List Suggester, or Inline List Suggester withoptionQuery, and try searching for that alias:Additional notes
I needed these changes for a workflow I use, and generated them largely through vibe-coding with GitHub CoPilot with various Claude models. While this changeset was interactively vibe-coded, I did manually inspect all of the changes and confirm that they look sensible to me. (If it's helpful to know, as well, I did manually write this PR description.) With that said, if it's a problem that these changes were generated using an automated code assistant, I'll understand.
I've squashed the changes into a single commit, figuring that that might make them easier to review as a whole.