Skip to content

feat: add market tracking trends handler | LLMO-3605#1975

Merged
calvarezg merged 4 commits intomainfrom
feat/market-comparison-LLMO-3605
Mar 18, 2026
Merged

feat: add market tracking trends handler | LLMO-3605#1975
calvarezg merged 4 commits intomainfrom
feat/market-comparison-LLMO-3605

Conversation

@calvarezg
Copy link
Contributor

@calvarezg calvarezg commented Mar 17, 2026

Changes

Implements the backend endpoint to populate the market comparison charts in LLMO.

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

Relates to LLMO-3605

- Implemented `createMarketTrackingTrendsHandler` to return weekly brand mentions and citations along with competitor breakdowns.
- Added utility functions for parsing market tracking parameters and converting dates to ISO week format.
- Updated `llmo-mysticat-controller` to include the new handler.
- Modified routes to expose new endpoints for market tracking trends.
- Enhanced tests to cover the new functionality and ensure correctness.
@calvarezg calvarezg self-assigned this Mar 17, 2026
@calvarezg calvarezg marked this pull request as draft March 17, 2026 16:52
@codecov
Copy link

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions
Copy link

This PR will trigger a minor release when merged.

@calvarezg calvarezg changed the title feat: add market tracking trends handler and related functionality feat: add market tracking trends handler | LLMO-3605 Mar 17, 2026
@calvarezg calvarezg marked this pull request as ready for review March 17, 2026 16:59
…verview handler

- Added `topic` parameter to `parseFilterDimensionsParams` for enhanced filtering capabilities.
- Updated `createSentimentOverviewHandler` to utilize the new `topic` parameter instead of `topicId` for querying topics in the sentiment overview endpoint.
@calvarezg calvarezg merged commit b995822 into main Mar 18, 2026
18 checks passed
@calvarezg calvarezg deleted the feat/market-comparison-LLMO-3605 branch March 18, 2026 14:37
solaris007 pushed a commit that referenced this pull request Mar 18, 2026
# [1.354.0](v1.353.1...v1.354.0) (2026-03-18)

### Features

* add market tracking trends handler | LLMO-3605 ([#1975](#1975)) ([b995822](b995822))
* add sentiment-overview endpoint for brand presence | LLMO-3605 ([#1974](#1974)) ([6ec5cbf](6ec5cbf))
@solaris007
Copy link
Member

🎉 This PR is included in version 1.354.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