Compare commits
2 Commits
d95d12d324
...
b0e40e66a7
| Author | SHA1 | Date | |
|---|---|---|---|
| b0e40e66a7 | |||
| 0ab9fd495f |
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
# These are supported funding model platforms
|
# These are supported funding model platforms
|
||||||
|
|
||||||
github: [daniep01, krombel] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
github: [daniep01,krombel] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||||
patreon: # Replace with a single Patreon username
|
patreon: # Replace with a single Patreon username
|
||||||
open_collective: # Replace with a single Open Collective username
|
open_collective: # Replace with a single Open Collective username
|
||||||
ko_fi: # Replace with a single Ko-fi username
|
ko_fi: # Replace with a single Ko-fi username
|
||||||
|
|||||||
@@ -64,13 +64,9 @@ Presets are available for **Start Timer** and **Stop Timer**.
|
|||||||
|
|
||||||
### Version 2.1.0
|
### Version 2.1.0
|
||||||
|
|
||||||
- Rewrite module in typescript
|
- rewrite module in typescript
|
||||||
- Use module toggl-track instead of implementing api on our own
|
- use module toggl-track instead of implementing api on our own
|
||||||
- Add status reports for some failure cases in connections dashboard
|
- add status reports for some failure cases in connections dashboard
|
||||||
- Add configurable time entry poller
|
- add configurable time entry poller
|
||||||
- Add feedback for currently running project and client
|
- add feedback for currently running project and client
|
||||||
- Update timerDuration to contain the correct duration formatted as time string
|
- update timerDuration to contain the correct duration formatted as time string
|
||||||
|
|
||||||
### Version 2.1.1
|
|
||||||
|
|
||||||
- Prevent module crash if user has no Clients
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"name": "toggl-track",
|
"name": "toggl-track",
|
||||||
"shortname": "toggl-track",
|
"shortname": "toggl-track",
|
||||||
"description": "Companion module for toggltrack timers",
|
"description": "Companion module for toggltrack timers",
|
||||||
"version": "0.0.0",
|
"version": "2.0.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "git+https://github.com/bitfocus/companion-module-toggl-track.git",
|
"repository": "git+https://github.com/bitfocus/companion-module-toggl-track.git",
|
||||||
"bugs": "https://github.com/bitfocus/companion-module-toggl-track/issues",
|
"bugs": "https://github.com/bitfocus/companion-module-toggl-track/issues",
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
],
|
],
|
||||||
"legacyIds": [],
|
"legacyIds": [],
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"type": "node22",
|
"type": "node18",
|
||||||
"api": "nodejs-ipc",
|
"api": "nodejs-ipc",
|
||||||
"apiVersion": "0.0.0",
|
"apiVersion": "0.0.0",
|
||||||
"entrypoint": "../dist/main.js"
|
"entrypoint": "../dist/main.js"
|
||||||
|
|||||||
@@ -48,6 +48,5 @@
|
|||||||
"*.{ts,tsx,js,jsx}": [
|
"*.{ts,tsx,js,jsx}": [
|
||||||
"yarn lint:raw --fix"
|
"yarn lint:raw --fix"
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
"packageManager": "yarn@4.9.1"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ export class TogglTrack extends InstanceBase<ModuleConfig> {
|
|||||||
timerDuration: timecodeSince(new Date(entry.start)),
|
timerDuration: timecodeSince(new Date(entry.start)),
|
||||||
timerProject: project?.label,
|
timerProject: project?.label,
|
||||||
timerProjectID: entry.project_id,
|
timerProjectID: entry.project_id,
|
||||||
timerClient: this.clients?.find((c) => c.id == project?.clientID)?.label ?? 'None',
|
timerClient: this.clients!.find((c) => c.id == project?.clientID)?.label,
|
||||||
timerClientID: project?.clientID,
|
timerClientID: project?.clientID,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user