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

Main Explore, Tag Explore and Organization Page #69

Open
3 tasks done
bryanwong8 opened this issue Jun 6, 2020 · 0 comments
Open
3 tasks done

Main Explore, Tag Explore and Organization Page #69

bryanwong8 opened this issue Jun 6, 2020 · 0 comments
Assignees
Labels
frontend This is a frontend issue
Projects

Comments

@bryanwong8
Copy link
Contributor

bryanwong8 commented Jun 6, 2020

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

Screen Shot 2020-06-05 at 4 55 14 PM

  • 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

Screen Shot 2020-06-05 at 4 55 20 PM

  • 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

  • Organization Articles

Screen Shot 2020-06-05 at 4 55 25 PM

  • 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 members

  • Moderators and Members

Screen Shot 2020-06-05 at 4 55 28 PM

  • 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)

@bryanwong8 bryanwong8 added the frontend This is a frontend issue label Jun 6, 2020
@project-bot project-bot bot added this to To do in Bit Project Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend This is a frontend issue
Projects
Bit Project
  
To do
Development

No branches or pull requests

4 participants