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

Commit 6aee988

Browse files
committed
new mayor version
1 parent 1140404 commit 6aee988

File tree

6 files changed

+20
-17
lines changed

6 files changed

+20
-17
lines changed

docs/docs/changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
## 2.7.0
22
### Shiny new things
3-
- Nested subfolders rules [ISSUE#431](https://github.com/RafaelGB/obsidian-db-folder/issues/431)
4-
- Group filters are now available. You can now filter per condition (AND/OR) This is a huhe improvement for the user experience. Those groups could be enabled/disabled easily [ISSUE#268](https://github.com/RafaelGB/obsidian-db-folder/issues/268) [ycnmhd](https://github.com/ycnmhd)
3+
- Group filters are now available. You can now filter per condition (AND/OR) This is a huhe improvement for the user experience. Those groups could be enabled/disabled easily [ISSUE#268](https://github.com/RafaelGB/obsidian-db-folder/issues/268)
4+
- Nested subfolders rules improvement! Use your select column types to create your subdolders with the deep that you need [ISSUE#431](https://github.com/RafaelGB/obsidian-db-folder/issues/431) [ycnmhd](https://github.com/ycnmhd)
55
- new options of nested subfolders to remove automatically empty folders and move all the rows in function of you configuration [ISSUE#183](https://github.com/RafaelGB/obsidian-db-folder/issues/183) [ycnmhd](https://github.com/ycnmhd)
66
- Improving add column UX [ISSUE#267](https://github.com/RafaelGB/obsidian-db-folder/issues/267)
77
- Improving select tag UX [ISSUE#408](https://github.com/RafaelGB/obsidian-db-folder/issues/408)
8+
### Improved
9+
- new option for enable/disble load js formulas on init [ISSUE#457](https://github.com/RafaelGB/obsidian-db-folder/issues/457)
810
### Visual
911
- flex-wrap for tags [GaboCapo](https://github.com/GaboCapo)
1012
### No longer broken

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.6.7",
4+
"version": "2.7.0",
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.6.7",
4+
"version": "2.7.0",
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.6.7",
3+
"version": "2.7.0",
44
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
55
"main": "main.js",
66
"scripts": {

src/components/NavBar.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,16 @@ export function NavBar(navBarProps: NavBarProps) {
143143
<ToggleFiltersButton table={table} />
144144
<EditFiltersButton table={table} />
145145
</Paper>
146-
<QuickFilters table={table} />
146+
147+
<Box
148+
sx={{
149+
overflowX: "auto",
150+
display: "flex",
151+
padding: { xs: "0", md: "5px" },
152+
}}
153+
>
154+
<QuickFilters table={table} />
155+
</Box>
147156
<Box sx={{ flexGrow: 1 }} />
148157
<Box
149158
justifyContent={"flex-start"}

src/components/reducers/QuickFilters.tsx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,8 @@ const QuickFilters = (props: DataviewFiltersProps) => {
3131
);
3232
};
3333

34-
return (
35-
<Stack
36-
direction="row"
37-
spacing={1}
38-
style={{
39-
display: "flex",
40-
overflowX: "scroll",
41-
padding: "5px",
42-
}}
43-
>
34+
return filters.conditions.length > 0 ? (
35+
<Stack direction="row" spacing={1}>
4436
{filters.conditions.map((condition, filterIndex) => {
4537
if ((condition as FilterGroupCondition).condition) {
4638
const label = (condition as FilterGroupCondition).label;
@@ -62,7 +54,7 @@ const QuickFilters = (props: DataviewFiltersProps) => {
6254
}
6355
})}
6456
</Stack>
65-
);
57+
) : null;
6658
};
6759

6860
export default QuickFilters;

0 commit comments

Comments
 (0)