Skip to content

feat(fetcher): add todoist_tasks with structured filters - #149

Merged
unhappychoice merged 3 commits into
mainfrom
feat/todoist-tasks-fetcher
Apr 26, 2026
Merged

unhappychoice merged 3 commits into
mainfrom
feat/todoist-tasks-fetcher

Conversation

@unhappychoice

Copy link
Copy Markdown
Owner

Summary

  • add a new cached todoist_tasks fetcher that targets Todoist API v1 (/tasks and /tasks/filter) and supports Text / TextBlock / Entries / Timeline / Badge output shapes
  • introduce structured filter options (filter_due, filter_include_overdue, filter_projects, filter_labels, filter_priorities) and compose them into Todoist query syntax without requiring raw query strings
  • register the new fetcher in the builtin registry and include parser/filter/render helper tests for due-window handling, clause composition, and badge/status behavior

Test plan

  • cargo check

Catalog

Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]

Add a single Todoist fetcher that builds query filters from typed options for due window, projects, labels, and priorities while supporting multiple output shapes.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Apr 26, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@unhappychoice has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 48 minutes and 53 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 48 minutes and 53 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c82835b7-8357-480c-9e77-10eb9adbe403

📥 Commits

Reviewing files that changed from the base of the PR and between 721b5f1 and 4992aa7.

📒 Files selected for processing (2)
  • src/fetcher/mod.rs
  • src/fetcher/todoist.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/todoist-tasks-fetcher

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Apr 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.98039% with 200 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.16%. Comparing base (721b5f1) to head (4992aa7).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/fetcher/todoist.rs 50.61% 200 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
- Coverage   78.72%   78.16%   -0.57%     
==========================================
  Files         105      106       +1     
  Lines       19775    20183     +408     
==========================================
+ Hits        15568    15776     +208     
- Misses       4207     4407     +200     
Files with missing lines Coverage Δ
src/fetcher/mod.rs 82.78% <100.00%> (+0.17%) ⬆️
src/fetcher/todoist.rs 50.61% <50.61%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@unhappychoice
unhappychoice merged commit 5174c07 into main Apr 26, 2026
7 checks passed
@unhappychoice
unhappychoice deleted the feat/todoist-tasks-fetcher branch April 26, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant