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

Post launch feedback updates #2511

Merged
merged 13 commits into from
Oct 30, 2024
Merged

Post launch feedback updates #2511

merged 13 commits into from
Oct 30, 2024

Conversation

kattylucy
Copy link
Collaborator

  • Add rating to pool card (landing page)
  • Cleanup types a bit and unused variables

#2505

  • Dev

Copy link

github-actions bot commented Oct 21, 2024

PR deployed in Google Cloud
URL: https://app-pr2511.k-f.dev
Commit #: e476457
To access the functions directly check the corresponding deploy Action

Copy link

github-actions bot commented Oct 21, 2024

PR deployed in Google Cloud
URL: https://pr2511-app-ff-production.k-f.dev
Commit #: e476457
To access the functions directly check the corresponding deploy Action

@kattylucy kattylucy marked this pull request as ready for review October 21, 2024 10:05
Copy link
Collaborator

@sophialittlejohn sophialittlejohn left a comment

Choose a reason for hiding this comment

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

Looks like there may be a padding missing between the Rating chips and the border around the card?

Screenshot 2024-10-21 at 09 31 18

- Fix chart to calculate domain instead of rounding
- remove junior from tooltip tranche if only one tranche
- fix borders
- adjust pool list to use grid system (easier to maintain than flex)
- remove underline from tooltip for ratings
@kattylucy kattylucy changed the title Add rating to pool card and cleanup Post launch feedback updates Oct 25, 2024
Copy link
Contributor

@hieronx hieronx left a comment

Choose a reason for hiding this comment

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

Reviewed all the UI fixes after the feedback I left in the ticket and everything looks perfect to me, great work!

Copy link
Collaborator

@sophialittlejohn sophialittlejohn left a comment

Choose a reason for hiding this comment

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

Just a few type things but looks really good otherwise!

<Text style={{ marginLeft: 4 }}>{rating.value}</Text>
</Box>
</Tooltip>
{metadata?.pool?.poolRatings.map((rating: RatingType) => (
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{metadata?.pool?.poolRatings.map((rating: RatingType) => (
{metadata?.pool?.poolRatings.map((rating) => (

shouldn't be necessary, think you can delete the type completely

Comment on lines 49 to 54
export type RatingType = {
agency?: string
reportUrl?: string
reportFile?: any
value?: string
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

would extend this type from the metadata instead of creating a new type

@kattylucy kattylucy enabled auto-merge (squash) October 30, 2024 08:51
@kattylucy kattylucy merged commit a562c77 into main Oct 30, 2024
14 checks passed
@kattylucy kattylucy deleted the 2505_post_launch_fixes branch October 30, 2024 08:59
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.

3 participants