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

Commit 104d625

Browse files
committed
defining config
1 parent d9200a8 commit 104d625

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

docs/docs/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 2.6.1
2+
- hotfix of global settings and a partial regresion of [ISSUE#375](https://github.com/RafaelGB/obsidian-db-folder/issues/375) cause some columns could not be shown
13
## 2.6.0
24
### Shiny new things
35
- New column type: `Formulas`! You can configure you own formula inside the column settings. Check our documentation for more details [here](https://rafaelgb.github.io/obsidian-db-folder/features/Formulas/) [ISSUE#49](https://github.com/RafaelGB/obsidian-db-folder/issues/49)

src/cdm/SettingsModel.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ export interface LocalSettings {
3939
sticky_first_column: boolean;
4040
row_templates_folder: string;
4141
formula_folder_path: string;
42+
inline_default: boolean;
43+
inline_new_position: string;
4244
}
4345

4446
export interface FilterSettings {

src/helpers/Constants.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,11 @@ export const YAML_INDENT = Object.freeze(" ");
323323
/******************************************************************************
324324
* SETTINGS CONSTANTS
325325
******************************************************************************/
326+
export const INLINE_POSITION = Object.freeze({
327+
TOP: 'top',
328+
BOTTOM: 'bottom',
329+
});
330+
326331
export const DEFAULT_SETTINGS: DatabaseSettings = {
327332
global_settings: {
328333
enable_debug_mode: false,
@@ -354,6 +359,8 @@ export const DEFAULT_SETTINGS: DatabaseSettings = {
354359
current_row_template: '',
355360
pagination_size: 10,
356361
formula_folder_path: '/',
362+
inline_default: false,
363+
inline_new_position: INLINE_POSITION.TOP,
357364
}
358365
};
359366
/******************************************************************************

0 commit comments

Comments
 (0)