feat(/bounty): add pagination, sorting, and filtering #62
Reference in New Issue
Block a user
Delete Branch "fix/issue-48-bounty-pagination"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements pagination, sorting, and filtering for the
/bountycommand.Changes
Pagination
/bounty 10- show 10 bounties/bounty all- show all active (exclude overdue >24h)/bounty all 10- show 10 including expiredFiltering
allflag includes overdue bountiesSorting
due_date_ts(earliest first)created_atOutput Format
Fixes #48
@@ -63,3 +66,3 @@parts.append(f"⏰ {due_str} (OVERDUE)")elif days_left == 0:parts.append(f"⏰ {due_str} (TODAY)")parts.append(f"⏰ Today (OVERDUE)")I'd like to change the format
is that makes sense? OVERDUE is for the past. also make the sliced description longer, lets try 60 characters
change the output format