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

Commit 06f664a

Browse files
committed
textarea formula bigger
1 parent 474d2a9 commit 06f664a

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@
2828
"@testing-library/react": "13.4.0",
2929
"@types/jest": "29.2.0",
3030
"@types/luxon": "3.0.2",
31-
"@types/node": "18.11.4",
32-
"@types/react": "18.0.21",
31+
"@types/node": "18.11.7",
32+
"@types/react": "18.0.24",
3333
"@types/react-csv": "1.1.3",
3434
"@types/react-datepicker": "4.4.2",
35-
"@types/react-dom": "18.0.6",
35+
"@types/react-dom": "18.0.8",
3636
"@types/react-window": "1.8.5",
37-
"@typescript-eslint/eslint-plugin": "5.40.1",
38-
"@typescript-eslint/parser": "5.40.1",
39-
"eslint": "8.25.0",
40-
"jest": "29.2.1",
37+
"@typescript-eslint/eslint-plugin": "5.41.0",
38+
"@typescript-eslint/parser": "5.41.0",
39+
"eslint": "8.26.0",
40+
"jest": "29.2.2",
4141
"jest-mock-extended": "3.0.1",
4242
"obsidian": "0.16.3",
4343
"rollup": "2.79.1",
@@ -48,12 +48,12 @@
4848
"typescript": "4.8.4"
4949
},
5050
"dependencies": {
51-
"@emotion/styled": "11.10.4",
51+
"@emotion/styled": "11.10.5",
5252
"@mui/icons-material": "5.10.9",
53-
"@mui/material": "5.10.10",
53+
"@mui/material": "5.10.11",
5454
"@popperjs/core": "2.11.6",
5555
"@tanstack/match-sorter-utils": "8.5.14",
56-
"@tanstack/react-table": "8.5.15",
56+
"@tanstack/react-table": "8.5.21",
5757
"eventemitter3": "4.0.7",
5858
"fuse.js": "6.6.2",
5959
"luxon": "3.0.4",
@@ -64,7 +64,7 @@
6464
"react-datepicker": "4.8.0",
6565
"react-dom": "18.2.0",
6666
"react-popper": "2.3.0",
67-
"react-select": "5.5.4",
67+
"react-select": "5.5.7",
6868
"react-window": "1.8.7",
6969
"zustand": "4.1.3"
7070
}

src/components/modals/columnSettings/handlers/automations/FormulaInputHandler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export class FormulaInputHandler extends AbstractHandlerClass<ColumnSettingsHand
4040
textArea.setValue(config.formula_query);
4141
textArea.setPlaceholder('Write here your formula');
4242
textArea.onChange(formula_promise);
43+
// style textarea to be bigger
44+
textArea.inputEl.setAttribute('style', 'width: 25rem; height: 10rem;');
4345
});
4446
const mainDesc = containerEl.createEl('p');
4547

src/services/ParseService.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class Parse {
5959
break;
6060
case InputType.TASK:
6161
case InputType.FORMULA:
62+
case InputType.ROLLUP:
6263
case InputType.INLINKS:
6364
case InputType.OUTLINKS:
6465
// Do nothing
@@ -185,6 +186,8 @@ class Parse {
185186
// nested metadata exposed as DataObject
186187
return wrapped.value;
187188
}
189+
case 'link':
190+
return wrapped.value.markdown()
188191
// Else go to default
189192
default:
190193
return DataviewService.getDataviewAPI().value.toString(wrapped.value);

0 commit comments

Comments
 (0)