JuhoBjn / online-store

An online store made for a course project.
0 stars 1 forks source link

Frontend news page #128

Closed JuhoBjn closed 9 months ago

JuhoBjn commented 9 months ago

Add a component to list news articles on the logged in home page and a page to view individual news articles. Also includes a quick fix to the API endpoint for fetching an individual article, which previously would not return a URL to the image hosted on S3.

Closes #121

coveralls commented 9 months ago

Pull Request Test Coverage Report for Build 7092119523

Warning: This coverage report may be inaccurate.

We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report. To ensure accuracy in future PRs, please see these guidelines. A quick fix for this PR: rebase it; your next report should be accurate.


Files with Coverage Reduction New Missed Lines %
frontend/coverage/frontend/src/components/chat/MessageBubble.jsx 1 94.29%
frontend/coverage/frontend/src/pages/about-us/AboutUs.jsx 1 95.16%
frontend/coverage/frontend/src/utils/parseTokenExpiration.js 1 70.0%
frontend/coverage/frontend/src/pages/frontpage/Frontpage.jsx 3 92.75%
frontend/coverage/frontend/src/components/transparent-overlay/TransparentOverlay.jsx 5 58.33%
frontend/coverage/frontend/src/pages/match/ProfileCard.jsx 5 85.11%
frontend/coverage/frontend/src/pages/activities/Activities.jsx 6 45.45%
frontend/coverage/frontend/src/pages/messages/Messages.jsx 6 45.45%
frontend/coverage/frontend/src/pages/contact-us/ContactUs.jsx 8 85.71%
frontend/coverage/frontend/src/pages/friends/FriendRequests.jsx 16 63.08%
<!-- Total: 523 -->
Totals Coverage Status
Change from base Build 7039925892: -16.2%
Covered Lines: 2035
Relevant Lines: 2662

💛 - Coveralls
JuhoBjn commented 9 months ago

I merged the event calendar sidebar mentioned in issue #122 to this since they're both to do with the news page. Still need to get Minio running in GHA to make the tests pass. Not necessary for this PR.