Issue 2108 - added name of the selected analysis item in account and facility#2112
Merged
Issue 2108 - added name of the selected analysis item in account and facility#2112
Conversation
rmroot
requested changes
Oct 17, 2025
...count-energy-card/account-energy-reduction-goal/account-energy-reduction-goal.component.html
Outdated
Show resolved
Hide resolved
rmroot
approved these changes
Oct 17, 2025
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.
connects #2108
This pull request enhances the "Energy Reduction Goal" and "Water Reduction Goal" cards for both account and facility dashboards by displaying the name of the analysis used and allowing users to navigate directly to the relevant analysis details. Additionally, styling improvements are made for consistency. The main changes are grouped below:
Feature Enhancements:
account-energy-reduction-goal,account-water-reduction-goal,facility-energy-reduction-goal,facility-water-reduction-goal) to display the name of the analysis item used, with a clickable link for navigation.goToAnalysisItem()method in each component to set the selected analysis item and navigate the user to either the analysis setup or results page, depending on the presence of setup errors.State Management and Data Handling:
latestAnalysisItem) instead of a local variable, ensuring the UI and navigation logic use the correct analysis reference.Styling Improvements:
.item-nameto standardize the font size of the analysis item display across all affected components.These changes collectively improve user experience by making it clearer which analysis is being used for each goal and providing a direct way to access further analysis details or resolve setup issues.