GTBitsOfGood / angels-among-us

Rescue one until there are none
https://staging--angels-among-us.netlify.app
MIT License
4 stars 0 forks source link

#94 populate post #144

Closed laurenmcp closed 1 year ago

laurenmcp commented 1 year ago

94 Populate Post

Issue Number(s): #94.

What does this PR change and why?

Populate Post data into post modal

Update post modal styling to match new designs (In Progress)

UI Screenshots (mobile styles and non-square photos) Screenshot 2023-09-30 001547! Screenshot 2023-09-30 001635

Checklist

Critical Changes

None

Related PRs

None

Testing

netlify[bot] commented 1 year ago

Deploy Preview for angels-among-us ready!

Name Link
Latest commit 786f4c7e95ae681d81eb787e848b0fb470b291de
Latest deploy log https://app.netlify.com/sites/angels-among-us/deploys/651cd5da6011d300082553da
Deploy Preview https://deploy-preview-144--angels-among-us.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 1 year ago

Coverage report for web

St.:grey_question:
Category Percentage Covered / Total
πŸ”΄ Statements
26.26% (-0.31% πŸ”»)
421/1603
πŸ”΄ Branches
13.29% (-0.08% πŸ”»)
63/474
πŸ”΄ Functions
13.25% (-0.45% πŸ”»)
64/483
πŸ”΄ Lines
21.73% (-0.19% πŸ”»)
302/1390
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------- | :--------- | :------- | :-------- | :----- | | πŸ”΄ |
`...` / PetPostListGroup.tsx
| 33.33% | 100% | 0% | 33.33% |
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------- | :-------------------------------------------------------------- | :------------------------------------------------------------- | :------------------------------------------------------------- | :-------------------------------------------------------------- | | 🟒 | utils/types/post.ts |
89.73% (-2.3% πŸ”»)
| 100% |
46.43% (-7.74% πŸ”»)
| 100% | | πŸ”΄ |
`...` / Feed.tsx
|
40.86% (-1.36% πŸ”»)
|
17.86% (-0.66% πŸ”»)
|
43.9% (-1.1% πŸ”»)
|
42.22% (-1.46% πŸ”»)
| | πŸ”΄ |
`...` / PetPostModal.tsx
|
31.25% (-40.18% πŸ”»)
| 100% | 0% |
32.26% (-44.67% πŸ”»)
| | 🟒 |
`...` / ImageSlider.tsx
|
75% (-2.78% πŸ”»)
| 0% | 0% |
85.71% (-1.79% πŸ”»)
| | πŸ”΄ |
`...` / PetPostTagGroup.tsx
|
0% (-33.33% πŸ”»)
| 100% | 0% |
0% (-33.33% πŸ”»)
|

Test suite run success

37 tests passing in 4 suites.

Report generated by πŸ§ͺjest coverage report action from 786f4c7e95ae681d81eb787e848b0fb470b291de

github-actions[bot] commented 1 year ago

Coverage report for web

St.:grey_question:
Category Percentage Covered / Total
πŸ”΄ Statements
26.26% (-0.31% πŸ”»)
421/1603
πŸ”΄ Branches
13.29% (-0.08% πŸ”»)
63/474
πŸ”΄ Functions
13.25% (-0.45% πŸ”»)
64/483
πŸ”΄ Lines
21.73% (-0.19% πŸ”»)
302/1390
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------- | :--------- | :------- | :-------- | :----- | | πŸ”΄ |
`...` / PetPostListGroup.tsx
| 33.33% | 100% | 0% | 33.33% |
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------- | :-------------------------------------------------------------- | :------------------------------------------------------------- | :------------------------------------------------------------- | :-------------------------------------------------------------- | | 🟒 | utils/types/post.ts |
89.73% (-2.3% πŸ”»)
| 100% |
46.43% (-7.74% πŸ”»)
| 100% | | πŸ”΄ |
`...` / Feed.tsx
|
40.86% (-1.36% πŸ”»)
|
17.86% (-0.66% πŸ”»)
|
43.9% (-1.1% πŸ”»)
|
42.22% (-1.46% πŸ”»)
| | πŸ”΄ |
`...` / PetPostModal.tsx
|
31.25% (-40.18% πŸ”»)
| 100% | 0% |
32.26% (-44.67% πŸ”»)
| | 🟒 |
`...` / ImageSlider.tsx
|
75% (-2.78% πŸ”»)
| 0% | 0% |
85.71% (-1.79% πŸ”»)
| | πŸ”΄ |
`...` / PetPostTagGroup.tsx
|
0% (-33.33% πŸ”»)
| 100% | 0% |
0% (-33.33% πŸ”»)
|

Test suite run success

37 tests passing in 4 suites.

Report generated by πŸ§ͺjest coverage report action from 786f4c7e95ae681d81eb787e848b0fb470b291de

winniezhangg commented 1 year ago

Looks great Lauren! One small thing, can you simply add a space between these two paragraphs:

Screen Shot 2023-10-02 at 4 28 54 PM

to more match this:

Screen Shot 2023-10-02 at 4 30 11 PM

so that there is a very clear and distinct view of what type of foster dog they are.

winniezhangg commented 1 year ago

One more thing, could the margins of the overall page be increased, the borders of the post are pretty thin and make all the information very large and slightly overwhelming. The foster me button is also really really close to the corner, so greater margins will give it more space around it.

laurenmcp commented 1 year ago

@winniezhangg I added more spacing and padding, please take a look and let me know if I need to add more! thank you for the feedback!

winniezhangg commented 1 year ago

Thanks, Lauren :) Sorry about the last-minute feedback. The spacing looks great! I think that you should remove the padding on top and keep left and right, so change the padding to 48px 0px instead of 48px 48px 0. The padding-top makes it so I have to scroll to reach the foster me button.