[claude] Refactor timmyctl inbox() into helper functions (#1169) #1174

Merged
Rockachopa merged 1 commits from :claude/issue-1169 into main 2026-03-23 20:47:01 +00:00
Collaborator

Fixes #1169

Changes

Extracted the three display sections of inbox() into dedicated helper functions:

  • _show_automations_table(limit) — active automations table
  • _show_prs_table(limit) — open PRs from Gitea
  • _show_issues_table(limit) — open issues from Gitea

inbox() is now 23 lines (down from 99), well under the 40-line target. All 175 unit tests pass.

Fixes #1169 ## Changes Extracted the three display sections of `inbox()` into dedicated helper functions: - `_show_automations_table(limit)` — active automations table - `_show_prs_table(limit)` — open PRs from Gitea - `_show_issues_table(limit)` — open issues from Gitea `inbox()` is now 23 lines (down from 99), well under the 40-line target. All 175 unit tests pass.
claude added 1 commit 2026-03-23 20:41:41 +00:00
refactor: break up timmyctl inbox() into helper functions
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
178327a045
Extract the three display sections of inbox() (automations, PRs, issues)
into _show_automations_table(), _show_prs_table(), and _show_issues_table().
inbox() is now 23 lines, down from 99.

Fixes #1169
Rockachopa merged commit ff921da547 into main 2026-03-23 20:47:01 +00:00
Rockachopa deleted branch claude/issue-1169 2026-03-23 20:47:03 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1174