Energy recalc date and multi select - #23
Open
Terdious wants to merge 58 commits into
Open
Conversation
Deploying terdious-news-charts-and-expand with
|
| Latest commit: |
9c5c75a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://48e3bf60.terdious-news-charts-and-expand.pages.dev |
| Branch Preview URL: | https://separate-task-logs-pr.terdious-news-charts-and-expand.pages.dev |
…ed features - Updated internationalization files (de.json, en.json, fr.json) to include new keys for calculating consumption and cost from selected features. - Enhanced EnergyMonitoring component to allow users to select features for recalculation, including UI updates for feature selection and error handling. - Implemented backend changes to support feature selection in energy monitoring calculations, including job data handling and logging. - Modified job wrapper to build job data based on selected features for both consumption and cost calculations. - Added validation and logging for feature selectors in energy monitoring calculations.
- Updated JobList component to enhance device feature display logic. - Modified job data schema to ensure features are required for devices. - Cleaned up energy monitoring controller by removing unnecessary logger calls. - Refactored calculateConsumptionFromIndex and calculateConsumptionFromIndexFromBeginning functions for better clarity and performance. - Improved calculateCostFrom and calculateCostFromBeginning functions to streamline feature selector handling and job ID resolution. - Enhanced job data building logic to ensure accurate device and feature identification.
Deploying terdious-add-binary-chart with
|
| Latest commit: |
9c5c75a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e6ab5ce3.terdious-add-binary-chart.pages.dev |
| Branch Preview URL: | https://separate-task-logs-pr.terdious-add-binary-chart.pages.dev |
Terdious
force-pushed
the
energy-recalc-date-and-multi-select
branch
from
December 19, 2025 09:25
51f1c6a to
0ec40eb
Compare
Deploying terdious-add-choice-number-col with
|
| Latest commit: |
9c5c75a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9b939816.terdious-add-choice-number-col.pages.dev |
| Branch Preview URL: | https://separate-task-logs-pr.terdious-add-choice-number-col.pages.dev |
Deploying terdious-binary-and-columns-dashboard with
|
| Latest commit: |
9c5c75a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0b565ae7.terdious-binary-and-columns-dashboard.pages.dev |
| Branch Preview URL: | https://separate-task-logs-pr.terdious-binary-and-columns-dashboard.pages.dev |
…a consommation d'énergie
… construction des données de travail
…ordre des caractéristiques
…des temporisateurs factices
…lecteurs multiples et gérer les cas limites
…léchées et améliorer la lisibilité
…de la consommation et du coût
…nsumption and cost calculation functions
… de calculateCostFromBeginning
…rs manquants dans le calcul de la consommation
…ériphérique et corriger le contexte dans les tests de construction des données de travail
… assertions dans les tests de consommation et de coût
… tests de consommation et de coût
…alcul de la consommation et le coût
…état dans le calcul des coûts
…le test de calcul des coûts
…s manquants dans le calcul de la consommation
… consommation d'énergie
…t la sélection multiple
…hes et la gestion des erreurs inattendues
…-date-and-multi-select
…-date-and-multi-select
…-date-and-multi-select
…-date-and-multi-select
…rove job handling - Implemented `calculateCostRange` function to calculate energy monitoring cost over a specified date range. - Updated `calculateCostFromYesterday` to utilize a new job data builder function. - Enhanced `EnergyMonitoringHandler` to include new job types for cost and consumption calculations over ranges. - Added unit tests for the new `calculateCostRange` and `calculateConsumptionFromIndexRange` functionalities. - Refactored existing tests to ensure proper parameter handling and job ID propagation. - Updated constants to include new job types for range calculations.
…tion test(job): add tests for job.wrapper with buildJobData option test(energy-monitoring): add tests for handling invalid dates and processing devices in calculateConsumptionFromIndexRange test(energy-monitoring): add tests for building job data for thirty-minute consumption and cost windows test(energy-monitoring): enhance tests for calculating cost from yesterday with job data building
…s et des événements de travail
…t refactoriser l'importation des données de coût
…nt le type de job feat(tests): améliorer la gestion des erreurs dans les tests de consommation d'énergie
…e création de job test(energy-monitoring): simplifier la gestion des erreurs pour les dates invalides
…es dans EnergyMonitoring
…ests d'EnergyMonitoring
…ge si elle n'est pas définie
…y-recalc-date-and-multi-select
…'énergie par catégorie" This reverts commit 3ec9277.
…alités d'énergie par catégorie"" This reverts commit c214545.
This file contains hidden or 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
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 check-list
To ensure your Pull Request can be accepted as fast as possible, make sure to review and check all of these items:
npm teston both front/server)npm run eslinton both front/server)npm run prettieron both front/server)npm run compare-translationson front)front/src/config/demo.js) so that the demo website is working without a backend? (if needed) See https://demo.gladysassistant.com.NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
Description of change
Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!