Skip to content

feat: add competitor summary handler and update routes | LLMO-3922#2150

Merged
calvarezg merged 9 commits intomainfrom
feat-market-tracking-summary
Apr 8, 2026
Merged

feat: add competitor summary handler and update routes | LLMO-3922#2150
calvarezg merged 9 commits intomainfrom
feat-market-tracking-summary

Conversation

@calvarezg
Copy link
Copy Markdown
Contributor

@calvarezg calvarezg commented Apr 7, 2026

  • Implemented createCompetitorSummaryHandler to aggregate competitor totals for the competitor picker.
  • Updated llmoMysticatController to include the new competitor summary handler.
  • Added routes for competitor summary retrieval in index.js.
  • Updated required capabilities for the new routes in required-capabilities.js.
  • Added unit tests for the competitor summary handler in llmo-brand-presence.test.js to ensure correct functionality and error handling.

Please ensure your pull request adheres to the following guidelines:

  • make sure to link the related issues in this description. Or if there's no issue created, make sure you
    describe here the problem you're solving.
  • when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

If the PR is changing the API specification:

  • make sure you add a "Not implemented yet" note the endpoint description, if the implementation is not ready
    yet. Ideally, return a 501 status code with a message explaining the feature is not implemented yet.
  • make sure you add at least one example of the request and response.

If the PR is changing the API implementation or an entity exposed through the API:

  • make sure you update the API specification and the examples to reflect the changes.

If the PR is introducing a new audit type:

  • make sure you update the API specification with the type, schema of the audit result and an example

Related Issues

LLMO-3922

- Implemented `createCompetitorSummaryHandler` to aggregate competitor totals for the competitor picker.
- Updated `llmoMysticatController` to include the new competitor summary handler.
- Added routes for competitor summary retrieval in `index.js`.
- Updated required capabilities for the new routes in `required-capabilities.js`.
- Added unit tests for the competitor summary handler in `llmo-brand-presence.test.js` to ensure correct functionality and error handling.
@calvarezg calvarezg self-assigned this Apr 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

This PR will trigger a minor release when merged.

@calvarezg calvarezg changed the title feat: add competitor summary handler and update routes feat: add competitor summary handler and update routes | LLMO-3922 Apr 7, 2026
- Changed the error message in the preflight controller tests to specify that the mystiqueUrl must be a valid Mystique ephemeral host instead of a generic valid URL.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@calvarezg calvarezg merged commit f167ada into main Apr 8, 2026
20 checks passed
@calvarezg calvarezg deleted the feat-market-tracking-summary branch April 8, 2026 08:22
solaris007 pushed a commit that referenced this pull request Apr 8, 2026
# [1.421.0](v1.420.1...v1.421.0) (2026-04-08)

### Features

* add competitor summary handler and update routes | LLMO-3922 ([#2150](#2150)) ([f167ada](f167ada))
@solaris007
Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.421.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants