gallery
gallery copied to clipboard
Added support for searching projects
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_projectsaction 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
Fixed the location of the EAI definitions. Let me know if this is good to merge.