Skip to content

feat: improve habitat display formatting#1580

Merged
mkmccarty merged 1 commit intomainfrom
mm-branch-2
Sep 25, 2025
Merged

feat: improve habitat display formatting#1580
mkmccarty merged 1 commit intomainfrom
mm-branch-2

Conversation

@mkmccarty
Copy link
Owner

The changes made in this commit improve the formatting of the habitat
display in the application. The main changes are:

  • The habitat array is now joined into a single string for display,
    instead of displaying each element separately.
  • The order of the habitat display elements has been reversed, with the
    habitat art displayed first, followed by the population and percentage.
  • The formatting of the population value has been improved, using the
    ei.FormatEIValue function to display the value with two decimal
    places and trimming any trailing zeros.

These changes make the habitat display more concise and easier to read,
while still providing the necessary information to the user.

The changes made in this commit improve the formatting of the habitat
display in the application. The main changes are:

- The habitat array is now joined into a single string for display,
  instead of displaying each element separately.
- The order of the habitat display elements has been reversed, with the
  habitat art displayed first, followed by the population and percentage.
- The formatting of the population value has been improved, using the
  `ei.FormatEIValue` function to display the value with two decimal
  places and trimming any trailing zeros.

These changes make the habitat display more concise and easier to read,
while still providing the necessary information to the user.
@mkmccarty mkmccarty merged commit 5b4d7ee into main Sep 25, 2025
12 checks passed
@mkmccarty mkmccarty deleted the mm-branch-2 branch September 25, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant