Another neat feature is the ability to create 'shared cards" .="" this="" feature="" allows="" you="" to="" create="" 1="" card="" and="" link="" it="" your="" other="" dashboards.="" is="" useful="" for="" creating="" navigation="" links="" dashboards="" or="" adding="" commonly="" used="" cards="" multiple.="" <="" p="">
The big advantage here is that you'll only need to edit the one shared card for it to update on all other dashboards.
In this example, I created a shared navigation card called 'dashboard nav'. Under shared_cards.toml, add this and save:
title = 'Dashmachine Dashboards' list.items = [ {icon = 'keyboard_arrow_right', name = 'Main', onpress = {href = 'main', target = 'dashboard'}}, {icon = 'keyboard_arrow_right', name = 'Personal', onpress = {href = 'personal', target = 'dashboard'}}, {icon = 'keyboard_arrow_right', name = 'Work', onpress = {href = 'work', target = 'dashboard'}} ]
Then, create a new dashboard. Right-click dashboards > New File. The name of this file will also be the name of your dashboard. For our second dashboard, we're calling it work.toml. For our 3rd dashboard, we're calling it personal.toml.
Then, paste this into each new dashboard you create:
shared_card = 'dashboard nav'
And here's our Work.toml dashboard. You'll notice it automatically pulls in the shared card data, which I'm using for site navigation.
Here's my very basic Dashmachine v0.7 dashboard!
I had a blast creating my previous Dashmachine dashboards, so I'm really looking forward to diving into this version some more. Especially looking forward to using data sources to pull in API data from Donate, Radar, Nzbget, Tautulli, etc.
Like I said at the beginning of this post, this was only released about a week ago, and there isn't a whole lot of documentation to reference yet. I plan on updating this post or creating a new post I've learned how to add a few more items.
Hopefully this guide helps you get up running quickly without needing to integrate the code editor!