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

added single-post page,loaders and spinners for request #78

Merged
merged 4 commits into from
Jul 26, 2024
Merged

Conversation

Aamil13
Copy link
Collaborator

@Aamil13 Aamil13 commented Jul 25, 2024

No description provided.

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (0f9f5aa) to head (6546dfc).
Report is 6 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev       #78   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            7         7           
  Branches         2         2           
=========================================
  Hits             7         7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

<Modal isOpen={isModalOpen} onClose={() => setIsModalOpen(false)}>
{modalContentType && modalContent(modalContentType)}
</Modal>
<Navbar />
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's remove this navbar from here and keep this at top level based on isUserLoggedIn

@@ -117,6 +117,7 @@ const Timeline = () => {
setIsModalOpen={setIsModalOpen}
postID={post._id}
type={PostType.Timeline}
isType={'communityId' in post ? 'CommunityPost' : 'userPost'}
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's have "CommunityPost" & "userPost" as a constant enum

@bacpactech bacpactech merged commit 901d5f5 into dev Jul 26, 2024
4 of 5 checks passed
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.

2 participants