-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Start implementing interactive checkboxes Co-authored-by: TBardini <[email protected]> Co-authored-by: Devin Altobello <[email protected]> * Add checkbox interactivity to EnergyUseHistoryChart * Refactor single.tsx to transform usage_data from Map to object for better readability and validation. Updated components (AnalysisHeader, EnergyUseHistory, EnergyUseHistoryChart) to handle usage_data as an object instead of Map. Introduced mapToObject function in single.tsx to initiate this change and propagate it to other components. Enhanced Zod type definitions across the components for stronger type validation and clarity. These changes improve the organization and readability of the code related to types in the heat-stack/types directory. * fix: updated Zod types for usage_data and refactored type imports * Refactor EnergyUseHistoryChart to include variant prop in TableRow * Refactor replacedMapToObject in single.tsx and replace spread operator with structuredClone() in EnergyUseHistoryChart.tsx * Refactor zod parsing and types for typecheck Co-authored-by: Charlie Kelly <[email protected]> Co-authored-by: plocket <[email protected]> Co-authored-by: thomas-davis <[email protected]> Co-authored-by: TBardini <[email protected]> * reroll package-lock.json --------- Co-authored-by: plocket <[email protected]> Co-authored-by: TBardini <[email protected]> Co-authored-by: Devin Altobello <[email protected]> Co-authored-by: TBardini <[email protected]> Co-authored-by: Thad Kerosky <[email protected]> Co-authored-by: Charlie Kelly <[email protected]> Co-authored-by: plocket <[email protected]> Co-authored-by: thomas-davis <[email protected]>
- Loading branch information
1 parent
739b1c3
commit e0f8e32
Showing
7 changed files
with
9,282 additions
and
14,640 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.