Skip to content

Commit d2bcc33

Browse files
committed
Added test cases for Tray, cleaned up filtering, refined frontend, added icons for creation and completion dates in todo list, fixed bug
1 parent efed8e3 commit d2bcc33

27 files changed

+510
-114
lines changed

electron.vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ export default defineConfig({
1313
}
1414
},
1515
plugins: [react()]
16-
}
16+
},
1717
})

flatpak/com.github.ransome1.sleek.appdata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<developer_name>ransome1</developer_name>
1010
<content_rating type="oars-1.1"/>
1111
<releases>
12-
<release version="2.0.16" date="2025-01-18"/>
12+
<release version="2.0.19" date="2025-03-05"/>
1313
</releases>
1414
<url type="homepage">https://github.com/ransome1/sleek</url>
1515
<url type="contact">https://github.com/ransome1/sleek/issues</url>

package-lock.json

Lines changed: 221 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sleek",
33
"productName": "sleek",
4-
"version": "2.0.19-rc.2",
4+
"version": "2.0.19-rc.3",
55
"description": "todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)",
66
"synopsis": "todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)",
77
"keywords": [
@@ -35,6 +35,7 @@
3535
"start": "electron-vite preview",
3636
"dev": "electron-vite dev --watch",
3737
"test": "vitest",
38+
"coverage": "vitest run --coverage",
3839
"build": "npm run peggy && electron-vite build",
3940
"build:unpack": "npm run build && electron-builder --dir",
4041
"build:mas": "npm run build && electron-builder build -m mas --universal --publish never",
File renamed without changes.

resources/trayDarkTemplate.ico

-166 KB
Binary file not shown.

resources/trayLightTemplate.ico

-165 KB
Binary file not shown.

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: sleek
22
base: core24
3-
version: '2.0.18'
3+
version: '2.0.19'
44
summary: todo.txt manager for Linux, free and open-source (FOSS)
55
description: |
66
sleek is an open-source (FOSS) todo manager based on the todo.txt syntax. Stripped down to only the most necessary features, and with a clean and simple interface, sleek aims to help you focus on getting things done.

src/main/DataRequest/DataRequest.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ const headers: HeadersObject = {
1616
}
1717
let todoObjects: TodoObject[]
1818

19-
function dataRequest(search: string = ''): RequestedData {
19+
function dataRequest(passedSearchString: string = ''): RequestedData {
20+
21+
searchString = passedSearchString
2022

2123
const activeFile: FileObject | null = getActiveFile()
2224
if (!activeFile) {
@@ -49,7 +51,7 @@ function dataRequest(search: string = ''): RequestedData {
4951

5052
if (filters) todoObjects = applyAttributes(todoObjects, filters)
5153

52-
if (search) todoObjects = applySearchString(search, todoObjects)
54+
if (searchString) todoObjects = applySearchString(searchString, todoObjects)
5355

5456
updateAttributes(todoObjects, sorting, false)
5557

0 commit comments

Comments
 (0)