Skip to content

Conversation

@ke4
Copy link
Contributor

@ke4 ke4 commented Jun 10, 2025

Introduced a utility method for species name processing to ensure consistency across controllers. Updated species icon handling to use a default icon when an unknown species is encountered. Improved templates for baseline and differential experiments to handle empty datasets gracefully and prevent display issues.

…ng pages

Introduced a utility method for species name processing to ensure consistency across controllers. Updated species icon handling to use a default icon when an unknown species is encountered. Improved templates for baseline and differential experiments to handle empty datasets gracefully and prevent display issues.
@ke4 ke4 self-assigned this Jun 10, 2025
@ke4 ke4 added the bug Something isn't working label Jun 10, 2025
@ke4 ke4 requested review from amnonkhen and lingyun1010 June 10, 2025 10:09
Extracted species name formatting logic into dedicated utility methods in both controllers. This reduces code duplication and improves readability and maintainability.
amnonkhen
amnonkhen previously approved these changes Jun 10, 2025
Replaced inline species name normalization logic with existing dedicated methods (`getNormalisedSpeciesName` and `getNormalisedSpeciesReferenceName`). Remove the redundant ` getSpeciesName ` method from both controllers to enhance code maintainability and reduce duplication.
@ke4
Copy link
Contributor Author

ke4 commented Jun 10, 2025

I am going to merge it as @amnonkhen already approved it and I also implemented his suggestions that he also approved.

@ke4 ke4 merged commit 3f2a208 into develop Jun 10, 2025
2 checks passed
@ke4 ke4 deleted the bugfix/281_baseline_and_plant_collections branch June 10, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants