feat: documents search and projects search commands#109
feat: documents search and projects search commands#109lightstrike wants to merge 1 commit intoflipbit03:mainfrom
documents search and projects search commands#109Conversation
…ands Add full-text search for documents and projects, extending the existing searchIssues pattern: - Add searchDocuments/searchProjects to operations.toml and run codegen - Add blocking client wrappers for both search operations - Implement `documents search <QUERY> [-l N] [--team KEY]` CLI subcommand - Implement `projects search <QUERY> [-l N] [--team KEY]` CLI subcommand - Update usage reference with both new commands - Add 4 offline tests + update 2 existing subcommand tests - Add 3 online SDK tests (basic connection + create-then-find) - Add 5 online CLI tests (basic JSON + create-then-find + team filter)
|
Hey @lightstrike — thanks for your enthusiasm and all these contributions! We just released v2.0.0 which includes several of your earlier contributions — great work! Quick heads-up on workflow: with multiple draft PRs open at once, they tend to go stale fast as To keep things smooth, it'd be great if you could pick the one you'd like to land first, rebase it on the latest Also, going forward — for PRs that involve design or architectural changes, please open an issue first so we can discuss the approach before code is written. That way we align on direction early and avoid wasted effort on both sides. (See #115 → #126 → #127 as an example of how that played out.) Tag me (@flipbit03) when it's ready for review. Looking forward to it! |
Summary
searchDocumentsandsearchProjectsqueries tooperations.tomland regenerate SDKlineark documents search <QUERY> [-l N] [--team KEY]— full-text search across documentslineark projects search <QUERY> [-l N] [--team KEY]— full-text search across projectssearchIssuespattern with lean types, table output, and team filteringDocumentGuardRAII struct andretry_search_with_backoffhelper for online testslineark usagereferenceTest plan
cargo fmt --check— cleancargo clippy --workspace -- -D warnings— cleancargo test --workspace— all offline tests pass (80)--teamfilterdocuments search,projects search, team filter all worktest_withrunner before new tests execute