mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
fix: fixed issue with CSV files edits not being properly saved
This commit is contained in:
parent
b5cbfcee93
commit
6c349c6020
6 changed files with 11 additions and 5 deletions
|
|
@ -1,3 +1,6 @@
|
|||
# 0.35.0 (2025-05-02)
|
||||
- fix: fixed issue with CSV files edits not being saved
|
||||
|
||||
# 0.34.0 (2025-04-30)
|
||||
- feat: you can now navigate to linked CSV and JSON file sources
|
||||
- feat: improved support for minimal theme custom classes
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "sqlseal",
|
||||
"name": "SQLSeal",
|
||||
"version": "0.34.0",
|
||||
"version": "0.35.0",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Use SQL in your notes to query your vault files and CSV content.",
|
||||
"author": "hypersphere",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "sqlseal",
|
||||
"version": "0.34.0",
|
||||
"version": "0.35.0",
|
||||
"description": "A plugin for Obsidian that allows you to run SQL queries on your notes.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -93,8 +93,6 @@ export class SQLSealViewPlugin implements PluginValue {
|
|||
contentStart + dec.end
|
||||
);
|
||||
|
||||
console.log('FOUND FILENAME', filePath)
|
||||
|
||||
// Create widget decoration for the filename
|
||||
const widget = new FilePathWidget(filePath, this.app);
|
||||
builder.push(Decoration.replace({
|
||||
|
|
|
|||
|
|
@ -206,6 +206,10 @@ export class CSVView extends TextFileView {
|
|||
const api = grid.render({
|
||||
defaultColDef: {
|
||||
editable: this.enableEditing,
|
||||
valueSetter: (e) => {
|
||||
e.data[e.column.getUserProvidedColDef()?.headerName!] = e.newValue
|
||||
return e.newValue
|
||||
},
|
||||
headerComponentParams: {
|
||||
enableMenu: this.enableEditing,
|
||||
showColumnMenu: function (e: any) {
|
||||
|
|
|
|||
|
|
@ -60,5 +60,6 @@
|
|||
"0.31.0": "0.15.0",
|
||||
"0.32.0": "0.15.0",
|
||||
"0.33.0": "0.15.0",
|
||||
"0.34.0": "0.15.0"
|
||||
"0.34.0": "0.15.0",
|
||||
"0.35.0": "0.15.0"
|
||||
}
|
||||
Loading…
Reference in a new issue