Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit b3b121f

Browse files
committed
new minor version
1 parent f289836 commit b3b121f

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

docs/docs/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 2.3.5
2+
*Published on 2022/09/05*
3+
### Shiny new things
4+
- New command & ribbon icon to generate a new database with a helpful wizard to guide you through the process [ISSUE#126](https://github.com/RafaelGB/obsidian-db-folder/issues/126)
5+
### No longer broken
6+
- Problem with saving query on yaml solved [ISSUE#325](https://github.com/RafaelGB/obsidian-db-folder/issues/325)
17
# 2.3.4
28
*Published on 2022/09/04*
39
### Improved

manifest-beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "dbfolder",
33
"name": "DB Folder",
4-
"version": "2.3.4",
4+
"version": "2.3.5",
55
"minAppVersion": "0.15.9",
66
"description": "Folder with the capability to store and retrieve data from a folder like database",
77
"author": "RafaelGB",

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "dbfolder",
33
"name": "DB Folder",
4-
"version": "2.3.4",
4+
"version": "2.3.5",
55
"minAppVersion": "0.15.9",
66
"description": "Folder with the capability to store and retrieve data from a folder like database",
77
"author": "RafaelGB",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-dbfolder",
3-
"version": "2.3.4",
3+
"version": "2.3.5",
44
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
55
"main": "main.js",
66
"scripts": {

src/commands/addDatabaseHelper/databaseHelperCreationModal.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ export class DatabaseHelperCreationModalManager {
132132
async createButtonHandler() {
133133
try {
134134
const targetFolder = resolve_tfolder(this.destinationFolder);
135+
this.databaseHelperCreationModal.local_settings.source_form_result = this.parseValueToThuthyYaml(
136+
this.databaseHelperCreationModal.local_settings.source_form_result
137+
);
135138
await generateNewDatabase(
136139
generateDbConfiguration(this.databaseHelperCreationModal.local_settings),
137140
targetFolder,
@@ -174,7 +177,7 @@ export class DatabaseHelperCreationModalManager {
174177
queryHandler(containerEl: HTMLElement) {
175178
const query_promise = async (value: string): Promise<void> => {
176179
// update settings
177-
this.databaseHelperCreationModal.local_settings.source_form_result = this.parseValueToThuthyYaml(value);
180+
this.databaseHelperCreationModal.local_settings.source_form_result = value;
178181
};
179182
new Setting(containerEl)
180183
.setName('Dataview query')
@@ -191,7 +194,7 @@ export class DatabaseHelperCreationModalManager {
191194
[],
192195
this.databaseHelperCreationModal.local_settings.source_form_result);
193196
if (query) {
194-
DataviewService.getDataviewAPI().tryQuery(query)
197+
DataviewService.getDataviewAPI().tryQuery(query.replace('TABLE ,', 'TABLE '))
195198
.then(() => {
196199
new Notice(`Dataview query "${query}" is valid!`, 2000);
197200
})

0 commit comments

Comments
 (0)