Skip to content

Commit

Permalink
Merge tag '0.2.1'
Browse files Browse the repository at this point in the history
0.2.1
  • Loading branch information
matthewturk committed Feb 20, 2024
2 parents f86e0ca + ff1826d commit 21d946c
Show file tree
Hide file tree
Showing 18 changed files with 786 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "contextual-sidecar",
"name": "Contextual Sidecar",
"description": "A plugin that enables context-dependent sidecar panels in Obsidian.",
"description": "Add a context-dependent sidecar panel.",
"author": "Matthew Turk",
"authorUrl": "https://matthewturk.github.io/",
"version": "0.1.5",
"version": "0.2.1",
"minAppVersion": "0.15.0",
"isDesktopOnly": false
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sidecar-panel",
"private": true,
"version": "0.1.5",
"version": "0.2.1",
"main": "main.js",
"type": "module",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion public/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"0.1.2": "0.15.0",
"0.1.3": "0.15.0",
"0.1.4": "0.15.0",
"0.1.5": "0.15.0"
"0.1.5": "0.15.0",
"0.2.0": "0.15.0",
"0.2.1": "0.15.0"
}
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ class ContextualSidecarPanelSettingTab extends PluginSettingTab {

// Some of this logic was inspired by the bwydoogh/obsidian-force-view-mode-of-note plugin.

new Setting(this.containerEl).setDesc(
"Specify a sidecar panel for all files with a given tag. These will be applied in order."
);
new Setting(this.containerEl)
.setDesc("Add new tag map")
.addButton((button) => {
Expand All @@ -101,7 +104,6 @@ class ContextualSidecarPanelSettingTab extends PluginSettingTab {

this.plugin.settings.tagMaps.forEach(({ tag, panel }, index) => {
const div = containerEl.createEl("div");

const s = new Setting(this.containerEl)
.addSearch((cb) => {
cb.setPlaceholder("Example: #daily-note")
Expand Down
4 changes: 3 additions & 1 deletion test-vault/.obsidian/community-plugins.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[
"obsidian-svelte-plugin",
"hot-reload"
"hot-reload",
"contextual-sidecar",
"obsidian-meta-bind-plugin"
]
23 changes: 23 additions & 0 deletions test-vault/.obsidian/plugins/obsidian-meta-bind-plugin/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"devMode": false,
"ignoreCodeBlockRestrictions": false,
"preferredDateFormat": "YYYY-MM-DD",
"useUsDateInputOrder": false,
"firstWeekday": {
"index": 1,
"name": "Monday",
"shortName": "Mo"
},
"syncInterval": 200,
"minSyncInterval": 50,
"maxSyncInterval": 1000,
"enableJs": false,
"viewFieldDisplayNullAsEmpty": false,
"enableSyntaxHighlighting": true,
"enableEditorRightClickMenu": true,
"inputFieldTemplates": [],
"buttonTemplates": [],
"excludedFolders": [
"templates"
]
}
144 changes: 144 additions & 0 deletions test-vault/.obsidian/plugins/obsidian-meta-bind-plugin/main.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "obsidian-meta-bind-plugin",
"name": "Meta Bind",
"version": "0.12.3",
"minAppVersion": "1.4.0",
"description": "Make your notes interactive with inline input fields, metadata displays, and buttons.",
"author": "Moritz Jung",
"authorUrl": "https://mprojectscode.github.io/",
"helpUrl": "https://www.moritzjung.dev/obsidian-meta-bind-plugin-docs/",
"isDesktopOnly": false
}
Loading

0 comments on commit 21d946c

Please sign in to comment.