-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New feature "Use @ Todoist labels for difficulty" #56
Comments
radeklat
added a commit
that referenced
this issue
Dec 21, 2024
Related to #56 Add support for using @ Todoist labels for difficulty instead of p1 p2 p3 p4. * **src/config.py** - Add `label_to_difficulty` field in `Settings` class to map Todoist labels to Habitica difficulties. - Add validation and transformation logic for `label_to_difficulty` field. * **README.md** - Add instructions on how to use @ Todoist labels for difficulty. - Update the "Planned work" section to reflect the new feature. * **src/main.py** - Modify `TasksSync` class to check for Todoist labels and map them to Habitica difficulties using the new `label_to_difficulty` field. - Add `_get_task_difficulty` method to prioritize `label_to_difficulty` over `priority_to_difficulty`. * **tests/unit/test_config.py** - Add tests to verify the new functionality of using @ Todoist labels for difficulty. - Update existing tests to ensure compatibility with the new `label_to_difficulty` field. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/radeklat/todoist-habitica-sync/issues/56?shareId=XXXX-XXXX-XXXX-XXXX).
Hello @danbo-ark. I'm not using Habitca actively at the moment and this tool is now more in a maintenance mode. But I still consider it active. I added the requested feature in 3.4.0. You need to define which Todoist labels map to which Habitica difficulties with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Radeklat,
I love Habitica and your Todoist tool. Are you still developing it? The function "Use @ Todoist labels for difficulty" would be awesome ... I don't get on so well with p1 p2 p3 p4.
Best regards
Danbo
The text was updated successfully, but these errors were encountered: