not working properly
| Game | Note | Date |
|---|---|---|
| Azul |
|
|
| Betrayal at the House on the Hill |
|
|
| Betrayal at the House on the Hill, 3e |
|
|
| Blood on the Clocktower |
|
|
| boop. |
|
|
| Crokinole |
|
|
| Cultist of Morta |
|
|
| Dune: Imperium |
|
|
| Exploding Kittens |
|
|
| Flashpoint: Fire Recue |
|
|
| Flick Fleet |
|
|
| King of Tokyo |
|
|
| Kingdomino |
|
|
| Love Letter |
|
|
| Magical Mushroom Mayhem |
|
|
| Mothership |
|
|
| One Deck Dungeon |
|
|
| Skyjo |
|
|
| something about heroes? |
|
|
| Swords Beyond |
|
|
| Taco vs Burrito |
|
|
| The Fuzzies |
|
|
| Tiny Laser Heist |
|
|
| Warp Gate |
|
|
| Wingspan |
|
|
| Zombie Teenz |
|
Only the note with no spaces in the name links correctly on the site. Links fine in Obsidian. Is that a bug or my mistake?
The heart of the dataview code is:
table rows.file.link as Note, rows.Date as Date
Full:
table rows.file.link as Note, rows.Date as Date
from "gamelog"
where Game != "Arcs" and Game != "13th Age" and Game != "Masks" and Game != empty
sort Date desc
group by Game
work around
| Game | Note | Date |
|---|---|---|
| Azul |
|
|
| Betrayal at the House on the Hill |
|
|
| Betrayal at the House on the Hill, 3e |
|
|
| Blood on the Clocktower |
|
|
| boop. |
|
|
| Crokinole |
|
|
| Cultist of Morta |
|
|
| Dune: Imperium |
|
|
| Exploding Kittens |
|
|
| Flashpoint: Fire Recue |
|
|
| Flick Fleet |
|
|
| King of Tokyo |
|
|
| Kingdomino |
|
|
| Love Letter |
|
|
| Magical Mushroom Mayhem |
|
|
| Mothership |
|
|
| One Deck Dungeon |
|
|
| Skyjo |
|
|
| something about heroes? |
|
|
| Swords Beyond |
|
|
| Taco vs Burrito |
|
|
| The Fuzzies |
|
|
| Tiny Laser Heist |
|
|
| Warp Gate |
|
|
| Wingspan |
|
|
| Zombie Teenz |
|
This workaround works like I would expect the broken code above would. The heart of the dataview code is:
table "<ul>" + join( map( rows.file, (f) => "<li><a class='internal-link' href='https://superclark.net/" + lower(replace(replace(f.path, " ", "-"), ".md", "")) + "'>" + f.name + "</a>" ), "</li>") + "</ul>" as Note, rows.Date as Date
Improved from:
table join( map( rows.file, (f) => "• [" + f.name + "](https://superclark.net/" + lower(replace(replace(f.path, " ", "-"), ".md", "")) + ")" ), "<br>" ) as Note, rows.Date as Date
a broken workaround attempt
The dataview code:
table join( map( rows.file, (f) => "• [[" + lower(replace(replace(f.name, " ", "-"), ".md", "")) + "]]" ), "<br>" ) as Note, rows.Date as Date
| Game | Note | Date |
|---|---|---|
| Azul | • family-azul |
|
| Betrayal at the House on the Hill | • christmas-betrayal |
|
| Betrayal at the House on the Hill, 3e | • ps-i-love-you • shortest-game-ever • cheater-cheater-pumpkin-eater • first-3e-betrayal |
|
| Blood on the Clocktower | • winning-imp |
|
| boop. | • car-boop. • with-the-designer |
|
| Crokinole | • jc-beat-ae |
|
| Cultist of Morta | • morta! |
|
| Dune: Imperium | • eicc-game-con-dune-imperium |
|
| Exploding Kittens | • more-car-cards • car-cards |
|
| Flashpoint: Fire Recue | • we-saved-em-all |
|
| Flick Fleet | • he-doesnt-need-a-handicap |
|
| King of Tokyo | • extra-head,-poison-spit,-alien-origin • new-copy |
|
| Kingdomino | • last-draw • forest-for-the-win |
|
| Love Letter | • four-to-one • dad-wins-again • he-won • sevens-and-eights • streak |
|
| Magical Mushroom Mayhem | • surprisingly-thinky |
|
| Mothership | • the-haunting-of-ypsilon-14 |
|
| One Deck Dungeon | • odd |
|
| Skyjo | • learned-skyjo |
|
| something about heroes? | • meh |
|
| Swords Beyond | • playtest-first-play • playtest-character-creation |
|
| Taco vs Burrito | • taco-v-burrito-v-taco |
|
| The Fuzzies | • fuzzy-fun |
|
| Tiny Laser Heist | • hands-on-sticks |
|
| Warp Gate | • an-unpublished-game |
|
| Wingspan | • half-span • bonus-cards-for-the-win • inaugural-wingspan |
|
| Zombie Teenz | • before-mom-gets-home • letter-d • number-9 • the-boss • third-times-the-charm • victory-with-guarded-crates • jet-pack • double-tap |
|
This replicates the original problem, with the less-than-ideal formatting of the unimproved workaround.