GothenburgBitFactory / GothenburgBitFactory/timewarrior

Extension API: add used range / hints to temp

Open
#735 28 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.7k
Forks
117
Avg merge
1d 7h
Merged PRs (30d)
5

Description

When using the extension API (https://timewarrior.net/docs/api/), the config currently contains

```py
'temp.config': '...',
'temp.db': '...',
'temp.extensions': '...',
'temp.report.end': '...',
'temp.report.start': '...',
'temp.report.tags': '...',
'temp.version': '1.9.1',
```

when accessed via `TimeWarriorParser(sys.stdin).get_config().get_dict()

it would be helpful to also have

- `temp.report.hints`
- `temp.report.range`

Contributor guide

Open the contributing guide

Research direction

Start with the extension API documentation and the TimeWarriorParser(sys.stdin).get_config().get_dict() entry point mentioned in the issue. Trace how the existing temp.config, temp.db, and temp.report fields are populated, then verify that temp.report.hints and temp.report.range are exposed with the expected values.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
api, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.