normalize Obsidian base property syntax
Linter-driven: base views referenced property names with a redundant note. prefix in the order and sort arrays. The properties map still declares note.<key>, but inside order/sort the bare key is idiomatic and renders correctly. No functional change; both bases continue to filter and display as intended. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
filters:
|
filters:
|
||||||
and:
|
and:
|
||||||
- note.type == "council-member"
|
- note.type == "council-member"
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
note.name:
|
note.name:
|
||||||
displayName: Name
|
displayName: Name
|
||||||
@@ -13,18 +12,17 @@ properties:
|
|||||||
displayName: Votes?
|
displayName: Votes?
|
||||||
note.model:
|
note.model:
|
||||||
displayName: Model
|
displayName: Model
|
||||||
|
|
||||||
views:
|
views:
|
||||||
- type: table
|
- type: table
|
||||||
name: The Council
|
name: The Council
|
||||||
order:
|
order:
|
||||||
- note.name
|
- name
|
||||||
- note.prior_job
|
- prior_job
|
||||||
- note.lens
|
- lens
|
||||||
- note.voting
|
- voting
|
||||||
- note.model
|
- model
|
||||||
sort:
|
sort:
|
||||||
- property: note.voting
|
- property: voting
|
||||||
direction: DESC
|
direction: DESC
|
||||||
- property: note.name
|
- property: name
|
||||||
direction: ASC
|
direction: ASC
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
filters:
|
filters:
|
||||||
and:
|
and:
|
||||||
- note.type == "council-session"
|
- note.type == "council-session"
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
note.date:
|
note.date:
|
||||||
displayName: Date
|
displayName: Date
|
||||||
@@ -23,17 +22,16 @@ properties:
|
|||||||
displayName: Phase-3 clarif?
|
displayName: Phase-3 clarif?
|
||||||
note.tags:
|
note.tags:
|
||||||
displayName: Tags
|
displayName: Tags
|
||||||
|
|
||||||
views:
|
views:
|
||||||
- type: table
|
- type: table
|
||||||
name: All sessions
|
name: All sessions
|
||||||
order:
|
order:
|
||||||
- file.name
|
- file.name
|
||||||
- note.date
|
- date
|
||||||
- note.problem
|
- problem
|
||||||
- note.winner
|
- winner
|
||||||
- note.tied
|
- tied
|
||||||
- note.tags
|
- tags
|
||||||
sort:
|
sort:
|
||||||
- property: note.date
|
- property: date
|
||||||
direction: DESC
|
direction: DESC
|
||||||
|
|||||||
Reference in New Issue
Block a user