From a1c220fb8ea4e451f7e2e5502548b5696f4558ba Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Thu, 12 Dec 2024 15:29:50 +0100 Subject: [PATCH] add test vault --- test-vault/.obsidian/app.json | 1 + test-vault/.obsidian/appearance.json | 1 + test-vault/.obsidian/community-plugins.json | 3 + test-vault/.obsidian/core-plugins.json | 30 ++++ .../.obsidian/plugins/dataview/manifest.json | 11 ++ .../.obsidian/plugins/dataview/styles.css | 146 ++++++++++++++++ test-vault/.obsidian/workspace.json | 159 ++++++++++++++++++ 7 files changed, 351 insertions(+) create mode 100644 test-vault/.obsidian/app.json create mode 100644 test-vault/.obsidian/appearance.json create mode 100644 test-vault/.obsidian/community-plugins.json create mode 100644 test-vault/.obsidian/core-plugins.json create mode 100644 test-vault/.obsidian/plugins/dataview/manifest.json create mode 100644 test-vault/.obsidian/plugins/dataview/styles.css create mode 100644 test-vault/.obsidian/workspace.json diff --git a/test-vault/.obsidian/app.json b/test-vault/.obsidian/app.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test-vault/.obsidian/app.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test-vault/.obsidian/appearance.json b/test-vault/.obsidian/appearance.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test-vault/.obsidian/appearance.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test-vault/.obsidian/community-plugins.json b/test-vault/.obsidian/community-plugins.json new file mode 100644 index 0000000..0fa33b2 --- /dev/null +++ b/test-vault/.obsidian/community-plugins.json @@ -0,0 +1,3 @@ +[ + "dataview" +] \ No newline at end of file diff --git a/test-vault/.obsidian/core-plugins.json b/test-vault/.obsidian/core-plugins.json new file mode 100644 index 0000000..436f43c --- /dev/null +++ b/test-vault/.obsidian/core-plugins.json @@ -0,0 +1,30 @@ +{ + "file-explorer": true, + "global-search": true, + "switcher": true, + "graph": true, + "backlink": true, + "canvas": true, + "outgoing-link": true, + "tag-pane": true, + "properties": false, + "page-preview": true, + "daily-notes": true, + "templates": true, + "note-composer": true, + "command-palette": true, + "slash-command": false, + "editor-status": true, + "bookmarks": true, + "markdown-importer": false, + "zk-prefixer": false, + "random-note": false, + "outline": true, + "word-count": true, + "slides": false, + "audio-recorder": false, + "workspaces": false, + "file-recovery": true, + "publish": false, + "sync": false +} \ No newline at end of file diff --git a/test-vault/.obsidian/plugins/dataview/manifest.json b/test-vault/.obsidian/plugins/dataview/manifest.json new file mode 100644 index 0000000..95b8152 --- /dev/null +++ b/test-vault/.obsidian/plugins/dataview/manifest.json @@ -0,0 +1,11 @@ +{ + "id": "dataview", + "name": "Dataview", + "version": "0.5.67", + "minAppVersion": "0.13.11", + "description": "Complex data views for the data-obsessed.", + "author": "Michael Brenan ", + "authorUrl": "https://github.com/blacksmithgu", + "helpUrl": "https://blacksmithgu.github.io/obsidian-dataview/", + "isDesktopOnly": false +} diff --git a/test-vault/.obsidian/plugins/dataview/styles.css b/test-vault/.obsidian/plugins/dataview/styles.css new file mode 100644 index 0000000..e884570 --- /dev/null +++ b/test-vault/.obsidian/plugins/dataview/styles.css @@ -0,0 +1,146 @@ +/** Live Preview padding fixes, specifically for DataviewJS custom HTML elements. */ +.is-live-preview .block-language-dataviewjs > p, .is-live-preview .block-language-dataviewjs > span { + line-height: 1.0; +} + +.block-language-dataview { + overflow-y: auto; +} + +/*****************/ +/** Table Views **/ +/*****************/ + +/* List View Default Styling; rendered internally as a table. */ +.table-view-table { + width: 100%; +} + +.table-view-table > thead > tr, .table-view-table > tbody > tr { + margin-top: 1em; + margin-bottom: 1em; + text-align: left; +} + +.table-view-table > tbody > tr:hover { + background-color: var(--table-row-background-hover); +} + +.table-view-table > thead > tr > th { + font-weight: 700; + font-size: larger; + border-top: none; + border-left: none; + border-right: none; + border-bottom: solid; + + max-width: 100%; +} + +.table-view-table > tbody > tr > td { + text-align: left; + border: none; + font-weight: 400; + max-width: 100%; +} + +.table-view-table ul, .table-view-table ol { + margin-block-start: 0.2em !important; + margin-block-end: 0.2em !important; +} + +/** Rendered value styling for any view. */ +.dataview-result-list-root-ul { + padding: 0em !important; + margin: 0em !important; +} + +.dataview-result-list-ul { + margin-block-start: 0.2em !important; + margin-block-end: 0.2em !important; +} + +/** Generic grouping styling. */ +.dataview.result-group { + padding-left: 8px; +} + +/*******************/ +/** Inline Fields **/ +/*******************/ + +.dataview.inline-field-key { + padding-left: 8px; + padding-right: 8px; + font-family: var(--font-monospace); + background-color: var(--background-primary-alt); + color: var(--text-nav-selected); +} + +.dataview.inline-field-value { + padding-left: 8px; + padding-right: 8px; + font-family: var(--font-monospace); + background-color: var(--background-secondary-alt); + color: var(--text-nav-selected); +} + +.dataview.inline-field-standalone-value { + padding-left: 8px; + padding-right: 8px; + font-family: var(--font-monospace); + background-color: var(--background-secondary-alt); + color: var(--text-nav-selected); +} + +/***************/ +/** Task View **/ +/***************/ + +.dataview.task-list-item, .dataview.task-list-basic-item { + margin-top: 3px; + margin-bottom: 3px; + transition: 0.4s; +} + +.dataview.task-list-item:hover, .dataview.task-list-basic-item:hover { + background-color: var(--text-selection); + box-shadow: -40px 0 0 var(--text-selection); + cursor: pointer; +} + +/*****************/ +/** Error Views **/ +/*****************/ + +div.dataview-error-box { + width: 100%; + min-height: 150px; + display: flex; + align-items: center; + justify-content: center; + border: 4px dashed var(--background-secondary); +} + +.dataview-error-message { + color: var(--text-muted); + text-align: center; +} + +/*************************/ +/** Additional Metadata **/ +/*************************/ + +.dataview.small-text { + font-size: smaller; + color: var(--text-muted); + margin-left: 3px; +} + +.dataview.small-text::before { + content: "("; +} + +.dataview.small-text::after { + content: ")"; +} diff --git a/test-vault/.obsidian/workspace.json b/test-vault/.obsidian/workspace.json new file mode 100644 index 0000000..8f1c257 --- /dev/null +++ b/test-vault/.obsidian/workspace.json @@ -0,0 +1,159 @@ +{ + "main": { + "id": "3c638a1068db41e7", + "type": "split", + "children": [ + { + "id": "4f2666fbdad90e86", + "type": "tabs", + "children": [ + { + "id": "6caef7570c9803a9", + "type": "leaf", + "state": { + "type": "empty", + "state": {}, + "icon": "lucide-file", + "title": "New tab" + } + } + ] + } + ], + "direction": "vertical" + }, + "left": { + "id": "c7f462cf013ca2d8", + "type": "split", + "children": [ + { + "id": "bd75b74a92d0426c", + "type": "tabs", + "children": [ + { + "id": "eba726256694f006", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": { + "sortOrder": "alphabetical" + }, + "icon": "lucide-folder-closed", + "title": "Files" + } + }, + { + "id": "9e912e9a9af66e6e", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" + }, + "icon": "lucide-search", + "title": "Search" + } + }, + { + "id": "55d3e465d0965b6f", + "type": "leaf", + "state": { + "type": "bookmarks", + "state": {}, + "icon": "lucide-bookmark", + "title": "Bookmarks" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300 + }, + "right": { + "id": "7442e7ac9bfa270f", + "type": "split", + "children": [ + { + "id": "8ba8c0f09e8f3153", + "type": "tabs", + "children": [ + { + "id": "5bd3c230ce6b83bf", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-coming-in", + "title": "Backlinks" + } + }, + { + "id": "567ed678277e91a3", + "type": "leaf", + "state": { + "type": "outgoing-link", + "state": { + "linksCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-going-out", + "title": "Outgoing links" + } + }, + { + "id": "c6fd977eb86342c4", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true + }, + "icon": "lucide-tags", + "title": "Tags" + } + }, + { + "id": "0cae242de8dcf029", + "type": "leaf", + "state": { + "type": "outline", + "state": {}, + "icon": "lucide-list", + "title": "Outline" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300, + "collapsed": true + }, + "left-ribbon": { + "hiddenItems": { + "switcher:Open quick switcher": false, + "graph:Open graph view": false, + "canvas:Create new canvas": false, + "daily-notes:Open today's daily note": false, + "templates:Insert template": false, + "command-palette:Open command palette": false + } + }, + "active": "6caef7570c9803a9", + "lastOpenFiles": [] +} \ No newline at end of file