gallery icon indicating copy to clipboard operation
gallery copied to clipboard

Added support for searching projects

Open pcodding opened this issue 9 months ago • 1 comments

Description

Added a new search_projects action to the Linear Action Package that enables searching for projects by name, team, and initiative. This feature enhances the package's capabilities by providing project management functionality alongside the existing issue management features.

Key additions include:

  • New search_projects action with filtering capabilities
  • Project-related models for type safety and validation
  • Proper handling of empty string inputs
  • Post-query filtering for team names due to Linear API limitations

How can (was) this tested?

The following test scenarios were implemented:

  • [x] Search projects by name
  • [x] Search projects by team name (post-query filtering)
  • [x] Search projects by initiative
  • [x] Test empty string handling in filter options
  • [x] Test pagination limits
  • [x] Test ordering (createdAt, updatedAt)

Test using the example inputs in devdata/input_search_projects.json with different combinations of:

  • Project name filters
  • Team name filters
  • Initiative filters
  • Result limits
  • Ordering options+

Screenshots (if needed)

N/A

Checklist:

  • [x] I have bumped the version number for the Action Package / Agent (1.1.0)
  • [x] I have performed a self-review of my own code
  • [x] I have updated the CHANGELOG.md file in correspondence with my changes
  • [x] I have added tests that prove my fix is effective or that my feature works

pcodding avatar Mar 23 '25 15:03 pcodding

Fixed the location of the EAI definitions. Let me know if this is good to merge.

pcodding avatar Mar 31 '25 13:03 pcodding