UNLV-CS472-672 / 2024-S-GROUP3-Barbell

A workout-tracking app with a support website that does more than just track workouts. Cross platform in IOS and Android
4 stars 0 forks source link

193 / frontend recent posts #237

Closed elliotwesoff closed 6 months ago

elliotwesoff commented 6 months ago

What type of PR is this? (Check all that apply)

Description

Created the "recent posts" feed page for when the user taps on the recent posts card on the dashboard. The feed will show the 10 most recent posts by the user's friends. Also, I removed the "title" property/column from the Post model, as Taylor and I agreed it wasn't necessary. yeet!

As a TODO, we should update the styles on the Activity Feed screen to match this component. The posts are styled in a much cleaner way than the activities.

Resolves #193.

Tests

How was this tested?

[Optional] Screenshots

2024-04-22_00-14

Documentation

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.57%. Comparing base (d254485) to head (99ec6f7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 197--frontend-new-post-component #237 +/- ## ==================================================================== - Coverage 98.61% 98.57% -0.04% ==================================================================== Files 34 33 -1 Lines 217 211 -6 Branches 63 59 -4 ==================================================================== - Hits 214 208 -6 Misses 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

elliotwesoff commented 6 months ago

@supakeshi I need to remove that link from the nav screen. The post component requires a post object as a parameter, which is not available from the nav screen.