Skip to content

Several fixes and new features towards v0.4.0#6

Merged
matagus merged 9 commits intomainfrom
bugfixes-and-ux-improvements
Mar 26, 2026
Merged

Several fixes and new features towards v0.4.0#6
matagus merged 9 commits intomainfrom
bugfixes-and-ux-improvements

Conversation

@matagus
Copy link
Copy Markdown
Owner

@matagus matagus commented Mar 25, 2026

No description provided.

matagus added 8 commits March 26, 2026 01:08
 - Use single-task API endpoint (GET /task/{id}?include_subtasks=true) instead of team-wide fetch, which excluded subtasks
 - Handle missing url and description fields (single-task endpoint differs from list endpoint)
 - Render subtasks grouped by status with same format, colors, and fields as list view
 - Update tests to reflect new API call and subtask dict format
 - B904 (api_client.py) — Added from err or from None to all raise statements inside except clauses
 - SIM102 (api_client.py) — Combined nested if len(...) > 1: if interactive: into if len(...) > 1 and interactive: for spaces, projects, and lists
 - PLC0415 (cache.py) — Moved from pyclickup.models import Task, from colorist import Effect, and from pyclickup import ClickUp to module top-level
 - PLC0415 (main.py) — Moved maybe_warmup and ClickupyError into existing top-level imports; removed inline imports inside functions
 - SIM108 (main.py) — Replaced two if/else blocks with ternary operators
 - PLC0415 (renderer.py) — Removed redundant from collections import defaultdict (already imported at top)
 - SIM108 (renderer.py) — Converted due_date if/else to ternary
 - E501 (renderer.py) — Split long f-string across two lines
 - PLC0415 (tests/) — Moved import shutil and import sys to top-level; removed duplicate in-method imports of already-imported ClickupyError and pytest
 - B017 (test_sprint.py) — Replaced pytest.raises(Exception) with the specific pytest.raises(ListNotFoundError)
- Add `quickup login` and `quickup logout` commands for browser-based OAuth auth
- Store token securely in `~/.quickup/auth.json` (0o600 permissions)
- Fall back to OAuth token when no env/`.env` token is set
- Update README, quickstart, installation, commands, features, troubleshooting, and API docs
 - New quickup comment <task_id> command with --text flag or stdin support
 - Optional --notify-all flag to notify task watchers
 - Comment text truncated at 80 chars in confirmation output
 - Uses ClickUp API v2 directly (v1-incompatible endpoint)
 - Comprehensive tests and documentation
 - Add --comments flag to show_task() fetching comments via ClickUp API v2
 - Add render_task_comments() renderer showing author, date, and text per comment
 - Add tests covering flag behavior, empty list, API errors, and no-fetch without flag
 - Update README and docs with new option and examples
@matagus matagus force-pushed the bugfixes-and-ux-improvements branch from d349281 to d8e2064 Compare March 26, 2026 01:35
@matagus matagus changed the title Fix sprint command to use date range instead of status string Several fixes and new features Mar 26, 2026
@matagus matagus changed the title Several fixes and new features Several fixes and new features towards v0.4.0 Mar 26, 2026
@matagus matagus merged commit abc0c9b into main Mar 26, 2026
7 checks passed
@matagus matagus deleted the bugfixes-and-ux-improvements branch March 26, 2026 01:57
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