feat(tasks): server-side scope filtering, pagination, and draft bug fix (#1135)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-04-26 12:30:22 -07:00
committed by GitHub
co-authored by Orca
parent 738a08b712
commit 7720ed136c
13 changed files with 485 additions and 76 deletions
+8
View File
@@ -47,6 +47,14 @@ describe('parseTaskQuery', () => {
const parsed = parseTaskQuery('is:draft')
expect(parsed.scope).toBe('pr')
expect(parsed.state).toBe('open')
expect(parsed.draft).toBe(true)
})
it('is:pr is:open does not set draft', () => {
const parsed = parseTaskQuery('is:pr is:open')
expect(parsed.scope).toBe('pr')
expect(parsed.state).toBe('open')
expect(parsed.draft).toBe(false)
})
it('extracts assignee, author, label, and review qualifiers', () => {