-
Notifications
You must be signed in to change notification settings - Fork 1
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(asset): add the query type and group by buttons for calibration forecast #64
Merged
MileaRobertStefan
merged 25 commits into
main
from
users/rmilea/2024/add_assets_buttons
Aug 28, 2024
Merged
feat(asset): add the query type and group by buttons for calibration forecast #64
MileaRobertStefan
merged 25 commits into
main
from
users/rmilea/2024/add_assets_buttons
Aug 28, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kkerezsi
requested changes
Aug 20, 2024
OliverCosma
reviewed
Aug 20, 2024
CiprianAnton
approved these changes
Aug 20, 2024
OliverCosma
approved these changes
Aug 20, 2024
codrutaserban
approved these changes
Aug 20, 2024
kkerezsi
approved these changes
Aug 21, 2024
src/datasources/asset/components/AssetQueryCalibrationForecastEditor.tsx
Outdated
Show resolved
Hide resolved
src/datasources/asset/components/AssetQueryCalibrationForecastEditor.tsx
Show resolved
Hide resolved
src/datasources/asset/components/AssetQueryCalibrationForecastEditor.tsx
Outdated
Show resolved
Hide resolved
vpstoynova
reviewed
Aug 21, 2024
src/datasources/asset/components/AssetQueryCalibrationForecastEditor.tsx
Outdated
Show resolved
Hide resolved
vpstoynova
reviewed
Aug 21, 2024
…Editor.tsx Co-authored-by: vpstoynova <100705307+vpstoynova@users.noreply.github.com>
Co-authored-by: vpstoynova <100705307+vpstoynova@users.noreply.github.com>
@cameronwaterman @mure I'm going to close this PR. If you find any issues please add a comment and I will address it in a different PR. |
mure
pushed a commit
that referenced
this pull request
Aug 28, 2024
## [3.12.0](v3.11.0...v3.12.0) (2024-08-28) ### Features * **asset:** add the query type and group by buttons for calibration forecast ([#64](#64)) ([7ab470b](7ab470b))
🎉 This PR is included in version 3.12.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
🤨 Rationale
In the existing Grafana plugin for Assets , we want to implement a new query type for Calibration Forecast for Assets.
The Plugin will have the following fields when "Calibration Forecast" query type will be selected:
Query Configuration
Query Type
Group By
👩💻 Implementation
Add a radio button that allows to select the query type.
Add a multi select with custom logic to handle the selection of group by day / week / month.
🧪 Testing
Added new unit tests to cover the changes.
Backend call:
![image](https://private-user-images.githubusercontent.com/58860510/359134874-1d4258d2-e519-4c6a-ba54-95841ebc2fa7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjYzODEsIm5iZiI6MTczODkyNjA4MSwicGF0aCI6Ii81ODg2MDUxMC8zNTkxMzQ4NzQtMWQ0MjU4ZDItZTUxOS00YzZhLWJhNTQtOTU4NDFlYmMyZmE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDExMDEyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM0YzA1NWE5ZDQ1ZTNlM2YxZjEwN2M3Mzg2Y2RjMzM1ZTUzYmNiNjRlYjBjZjI4MGI1NzAwMGU3OGI0NTIyM2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Q57n7Oyyd9ieXvmyiI2vkTkLN3DDvWx-vCbYEkVS0K0)
✅ Checklist