Replies: 1 comment 1 reply
-
Added #2252 for the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, I'm planning to implement some ideas of mine in the very near future, and in no particular order they are:
Dataview: Rebuild current view
which simply calls that function of the obsidian api to workaround the bugs related to queries not refreshing » Add workaround to refresh issue of #1752 #2237slice()
, Slice and dice #2176, which would work similar to the ordinary javascript slice command, allowing for various lists to be sliced and diced » Adds #2176 slice() #2238zip(array1, array2, ... )
, which would join together the values from the different arrays into one common array. This could be used for joiningstart
andend
arrays of work periods for example, before being split and calculated into the actual workhours. This would counter, at the users risk, the missing compound objects within a block. Possibly also add aizip()
which in addition would simply add the index of the array values into the common array, so that we're free to do index filtering or similar when handling arrayssrandom()
, a seeded random function could be used to sort any list in a random order. Seeded so that it's possible to get it to receive the same list given the same seed. This latter part would enable us to get a random sequence based upon a seed which might be linked to a timestamp, so that the random sequence could stay fixed within a given day/hour/...keys()
,values()
andentries()
as query commands for better handling of compound objectsdefined()
to the query commands to be able to distinguish between defined fields and field which are just emptysort()
command to allow for picking out a field to sort on if its a list of objectsSUB <filter-expression>
to the query language, where it would receive each child and it would do an actual change on thechildren
list. Another option, but I think that's harder to implement would be to allow aFLATTEN
clause to mutate its result into.children
(or other variables)Well, that's my ideas for now. Do you like them? Is there something else we should aim to add before the next release, whenever that will be?
I'm hoping to do most of these within a week or so... :-D
Beta Was this translation helpful? Give feedback.
All reactions