Merge pull request #10 from kepano/bases

Bases
This commit is contained in:
Steph Ango
2025-05-26 17:47:50 -07:00
committed by GitHub
80 changed files with 942 additions and 655 deletions

3
.obsidian/app.json vendored
View File

@@ -1,3 +1,4 @@
{
"attachmentFolderPath": "Attachments"
"attachmentFolderPath": "Attachments",
"alwaysUpdateLinks": true
}

View File

@@ -1,22 +1,33 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"markdown-importer",
"zk-prefixer",
"random-note",
"outline",
"workspaces",
"file-recovery"
]
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"outgoing-link": false,
"tag-pane": true,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"markdown-importer": true,
"zk-prefixer": true,
"random-note": true,
"outline": true,
"word-count": false,
"slides": false,
"audio-recorder": false,
"workspaces": true,
"file-recovery": true,
"publish": false,
"sync": false,
"canvas": true,
"properties": false,
"bookmarks": true,
"footnotes": false,
"bases": true,
"webviewer": false
}

View File

@@ -4,15 +4,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Album,
artist as Artist,
rating as Rating,
year as Year,
genre as Genre
where
contains(categories,this.file.link) and
!contains(file.name, "Template")
sort rating desc
```
![[Albums.base]]

View File

@@ -3,12 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Game,
rating as Rating,
last as Last
where
contains(categories,this.file.link) and
!contains(file.name,"Template")
```
![[Board games.base]]

View File

@@ -3,16 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Book,
author as Author,
year as Year,
rating as Rating,
created as Added,
genre as Genre
where
contains(categories,this.file.link) and
!contains(file.name, "Template")
sort rating desc, date asc
```
![[Books.base]]

View File

@@ -3,14 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Title,
author as Author,
created as Clipped,
published as Published
where
contains(categories,this.file.link) and
!contains(file.name, "Template")
sort clipped desc
```
![[Clippings.base]]

View File

@@ -3,12 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Company,
url as Link
where
contains(categories,this.file.link)
and !contains(file.name, "Template")
sort file.mtime desc
```
![[Companies.base]]

View File

@@ -3,10 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Event
where
contains(categories,this.file.link) and
!contains(file.name,"Template")
```
![[Events.base]]

View File

@@ -4,12 +4,4 @@ tags:
---
An evergreen note is an idea. It doesn't have to be something that I agree with, but something is [[Composability|composable]]. In a way, every idiom is a kind of evergreen idea.
```dataview
table without id
file.link as Name,
created as Created
from #0🌲
where
!contains(file.name,"Template")
sort created desc
```
![[Evergreen.base]]

View File

@@ -3,16 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Game,
maker as Maker,
genre as Genre,
year as Year,
rating as Rating,
last as "Last played"
where
contains(categories,this.file.link) and
!contains(file.name, "Template")
sort last desc
```
![[Games.base]]

View File

@@ -3,12 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Entry,
created as Created
from #journal
where
!contains(file.name,"Template")
sort created desc
```
![[Journal.base]]

View File

@@ -2,16 +2,4 @@
tags:
- categories
---
```dataview
table without id
file.link as Meeting,
type as Type,
people as People,
date as Date
where
contains(categories,this.file.link) and
!contains(file.name,"Template")
sort date desc
limit 100
```
![[Meetings.base]]

View File

@@ -4,31 +4,11 @@ tags:
---
## Favorites
```dataview
table without id
file.link as Movie,
year as Year,
rating as Rating,
last as "Last seen",
director as Director
where
contains(categories,this.file.link)
and rating > 6
sort rating desc
```
![[Movies.base#Favorites]]
## Last seen
```dataview
table without id
file.link as Movie,
year as Year,
rating as Rating,
last as "Last seen",
director as Director
where
contains(categories,this.file.link) and
last != "" and !contains(file.name, "Template")
sort last desc
limit 100
```
![[Movies.base#Last seen]]

View File

@@ -3,12 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Person,
filter(file.tags, (t) => t !="#people") as Tags
where
contains(categories,this.file.link) and
!contains(file.name,"Template")
sort file.name asc
```
![[People.base]]

View File

@@ -11,15 +11,4 @@ height:400px
## Places
```dataview
table without id
file.link as Place,
loc as Location,
type as Type,
rating as Rating
where
contains(categories,this.file.link) and
!contains(file.tags,"places/types") and
!contains(file.name,"Template")
sort last desc
```
![[Places.base]]

View File

@@ -3,16 +3,4 @@ tags:
- categories
---
```dataview
table without id
link(file.link, "Ep. " + string(episode)) as Episode,
show as Show,
guests as Guest,
episode as Ep,
rating as Rating,
published as "Published"
where
contains(categories,this.file.link) and
!contains(file.name, "Template")
sort published desc
```
![[Podcast episodes.base]]

View File

@@ -2,11 +2,4 @@
related: "[[Podcast episodes]]"
---
```dataview
table without id
file.link as Podcast, host as "Host"
where
contains(categories,this.file.link) and
!contains(file.name,"Template")
sort file.name asc
```
![[Podcasts.base]]

View File

@@ -2,13 +2,5 @@
tags:
- categories
---
```dataview
table without id
file.link as Title,
status as Status,
published as Published
where
contains(categories,this.file.link) and
!contains(file.name,"Template")
sort published desc
```
![[Posts.base]]

View File

@@ -3,19 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Product,
rating as Rating,
acquired as Acquired,
type as Type,
maker as Maker
where
!contains(file.name, "Template") and
contains(categories, [[Products]])
sort
acquired desc,
file.name,
rating desc,
file.mtime desc
```
![[Products.base]]

View File

@@ -3,14 +3,4 @@ tags:
- categories
---
```dataview
table
type as Type,
year as Year,
status as Status,
url as URL
where
contains(categories,this.file.link) and
!contains(file.name,"Template")
sort year desc
```
![[Projects.base]]

View File

@@ -3,11 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Recipe, type as Type, author as Author, ingredients as Ingredients, rating as Rating
where
contains(categories,this.file.link) and
!contains(file.name,"Template")
sort created desc
```
![[Recipes.base]]

View File

@@ -3,13 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Show,
rating as Rating,
last as "Last seen"
where
contains(categories, this.file.link) and
!contains(file.name, "Template")
sort last desc
```
![[Shows.base]]

View File

@@ -3,15 +3,4 @@ tags:
- categories
---
```dataview
table without id
file.link as Trip,
loc as Location,
start as Start,
end as End
where
contains(categories,this.file.link) and
!contains(file.name, "Template") and
!contains(file.name, "Planning")
sort start desc
```
![[Trips.base]]

View File

@@ -4,12 +4,4 @@ tags:
---
## Notes
```dataview
list
where
!contains(file.tags, "daily") and
contains(file.outlinks, this.file.link) or
contains(string(file.frontmatter), string(dateformat(this.file.day,"yyyy-MM-dd")))
sort file.ctime asc
limit 50
```
![[Daily.base]]

View File

@@ -4,12 +4,4 @@ tags:
---
## Notes
```dataview
list
where
!contains(file.tags, "daily") and
contains(file.outlinks, this.file.link) or
contains(string(file.frontmatter), string(dateformat(this.file.day,"yyyy-MM-dd")))
sort file.ctime asc
limit 50
```
![[Daily.base]]

View File

@@ -1,19 +1,3 @@
Analysis of cost per use, see [[Buy wisely]]
```dataview
table without id
file.link as Product,
rating as Rating,
"$" + round(price/(monthly-uses*((date(today) - acquired).months)),2) as "Per use",
monthly-uses as "Uses/month",
dateformat(acquired, "yyyy-MM") as Acquired,
round((date(today) - acquired).months,1) as "Months",
"$" + string(round(price, 2)) as Price,
round(monthly-uses*((date(today) - acquired).months),0) as "Total uses",
type as Type
where
monthly-uses > 0 and
contains(categories, [[Products]])
sort
round(price/(monthly-uses*((date(today) - acquired).months)),2) asc
```
![[Products.base#Cost per use]]

View File

@@ -3,14 +3,4 @@ tags:
- music/genres
---
```dataview
table without id
file.link as Album,
artist as Artist,
genre as Genre,
rating as Rating
where
contains(categories, [[Albums]]) and
contains(genre,this.file.link)
sort rating desc
```
![[Albums.base#Genre]]

View File

@@ -8,37 +8,12 @@ created: 2023-09-12
---
## Books
```dataview
table without id
file.link as Title,
year as Year,
rating as Rating
where
contains(categories,[[Books]]) and
contains(author,this.file.link)
sort rating desc
```
![[Books.base#Author]]
# Clippings
```dataview
table without id
file.link as Title,
published as Published
where
contains(categories,[[Clippings]]) and
contains(author,this.file.link)
sort rating desc
```
![[Clippings.base#Author]]
# Podcast episodes
```dataview
table without id
file.link as Podcast,
published as Published
where
contains(categories,[[Podcast episodes]]) and
contains(guests,this.file.link)
sort rating desc
```
![[Podcast episodes.base#Guest]]

View File

@@ -16,16 +16,7 @@ created: 2023-09-12
---
## Trips
```dataview
table without id
file.link as Trip,
start as Start,
end as End
where
contains(categories, [[Trips]]) and
contains(loc, this.file.link)
sort file.name desc
```
![[Trips.base#Related trips]]
## Map
@@ -42,13 +33,4 @@ coordinates: [[Kyoto]]
## Places
```dataview
table without id
file.link as Place,
rating as Rating,
type as Type
where
contains(categories, [[Places]]) and
contains(loc, this.file.link)
sort rating desc
```
![[Places.base#Location]]

View File

@@ -8,13 +8,4 @@ created: 2023-09-13
---
## Albums
```dataview
table without id
file.link as Album,
artist as Artist,
rating as Rating
where
contains(categories,[[Albums]]) and
contains(artist,this.file.link)
sort rating desc
```
![[Albums.base#Related albums]]

View File

@@ -2,13 +2,4 @@
tags:
- genres
---
```dataview
table without id
file.link as Title,
categories as categories,
rating as Rating
where
contains(genre,this.file.link)
sort rating desc
```
![[Genre.base]]

View File

@@ -12,23 +12,8 @@ url: https://stephango.com/
---
## Clippings
```dataview
table without id
file.link as Title,
published as Published
where
contains(author,this.file.link)
sort rating desc
```
![[Clippings.base#Author]]
## Meetings
```dataview
table without id
file.link as Meeting,
date as Date
where
contains(people,this.file.link)
sort file.name desc
```
![[Meetings.base#Person]]

View File

@@ -9,13 +9,4 @@ tags:
---
## Episodes
```dataview
table without id
link(file.link, "Ep. " + string(episode)) as Episode,
guests as Guest,
rating as Rating
where
contains(categories,[[Podcast episodes]]) and
contains(show,this.file.link)
sort episode desc
```
![[Podcast episodes.base#Show]]

View File

@@ -6,13 +6,4 @@ tags:
---
## Movies
```dataview
table without id
file.link as Movie,
year as Year,
rating as Rating
where
contains(categories,[[Movies]]) and
contains(cast,this.file.link)
sort rating desc
```
![[Movies.base#Actor]]

View File

@@ -6,13 +6,4 @@ tags:
---
## Books
```dataview
table without id
file.link as Title,
year as Year,
rating as Rating
where
contains(categories,[[Books]]) and
contains(author,this.file.link)
sort rating desc
```
![[Books.base#Author]]

View File

@@ -1,8 +0,0 @@
```dataview
list
where
contains(type, this.file.link) and
!contains(file.name, "Template")
sort file.ctime asc
```

View File

@@ -0,0 +1,46 @@
filters:
and:
- contains(property.categories, "[[Albums]]")
- not(contains(file.name, "Template"))
display:
file.name: Album
property.year: Year
property.artist: Artist
property.created: Added
property.rating: Rating
property.genre: Genre
views:
- type: table
name: Albums
filters:
and:
- contains(categories, concat("[[", this.file.name, "]]"))
- not(contains(file.name, "Template"))
order:
- file.name
- artist
- rating
- year
- genre
- type: table
name: Artist
filters:
and:
- contains(artist, concat("[[", this.file.name, "]]"))
order:
- file.name
- artist
- rating
- year
- genre
- type: table
name: Genre
filters:
and:
- contains(genre, concat("[[", this.file.name, "]]"))
order:
- file.name
- artist
- rating
- year
- genre

View File

@@ -0,0 +1,14 @@
filters:
and:
- linksTo(file.file, this.file.path)
display:
property.category: Category
file.name: Name
property.created: Created
views:
- type: table
name: Backlinks
order:
- file.name
- category
- created

View File

@@ -0,0 +1,15 @@
filters:
and:
- contains(property.categories, "[[Board games]]")
- not(contains(file.name, "Template"))
display:
file.name: Game
property.rating: Rating
property.last: Last
views:
- type: table
name: Table
order:
- file.name
- rating
- last

View File

@@ -0,0 +1,53 @@
filters:
and:
- contains(property.categories, "[[Books]]")
- not(contains(file.name, "Template"))
display:
file.name: Name
property.last: Last
property.rating: Rating
property.year: Year
property.genre: Genre
property.author: Author
property.created: Added
views:
- type: table
name: Favorites
order:
- author
- file.name
- rating
- year
- created
- genre
- type: table
name: All
order:
- file.name
- year
- rating
- last
- genre
- type: table
name: Last read
filters:
and:
- not(empty(property.last))
order:
- file.name
- year
- rating
- last
- genre
sort:
- column: property.last
direction: ASC
- type: table
name: Author
filters:
and:
- contains(author, concat("[[", this.file.name, "]]"))
order:
- file.name
- year
- genre

View File

@@ -0,0 +1,37 @@
filters:
and:
- contains(property.categories, "[[Clippings]]")
- not(contains(file.name, "Template"))
display:
file.name: Title
property.author: Author
property.created: Clipped
property.published: Published
views:
- type: table
name: Clippings
filters:
and:
- contains(categories, concat("[[", this.file.name, "]]"))
- not(contains(file.name, "Template"))
order:
- file.name
- author
- created
- published
sort:
- column: clipped
direction: DESC
- type: table
name: Author
filters:
and:
- contains(author, concat("[[", this.file.name, "]]"))
order:
- file.name
- author
- created
- published
sort:
- column: clipped
direction: DESC

View File

@@ -0,0 +1,13 @@
display:
file.name: Company
property.url: Link
views:
- type: table
name: Table
filters:
and:
- contains(categories, concat("[[", this.file.name, "]]"))
- not(contains(file.name, "Template"))
order:
- file.name
- url

View File

@@ -0,0 +1,28 @@
filters:
or:
- linksTo(file.file, this.file.path)
- contains(property.created, this.file.name)
- contains(property.last, this.file.name)
- contains(property.end, this.file.name)
display:
file.name: Entry
property.created: Created
property.categories: Categories
views:
- type: table
name: Daily notes
filters:
and:
- not(taggedWith(file.file, "daily"))
- not(taggedWith(file.file, "monthly"))
order:
- file.name
- categories
- created
sort:
- column: file.name
direction: ASC
- column: property.created
direction: ASC
columnSize:
file.name: 263

View File

@@ -0,0 +1,29 @@
filters:
and:
- contains(property.categories, "[[Events]]")
- not(contains(file.name, "Template"))
display:
file.name: Event
property.loc: Location
views:
- type: table
name: Events
order:
- file.name
- loc
- start
- type: table
name: Type
filters:
and:
- contains(type, concat("[[", this.file.name, "]]"))
order:
- file.name
- loc
- start
columnSize:
file.name: 226
property.loc: 199
sort:
- column: property.start
direction: DESC

View File

@@ -0,0 +1,13 @@
display:
file.name: Name
property.created: Created
views:
- type: table
name: Table
filters:
and:
- contains(property.tags, "0🌲")
- not(contains(file.name, "Template"))
order:
- file.name
- created

View File

@@ -0,0 +1,49 @@
filters:
and:
- contains(property.categories, "[[Games]]")
- not(contains(file.name, "Template"))
display:
file.name: Games
property.year: Year
property.maker: Maker
property.rating: Rating
property.genre: Genre
property.last: Last played
views:
- type: table
name: Games
filters:
and:
- contains(property.categories, "[[Games]]")
- not(contains(file.name, "Template"))
order:
- file.name
- maker
- genre
- year
- rating
- last
- type: table
name: Studio
filters:
and:
- contains(maker, concat("[[", this.file.name, "]]"))
order:
- file.name
- maker
- genre
- year
- rating
- last
- type: table
name: Genre
filters:
and:
- contains(genre, concat("[[", this.file.name, "]]"))
order:
- file.name
- maker
- genre
- year
- rating
- last

View File

@@ -0,0 +1,17 @@
filters:
and:
- contains(genre, concat("[[", this.file.name, "]]"))
display:
property.categories: Categories
property.rating: Rating
property.last: Last
file.name: Name
views:
- type: table
name: Table
order:
- file.name
- categories
- rating
- last
sort: []

View File

@@ -0,0 +1,13 @@
filters:
and:
- contains(property.tags, "journal")
- not(contains(file.name, "Template"))
display:
file.name: Entry
property.created: Created
views:
- type: table
name: Table
order:
- file.name
- created

View File

@@ -0,0 +1,33 @@
filters:
and:
- contains(property.categories, "[[Meetings]]")
- not(contains(file.name, "Template"))
display:
property.date: Date
property.people: People
property.type: Type
file.name: Meeting
views:
- type: table
name: Meetings
order:
- file.name
- date
- type
- people
sort:
- column: property.date
direction: ASC
- type: table
name: Person
filters:
and:
- contains(people, concat("[[", this.file.name, "]]"))
order:
- file.name
- date
- type
- people
sort:
- column: property.date
direction: ASC

View File

@@ -0,0 +1,85 @@
filters:
and:
- not(contains(file.name, "Template"))
- contains(property.categories, "[[Movies]]")
display:
file.name: Name
property.last: Last
property.rating: Rating
property.year: Year
property.director: Director
property.genre: Genre
property.cast: Cast
views:
- type: table
name: Favorites
filters:
and:
- property.rating > 6
order:
- file.name
- year
- rating
- last
- director
- genre
- type: table
name: All
order:
- file.name
- year
- rating
- last
- director
- genre
sort:
- column: file.name
direction: ASC
- column: property.director
direction: ASC
- type: table
name: Last seen
filters:
and:
- not(empty(property.last))
order:
- file.name
- year
- rating
- last
- director
- genre
sort:
- column: property.last
direction: DESC
limit: 20
- type: table
name: Actor
filters:
and:
- contains(cast, concat("[[", this.file.name, "]]"))
order:
- file.name
- year
- director
- genre
- type: table
name: Genre
filters:
and:
- contains(genre, concat("[[", this.file.name, "]]"))
order:
- file.name
- year
- director
- genre
- type: table
name: Director
filters:
and:
- contains(director, concat("[[", this.file.name, "]]"))
order:
- file.name
- year
- cast
- genre

View File

@@ -0,0 +1,13 @@
filters:
and:
- contains(property.categories, "[[People]]")
- not(contains(file.name, "Template"))
display:
file.name: Name
property.tags: Tags
views:
- type: table
name: Table
order:
- file.name
- tags

View File

@@ -0,0 +1,24 @@
filters:
and:
- contains(type, concat("[[", this.file.name, "]]"))
display:
property.rating: Rating
file.name: Name
property.loc: Location
property.last: Last
views:
- type: table
name: Default view
order:
- file.name
- rating
- last
- loc
sort:
- column: property.last
direction: DESC
- column: property.rating
direction: ASC
columnSize:
property.rating: 94
property.loc: 270

View File

@@ -0,0 +1,52 @@
filters:
and:
- contains(property.categories, "[[Places]]")
- not(contains(file.name, "Template"))
display:
property.type: Type
property.rating: Rating
property.loc: Location
file.name: Name
property.last: Last
views:
- type: table
name: Places
order:
- file.name
- loc
- type
- rating
- last
sort:
- column: property.loc
direction: ASC
- type: table
name: Location
filters:
and:
- contains(loc, concat("[[", this.file.name, "]]"))
order:
- file.name
- type
- rating
- last
sort:
- column: property.last
direction: DESC
- column: property.loc
direction: ASC
- type: table
name: Type
filters:
and:
- contains(type, concat("[[", this.file.name, "]]"))
order:
- file.name
- type
- rating
- last
sort:
- column: property.last
direction: DESC
- column: property.loc
direction: ASC

View File

@@ -0,0 +1,45 @@
filters:
and:
- contains(property.categories, "[[Podcast episodes]]")
- not(contains(file.name, "Template"))
display:
file.name: Podcast
property.show: Show
property.guests: Guests
property.episode: Episode
property.rating: Rating
property.published: Published
views:
- type: table
name: All episodes
order:
- file.name
- show
- guests
- episode
- rating
- published
- type: table
name: Show
filters:
and:
- contains(show, concat("[[", this.file.name, "]]"))
order:
- file.name
- show
- guests
- episode
- rating
- published
- type: table
name: Guest
filters:
and:
- contains(guests, concat("[[", this.file.name, "]]"))
order:
- file.name
- show
- guests
- episode
- rating
- published

View File

@@ -0,0 +1,13 @@
filters:
and:
- contains(property.categories, "[[Podcasts]]")
- not(contains(file.name, "Template"))
display:
file.name: Podcast
property.host: Host
views:
- type: table
name: Table
order:
- file.name
- host

View File

@@ -0,0 +1,15 @@
display:
file.name: Title
property.status: Status
property.published: Published
views:
- type: table
name: Table
filters:
and:
- contains(categories, concat("[[", this.file.name, "]]"))
- not(contains(file.name, "Template"))
order:
- file.name
- status
- published

View File

@@ -0,0 +1,88 @@
filters:
and:
- contains(property.categories, "[[Products]]")
- not(contains(file.name, "Template"))
formulas:
Usage: formula.Owned * monthly-uses
Owned: round(dateDiff(acquired, now()) / -2629746000)
Per use: concat("$", price / formula.Usage)
display:
property.monthly-uses: Uses/month
formula.Owned: Months
formula.Usage: Total uses
property.price: Price
property.rating: Rating
property.acquired: Acquired
property.type: Type
file.name: Product
views:
- type: table
name: Products
order:
- file.name
- rating
- price
- acquired
- type
columnSize:
file.name: 209
property.monthly-uses: 82
formula.Usage: 115
sort:
- column: file.name
direction: ASC
- column: formula.Usage
direction: DESC
- column: property.acquired
direction: DESC
- column: property.monthly-uses
direction: DESC
- type: table
name: Cost per use
order:
- file.name
- rating
- formula.Per use
- monthly-uses
- price
- formula.Usage
- formula.Owned
- acquired
- type
columnSize:
formula.Per use: 77
property.monthly-uses: 82
formula.Usage: 115
sort:
- column: file.name
direction: ASC
- column: formula.Usage
direction: DESC
- column: property.acquired
direction: DESC
- column: property.monthly-uses
direction: DESC
- type: table
name: Type
filters:
and:
- contains(type, concat("[[", this.file.name, "]]"))
order:
- file.name
- rating
- price
- acquired
- type
columnSize:
file.name: 209
property.monthly-uses: 82
formula.Usage: 115
sort:
- column: file.name
direction: ASC
- column: formula.Usage
direction: DESC
- column: property.acquired
direction: DESC
- column: property.monthly-uses
direction: DESC

View File

@@ -0,0 +1,19 @@
filters:
and:
- contains(categories, concat("[[", this.file.name, "]]"))
- not(contains(file.name, "Template"))
display:
property.status: Status
property.url: URL
file.name: Name
property.type: Type
property.year: Year
views:
- type: table
name: Table
order:
- file.name
- type
- year
- status
- url

View File

@@ -0,0 +1,21 @@
filters:
and:
- contains(categories, concat("[[", this.file.name, "]]"))
- not(contains(file.name, "Template"))
display:
file.name: Name
property.author: Author
property.type: Type
property.ingredients: Ingredients
property.cuisine: Cuisine
property.rating: Rating
views:
- type: table
name: Recipes
order:
- file.name
- type
- author
- ingredients
- cuisine
- rating

View File

@@ -0,0 +1,85 @@
filters:
and:
- not(contains(file.name, "Template"))
- contains(property.categories, "[[Shows]]")
display:
file.name: Name
property.last: Last
property.rating: Rating
property.year: Year
property.director: Director
property.genre: Genre
property.cast: Cast
views:
- type: table
name: Favorites
filters:
and:
- property.rating > 6
order:
- file.name
- year
- rating
- last
- director
- genre
- type: table
name: All
order:
- file.name
- year
- rating
- last
- director
- genre
sort:
- column: file.name
direction: ASC
- column: property.director
direction: ASC
- type: table
name: Last seen
filters:
and:
- not(empty(property.last))
order:
- file.name
- year
- rating
- last
- director
- genre
sort:
- column: property.last
direction: DESC
limit: 20
- type: table
name: Actor
filters:
and:
- contains(cast, concat("[[", this.file.name, "]]"))
order:
- file.name
- year
- director
- genre
- type: table
name: Genre
filters:
and:
- contains(genre, concat("[[", this.file.name, "]]"))
order:
- file.name
- year
- director
- genre
- type: table
name: Director
filters:
and:
- contains(director, concat("[[", this.file.name, "]]"))
order:
- file.name
- year
- cast
- genre

View File

@@ -0,0 +1,27 @@
filters:
and:
- contains(property.categories, "[[Trips]]")
- not(contains(file.name, "Template"))
display:
property.loc: Location
property.start: Start
property.end: End
file.name: Trip
views:
- type: table
name: Trips
order:
- file.name
- loc
- start
- end
- type: table
name: Related trips
filters:
and:
- contains(loc, concat("[[", this.file.name, "]]"))
order:
- file.name
- loc
- start
- end

View File

@@ -16,16 +16,7 @@ location:
---
## Trips
```dataview
table without id
file.link as Trip,
start as Start,
end as End
where
contains(categories, [[Trips]]) and
contains(loc, this.file.link)
sort file.name desc
```
![[Trips.base#Related trips]]
## Map
@@ -42,13 +33,4 @@ coordinates: [[Kyoto]]
## Places
```dataview
table without id
file.link as Place,
rating as Rating,
type as Type
where
contains(categories, [[Places]]) and
contains(loc, this.file.link)
sort rating desc
```
![[Places.base#Location]]

View File

@@ -4,12 +4,4 @@ tags:
---
## Notes
```dataview
list
where
!contains(file.tags, "daily") and
contains(file.outlinks, this.file.link) or
contains(string(file.frontmatter), string(dateformat(this.file.day,"yyyy-MM-dd")))
sort file.ctime asc
limit 50
```
![[Daily.base]]

View File

@@ -8,13 +8,4 @@ created: {{date}}
---
## Movies
```dataview
table without id
file.link as Movie,
year as Year,
rating as Rating
where
contains(categories,[[Movies]]) and
contains(director,this.file.link)
sort rating desc
```
![[Movies.base]]

View File

@@ -4,15 +4,7 @@ categories:
tags:
- companies
---
## Games
```dataview
table without id
file.link as Game,
year as Year,
rating as Rating
where
contains(categories,[[Games]]) and
contains(maker,this.file.link)
sort year desc
```
![[Games.base#Studio]]

View File

@@ -2,13 +2,4 @@
tags:
- genres
---
```dataview
table without id
file.link as Title,
categories as categories,
rating as Rating
where
contains(genre,this.file.link)
sort rating desc
```
![[Genre.base]]

View File

@@ -2,17 +2,4 @@
tags:
- meetings/type
---
```dataview
table without id
file.link as Meeting,
people as People,
date as Date
where
contains(categories, [[Meetings]]) and
!contains(file.name,"Template") and
contains(type,this.file.link)
sort date desc
limit 50
```
![[Meetings.base]]

View File

@@ -1,8 +1 @@
```dataview
table without id
file.link as Meeting, date as Date
from [[Meetings]]
where contains(people,this.file.link)
sort date desc
limit 50
```
![[Meetings.base#Person]]

View File

@@ -7,13 +7,4 @@ tags:
---
## Entries
```dataview
list
where
contains(file.name,this.file.name) or
contains(file.outlinks.file.name,this.file.name) or
contains(string(file.frontmatter),this.file.name)
where !contains(file.tags, "daily")
where !contains(file.tags, "monthly")
sort file.name asc
```
![[Daily.base]]

View File

@@ -2,13 +2,4 @@
tags:
- movies/genres
---
```dataview
table without id
file.link as Movie,
rating as "Rating"
where
contains(categories,[[Movies]]) and
contains(genre,this.file.link)
sort rating desc
```
![[Movies.base]]

View File

@@ -3,14 +3,4 @@ tags:
- music/genres
---
```dataview
table without id
file.link as Album,
artist as Artist,
genre as Genre,
rating as Rating
where
contains(categories,[[Albums]]) and
contains(genre,this.file.link)
sort rating desc
```
![[Albums.base]]

View File

@@ -7,14 +7,4 @@ created: {{date}}
---
## Albums
```dataview
table without id
file.link as Album,
artist as Artist,
genre as Genre,
rating as Rating
where
contains(categories,[[Albums]]) and
contains(artist,this.file.link)
sort rating desc
```
![[Albums.base#Related albums]]

View File

@@ -9,12 +9,4 @@ created: {{date}}
---
## Meetings
```dataview
table without id
file.link as Meeting,
date as Date
where
contains(categories,[[Meetings]]) and
contains(people,this.file.link)
sort file.name desc
```
![[Meetings.base#Person]]

View File

@@ -1,13 +0,0 @@
---
tags:
- people/types
---
```dataview
table without id
file.link as Name
where
contains(categories, [[People]]) and
!contains(file.name,"Template")
sort file.name asc
```

View File

@@ -14,13 +14,4 @@ height: 400px
## Places
```dataview
table without id
file.link as Place,
rating as Rating,
loc as Location
where
contains(categories, [[Places]]) and
!contains(file.name,"Template") and
contains(type, this.file.link)
```
![[Places.base]]

View File

@@ -8,13 +8,4 @@ tags:
---
## Episodes
```dataview
table without id
link(file.link, "Ep. " + string(episode)) as Episode,
guests as Guest,
rating as Rating
where
contains(categories,[[Podcast episodes]]) and
contains(show,this.file.link)
sort episode desc
```
![[Podcast episodes.base#Podcast episodes]]

View File

@@ -2,20 +2,4 @@
tags:
- products/types
---
```dataview
table without id
file.link as Item,
maker as Maker,
price as Price,
rating as Rating,
acquired as Acquired
where
contains(categories, [[Products]]) and
!contains(file.name,"Template") and
contains(type,this.file.link)
sort
acquired desc,
rating desc,
file.mtime desc
```
![[Products.base]]

View File

@@ -1,10 +0,0 @@
# Recent entries
```dataview
table
created as Date
where
contains(file.outlinks, this.file.link)
sort created desc
limit 20
```

View File

@@ -1,19 +0,0 @@
---
ticker: AAPL
scale: Logarithmic
chartType: Area
---
```dataviewjs
await dv.el("div", "", { cls: "stock-container" });
const container = document.querySelectorAll('.stock-container')[0];
const ticker = `${dv.current().file.frontmatter.ticker}`;
const scale = `${dv.current().file.frontmatter.scale}`;
const chartType = `${dv.current().file.frontmatter.chartType}`;
const embedUrl = `https://s.tradingview.com/embed-widget/symbol-overview/?locale=en#%7B%22symbols%22%3A%5B%5B%22` + `${ticker}` + `%7C1D%22%5D%5D%2C%22chartOnly%22%3Afalse%2C%22width%22%3A%22100%25%22%2C%22height%22%3A%22100%25%22%2C%22colorTheme%22%3A%22dark%22%2C%22showVolume%22%3Afalse%2C%22showMA%22%3Afalse%2C%22hideDateRanges%22%3Afalse%2C%22hideMarketStatus%22%3Atrue%2C%22hideSymbolLogo%22%3Afalse%2C%22scalePosition%22%3A%22right%22%2C%22scaleMode%22%3A%22` + `${scale}` + `%22%2C%22fontFamily%22%3A%22-apple-system%2C%20BlinkMacSystemFont%2C%20sans-serif%22%2C%22fontSize%22%3A%2212%22%2C%22noTimeScale%22%3Afalse%2C%22valuesTracking%22%3A%221%22%2C%22changeMode%22%3A%22price-and-percent%22%2C%22chartType%22%3A%22` + `${chartType}` + `%22%2C%22fontColor%22%3A%22rgba(100%2C%20100%2C%20100%2C%20.8)%22%2C%22backgroundColor%22%3A%22rgba(0%2C%200%2C%200%2C%200)%22%2C%22widgetFontColor%22%3A%22rgba(150%2C%20150%2C%20150%2C%200.8)%22%2C%22gridLineColor%22%3A%22rgba(200%2C%20200%2C%20200%2C%200.06)%22%2C%22lineWidth%22%3A2%2C%22lineType%22%3A0%2C%22dateRanges%22%3A%5B%221d%7C1%22%2C%221m%7C30%22%2C%223m%7C60%22%2C%2212m%7C1D%22%2C%2260m%7C1W%22%2C%22all%7C1M%22%5D%2C%22dateFormat%22%3A%22dd%20MMM%20'yy%22%2C%22timeHoursFormat%22%3A%2224-hours%22%7D`
container.innerHTML = `<iframe class="stock-chart" src="${embedUrl}"></iframe>`;
await dv.el("div", container);
```

View File

@@ -2,16 +2,4 @@
tags:
- games/genres
---
```dataview
table without id
file.link as Game,
maker as Maker,
year as Year,
rating as Rating
where
contains(categories, [[Games]]) and
!contains(file.name, "Template") and
contains(genre, this.file.link)
sort rating desc
```
![[Games.base]]