Comments (6)
I like the UX of this, and dataview has been a little... lacking in the frontend department, haha. It will be a little difficult for complex sources (what do I do if there is an 'OR' in the query?), but I can implement this for simple cases. Maybe I can add a TEMPLATE command which lets you specify a template to copy?
from obsidian-dataview.
I think this is a great idea! It would be an easier way of inserting a template into a new note.
If a note had, say, 10 fields in its metadata, but the dataview table block only references 3 of those 10, would the newly created note only have those 3 inserted into it? I guess that makes the most sense, as the other 7 may not be consistent across the notes. Thoughts?
from obsidian-dataview.
Yes, I agree that it probably makes the most sense to add the 3 fields that are common across all of the notes.
from obsidian-dataview.
I think a template is a great idea! Perhaps being able to set default values for fields in the template could help with the more complex queries?
from obsidian-dataview.
For more complex queries, taking the intersection of the fields would guarantee all returned results have that field.
More specifically, take the intersection of the arrays of keys in each note
from obsidian-dataview.
I think some newer plugins like obsidian-notion-like-tables do this. Check #1015 for further discussion.
from obsidian-dataview.
Related Issues (20)
- Multiple dataviews in one place HOT 1
- file.ext to show .canvas, .pdf etc.
- Embedding wide tables makes headers overflow HOT 2
- api.version.compare('>=', '0.5.31') no longer works HOT 7
- Bug report: Cross-Event Time Display Error in Preview Mode HOT 1
- file view dependent context HOT 2
- Inline field with list only displays last entry in Live Preview mode HOT 4
- Default search queries HOT 1
- Bug report - Cursor doesn't get placed correctly
- Bug report - inlinefield rendered inside a inline code and it make a mess HOT 1
- Dataview causes screen flickering. HOT 1
- Vulnerability HOT 4
- Implement `title` field for first H1/H2 heading (if no title field exists) HOT 1
- codeblock with "=" causes a PARSING FAILED HOT 2
- Table query suddenly shows only the number of results but not the results anymore HOT 3
- Vscode extension for data view plugin HOT 4
- Inline queries aren't rendered anymore (Desktop only) HOT 1
- Bug report DataView can not render emoji character and show as null HOT 5
- Bug report HOT 14
- Bug report HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-dataview.