-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Is your feature request related to a problem? Please describe.
We need to implement infinite scrolling for the articles in the explore page.
Describe the solution you'd like
Organization Page
-
Should use the
{{APIURL}}/api/organizations/{{organizationSlug}}to get all the information needed to display the data needed. -
Should look at the Postman Docs to use the correct props in the component
-
Organization Header
-
Should reuse the header component from
components/global/Header.tsxto implement the Organization header part. -
For the follow and unfollow button you should use the
{{APIURL}}/api/organizations/{{organizationSlug}}/follow(POST) and
{{APIURL}}/api/organizations/{{organizationSlug}}/follow(DELETE) to follow and unfollow an organization -
Organization Articles
-
For the tabs part, use ant design tabs, https://ant.design/components/tabs/
-
Should use the Article component from the
components/global/ArticleCard.tsxto show the articles. -
Should use the
components/global/UserList.tsxto display all of the followers of an organization and to use the{{APIURL}}/api/organizations/{{organizationSlug}}/membersroute to display the members -
Moderators and Members
-
Use the
{{APIURL}}/api/organizations/{{organizationSlug}}/membersroute to get the data needed to display moderators and members. Should also use thecomponents/global/User.tsxcomponent to display the members and moderators. -
The follow and unfollow routes should use
{{APIURL}}/api/profiles/{{USERNAME}}/follow(POST) and{{APIURL}}/api/profiles/{{USERNAME}}/follow(DELETE)



