Expose named project statuses and support status filtering - #62
Open
FelixLisczyk wants to merge 2 commits into
Open
Expose named project statuses and support status filtering#62FelixLisczyk wants to merge 2 commits into
FelixLisczyk wants to merge 2 commits into
Conversation
Expose project status names alongside the deprecated state type so CLI users can distinguish statuses such as In Progress and On Hold. Add server-side status filtering, compatibility rendering, mutation result support, and focused tests across the client, service, CLI, and formatters.\n\nCo-Authored-By: Claude <noreply@anthropic.com>
Validate explicit empty status filters before dispatch and paginate user project queries so assignee matching happens before the visible limit. Narrow project service seams and add client, service, CLI, and mutation compatibility coverage. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Project responses currently expose only Linear’s deprecated scalar
statefield, which represents the status type rather than the named status. As a result, projects such asIn ProgressandOn Hold—both of which may have typestarted—cannot be distinguished.The CLI also does not support filtering project lists by named status.
Changes
This PR:
statusobject withid,name, andtype.stateas a backward-compatible alias for the status type.--statusfiltering tolinear projects list.--limit.--mineproject lists.--statemutation behavior.Example:
Testing
--mineservice/CLI coverage.statefallback tests.