You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.tsx to 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
Should use the Article component from the components/global/ArticleCard.tsx to show the articles.
Should use the components/global/UserList.tsx to display all of the followers of an organization and to use the {{APIURL}}/api/organizations/{{organizationSlug}}/members route to display the members
Moderators and Members
Use the {{APIURL}}/api/organizations/{{organizationSlug}}/members route to get the data needed to display moderators and members. Should also use the components/global/User.tsx component 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)
The text was updated successfully, but these errors were encountered:
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.tsx
to 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 organizationOrganization Articles
For the tabs part, use ant design tabs, https://ant.design/components/tabs/
Should use the Article component from the
components/global/ArticleCard.tsx
to show the articles.Should use the
components/global/UserList.tsx
to display all of the followers of an organization and to use the{{APIURL}}/api/organizations/{{organizationSlug}}/members
route to display the membersModerators and Members
Use the
{{APIURL}}/api/organizations/{{organizationSlug}}/members
route to get the data needed to display moderators and members. Should also use thecomponents/global/User.tsx
component 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)The text was updated successfully, but these errors were encountered: