Skip to content

Support relative paths for folder matching#2643

Open
Dullson wants to merge 1 commit intoblacksmithgu:masterfrom
Dullson:feature/from-relative-path
Open

Support relative paths for folder matching#2643
Dullson wants to merge 1 commit intoblacksmithgu:masterfrom
Dullson:feature/from-relative-path

Conversation

@Dullson
Copy link
Copy Markdown

@Dullson Dullson commented Dec 6, 2025

Enhance folder matching functionality to support relative paths, ensuring backward compatibility with existing absolute path handling. This update includes normalization of path segments and test coverage for various path scenarios.

Currently, FROM "tasks" resolves to /tasks (tasks folder in the vault root). I think the user expectation would be to use tasks folder in the same level as querying file.
Maybe a toggle can be added to enable proper relative path resolution to eliminate confusion, but for now, I added a pre-check to preserve backward compatibility and not break anyones queries.

Closes #517

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.

relative path support

1 participant