blacksmithgu / obsidian-dataview Public
generated from obsidianmd/obsidian-sample-pluginNew issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random list of pages #574
Comments
|
The tricky part about this is getting the right level of random - Dataview views internally refresh frequently, and during refreshes you probably don't want to see the list shuffle every time. Should random change every hour? Every day? I'm planning on implementing this via a |
|
Good point! What you suggested is certainly the best implementation, with a RANDOMIZE command and the ability to set a default cache duration. Thanks! |
|
I came to request this feature, but instead am adding a +1! For a use case, I'm wanting to use this to create a "writing inbox" query that presents me with a random order of things I can work on to avoid getting stuck. Thank you! EDIT: In discussing this with @AB1908 on the discord, they cooked up this dataviewjs query that works as a workaround for now. It seems to refresh in legacy editor when switching to reading view, but neither of us can figure out how to force a refresh in Live Preview in a sane way. |
|
You can force refreshes via |
|
Just wanted to add that came to add a FR & instead I'm impressed this is already on the docket with even better feature details planned. @blacksmithgu, you're fantastic! |
I’d like to be able able to view a random list of pages, from a source. Ideally, I would be something like:
´´´dataview
LIST
FROM #Quotes
SORT RANDOM
LIMIT 5
´´´
Which would output a list of 5 random quotes.
I don’t think it’s already possible. Or maybe via dataviewjs ?
Thanks for this amazing plugin and the wonderful job you’re doing!
The text was updated successfully, but these errors were encountered: