Compare commits
3 Commits
b0e40e66a7
...
d95d12d324
| Author | SHA1 | Date | |
|---|---|---|---|
| d95d12d324 | |||
| 084b27f945 | |||
|
|
2f9fa1cb0b |
@@ -64,9 +64,13 @@ Presets are available for **Start Timer** and **Stop Timer**.
|
||||
|
||||
### Version 2.1.0
|
||||
|
||||
- rewrite module in typescript
|
||||
- use module toggl-track instead of implementing api on our own
|
||||
- add status reports for some failure cases in connections dashboard
|
||||
- add configurable time entry poller
|
||||
- add feedback for currently running project and client
|
||||
- update timerDuration to contain the correct duration formatted as time string
|
||||
- Rewrite module in typescript
|
||||
- Use module toggl-track instead of implementing api on our own
|
||||
- Add status reports for some failure cases in connections dashboard
|
||||
- Add configurable time entry poller
|
||||
- Add feedback for currently running project and client
|
||||
- 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",
|
||||
"shortname": "toggl-track",
|
||||
"description": "Companion module for toggltrack timers",
|
||||
"version": "2.0.1",
|
||||
"version": "0.0.0",
|
||||
"license": "MIT",
|
||||
"repository": "git+https://github.com/bitfocus/companion-module-toggl-track.git",
|
||||
"bugs": "https://github.com/bitfocus/companion-module-toggl-track/issues",
|
||||
@@ -17,7 +17,7 @@
|
||||
],
|
||||
"legacyIds": [],
|
||||
"runtime": {
|
||||
"type": "node18",
|
||||
"type": "node22",
|
||||
"api": "nodejs-ipc",
|
||||
"apiVersion": "0.0.0",
|
||||
"entrypoint": "../dist/main.js"
|
||||
|
||||
@@ -48,5 +48,6 @@
|
||||
"*.{ts,tsx,js,jsx}": [
|
||||
"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)),
|
||||
timerProject: project?.label,
|
||||
timerProjectID: entry.project_id,
|
||||
timerClient: this.clients!.find((c) => c.id == project?.clientID)?.label,
|
||||
timerClient: this.clients?.find((c) => c.id == project?.clientID)?.label ?? 'None',
|
||||
timerClientID: project?.clientID,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user