mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
fix: fixing issue with columns with dots not rendering properly in grid view
This commit is contained in:
parent
ed337f2232
commit
b2ff3d5985
5 changed files with 16 additions and 4 deletions
|
|
@ -1,3 +1,11 @@
|
|||
# 0.31.0 (2025-04-02)
|
||||
- feat: added text rendering for links, images and checkboxes (for MARKDOWN renderer)
|
||||
- fix: fixed issue with rendering numbers
|
||||
- fix: fixed how grid renders columns - now they automatically match content and don't truncate the text
|
||||
- fix: grid resizing now works better when switching tabs, resizing obsidian, etc.
|
||||
- fix: columns with dots in the name render properly in grid view
|
||||
- chore: now external plugins can use cellRenderer from the main plugin
|
||||
|
||||
# 0.31.0 (2025-03-31)
|
||||
- feat: TEMPLATE renderer can now use checkboxes, links and images like other views.
|
||||
# 0.30.1 (2025-03-27)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "sqlseal",
|
||||
"name": "SQLSeal",
|
||||
"version": "0.31.0",
|
||||
"version": "0.32.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.31.0",
|
||||
"version": "0.32.0",
|
||||
"description": "A plugin for Obsidian that allows you to run SQL queries on your notes.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -134,7 +134,10 @@ class GridRendererCommunicator {
|
|||
if (!this.gridApi) {
|
||||
throw new Error('Grid has not been initiated')
|
||||
}
|
||||
this.gridApi.setGridOption('columnDefs', columns.map((c: any) => ({ field: c })))
|
||||
this.gridApi.setGridOption('columnDefs', columns.map((c: any) => ({
|
||||
headerName: c,
|
||||
valueGetter: (params) => params.data[c]
|
||||
})))
|
||||
this.gridApi.setGridOption('rowData', data)
|
||||
this.gridApi.setGridOption('loading', false)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,5 +57,6 @@
|
|||
"0.29.0": "0.15.0",
|
||||
"0.30.0": "0.15.0",
|
||||
"0.30.1": "0.15.0",
|
||||
"0.31.0": "0.15.0"
|
||||
"0.31.0": "0.15.0",
|
||||
"0.32.0": "0.15.0"
|
||||
}
|
||||
Loading…
Reference in a new issue