Giter VIP home page Giter VIP logo

Comments (4)

slimhk45 avatar slimhk45 commented on June 19, 2024

+1 This feature is much needed 🙋🏻

Combining Tags + Glob patterns is powerful to control the exact files we want to include from which subfolders and with what naming convention.

Ex: includes only top-level markdown files ./*.md tagged with #tag and all markdown files in the first-level subfolders ./*/ tagged #tag.

FROM #tag AND (./*.md OR ./*/*.md)

from obsidian-dataview.

holroy avatar holroy commented on June 19, 2024

For those of us not using Discord (anymore) , this issue would benefit from actually having the text of that proposal, instead of link into Discord...

from obsidian-dataview.

GottZ avatar GottZ commented on June 19, 2024

For those of us not using Discord (anymore) , this issue would benefit from actually having the text of that proposal, instead of link into Discord...

no context was lost. Discord OP posted a comment in regards to this to this issue.

from obsidian-dataview.

holroy avatar holroy commented on June 19, 2024

Implementing this has the potential to break a lot of queries since it would require for the DQL queries to include all file extensions in the base queries, and not just *.md which it does currently. A lot of care should be taken if we opt to implement this.

It could possibly be implemented with some flag being set if the syntax recognised glob patterns to be used. I'm thinking allow the lines of rather using something like ext(md) (or ext(".md")), which when present would trigger a flag to not only use *.md in the query but open up for all files in the vault. But then again, this might also cause issue with rendering of other stuff since all variable expansion, file.lists&tasks, depend on the rows being within a known page (or file list) context.


Also, current version of Dataview has no notion of the current folder (if I've understood stuff correctly), so the syntax of using ./*.md or ./*/*.md might be misleading (at best).

from obsidian-dataview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.