Trying hard to make my #Obsidian dashboard with with dataviewjs but realizing my JavaScript skills are INCREDIBLY atrophied.
It’s so frustrating trying to solve a seemingly simple problem with code only to realize you have to master that code before even attempting to solve the problem.
@fraize How complex is the output that just dataview can't do?
@fraize
And in the meantime I'm slowly but surely starting to outgrow what dataview itself can offer me... I have to start learning JS sometime. ;)
I have to eventually, anyway, as I might also want to look into how to make plugins, and I understand TypeScript is a fancy form of JS.
@trinsec I think that's right. I believe TypeScript is just strongly-typed JS with interfaces and prototyping.
@trinsec hilariously my path went the other way. I was doing calculations before ever trying to figure out .map(). I've forgotten so much about JS that I forgot how to deal with arrow functions and what the .map() function did.
Using inline dataviewjs, I could refer to this-page's metadata using *Order Total:* $ `$=this.wholesale * this.moq` but if this.wholesale was null, the inline-js would throw an error. To implement functions to clean the data, I'd need a whole dataviewjs block instead.