Skip to content
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

feat(products) : Add query builder to the Products Datasource #116

Draft
wants to merge 39 commits into
base: main
Choose a base branch
from

Conversation

richie-ni
Copy link
Collaborator

@richie-ni richie-ni commented Jan 20, 2025

Pull Request

🤨 Rationale

As part of User Story 2792085: FE | Add Query Editor for Products Datasource, this PR contains the query builder integration and the required constants and templates required for the query builder

👩‍💻 Implementation

  • integrated the query builder component
  • added additional operators and fields to the queryBuilderConstants.ts in core
  • created and integrated callbacks for query builder expression templates in order to handle computed field queries UpdatedAt field
  • added an expression template and methods to display key value pair for the Properties field

🧪 Testing

Added unit tests

🖥️ Screenshot

image

✅ Checklist

@richie-ni richie-ni changed the base branch from main to users/richie/grafana/products-datasource January 20, 2025 04:48
@richie-ni richie-ni changed the title feat(Products) : Add query builder to the Products Datasource feat(products) : Add query builder to the Products Datasource Jan 20, 2025
@richie-ni richie-ni requested a review from ranjgith-ni January 21, 2025 19:55
Base automatically changed from users/richie/grafana/products-datasource to main January 24, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant