Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: teams page tweaks #5054

Merged
merged 4 commits into from
Nov 1, 2023
Merged

feat: teams page tweaks #5054

merged 4 commits into from
Nov 1, 2023

Conversation

roger-in-kiva
Copy link
Collaborator

  • Change the amounts format to show the full number in the leaderboards, seeing the exact number is more valuable.
  • Add some helper text to the first two tabs in the leaderboard member counts like this: “Only members who have lent at least once are counted”
  • Hide the text "We loan because:" if the field is empty
Screenshot 2023-10-31 at 16 36 41 Screenshot 2023-10-31 at 16 36 51 Screenshot 2023-10-31 at 16 37 01

@roger-in-kiva roger-in-kiva changed the title Core 1612 teams page tweaks feat: Core 1612 teams page tweaks Oct 31, 2023
@roger-in-kiva roger-in-kiva changed the title feat: Core 1612 teams page tweaks feat: teams page tweaks Oct 31, 2023
@@ -161,6 +161,7 @@
>
<p
class="tw-text-small tw-text-primary tw-flex-1"
v-if="shortLoanBecause(team.loanBecause)"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should just check team.loanBecausehere instead of pushing it through the truncation method.

Copy link
Contributor

@eddieferrer eddieferrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for making these changes!

@roger-in-kiva roger-in-kiva merged commit c5a5bd5 into main Nov 1, 2023
4 checks passed
@roger-in-kiva roger-in-kiva deleted the CORE-1612_teams_page_tweaks branch November 1, 2023 16:12
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.

4 participants