-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Trawlingweb - new component #18887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trawlingweb - new component #18887
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
WalkthroughThis PR adds a new Search News action to the Trawlingweb integration, refactors the API client to centralize HTTP request handling with automatic token injection, updates the package version and dependencies, effectively modularizing the integration layer. Changes
Sequence DiagramsequenceDiagram
participant Action as Search News Action
participant App as Trawlingweb App
participant HTTP as HTTP Client (axios)
participant API as Trawlingweb API
Action->>Action: Assemble parameters<br/>(query, dateStart, dateEnd, etc.)
Action->>App: searchNews(opts)
activate App
App->>App: _makeRequest(opts)
activate App
App->>App: Inject _baseUrl() & token
App->>HTTP: axios.request({<br/>baseURL, params, token...})
activate HTTP
HTTP->>API: POST /search/news
activate API
API-->>HTTP: results[]
deactivate API
HTTP-->>App: response data
deactivate HTTP
deactivate App
App-->>Action: data array
deactivate App
Action->>Action: Export summary
Action-->>User: Return results
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
GTFalcao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Resolves #10972
Summary by CodeRabbit
New Features
Chores