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

User Organization and Tag tab in dashboard #90

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

User Organization and Tag tab in dashboard #90

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

Comments

@bryanwong8
Copy link
Contributor

bryanwong8 commented Jun 20, 2020

Is your feature request related to a problem? Please describe.
We need to build out the feature to let moderators of organization edit the organization and control whose in the organization

We need to build out the tags tab if the user is an admin for a tag.

Figma Design

Organization Tabs

Screen Shot 2020-06-19 at 6 01 41 PM

  • Submitted Tab

  • You should be using the ArticleList component, components/global/ArticleList.tsx to display all of the articles that need to be reviewed.

  • You should use the {{APIURL}}/api/organizations/{{organizationSlug}}/articles/{{articleSlug}} call to reject or accept the article for the organization.

Screen Shot 2020-06-19 at 6 01 52 PM

  • Member Tab

  • You should use the UserList component from components/global/UserList.tsx to implement the user list

  • You can use the {{APIURL}}/api/organizations/{{organizationSlug}}/members route to remove a member from an organization

Screen Shot 2020-06-19 at 6 02 01 PM

  • Settings Tab

  • You should be creating a component called GroupSetting. Before this check if the person who has issue Tags tab in User dashboard #89 if they completed this component. If they have use it. If not then create your own.

  • If mod setting is public, then send 1, if the mod setting is moderated, then send 2, and if the mod setting is private, then send 3.

  • The {{APIURL}}/api/organizations/{{organizationSlug}}(PUT) will be used to update an organization.

Tag Tabs

Screen Shot 2020-06-19 at 3 59 20 PM

  • Submitted Tab

  • You should be using the ArticleList component, components/global/ArticleList.tsx to display all of the articles that need to be reviewed.

  • You should use the {{APIURL}}/api/tags/{{tagSlug}}/articles/{{articleSlug}} call to reject or accept the article for the tag.

Screen Shot 2020-06-19 at 3 59 30 PM

  • Published Tab

  • You should be using the ArticleList component, components/global/ArticleList.tsx to display all of the articles that need to be reviewed.

  • You should use the {{APIURL}}/api/tags/{{tagSlug}}/articles/{{articleSlug}}(PUT) call to reject the article for the tag.

Screen Shot 2020-06-19 at 3 59 36 PM

  • Settings Tab

  • You should probably make a component called GroupSettings since this can be reused for organization settings as well.

  • You should be using the {{APIURL}}/api/tags/{{tagSlug}}(POST) call to update the tag.

  • If mod setting is public, then send 1, if the mod setting is moderated, then send 2, and if the mod setting is private, then send 3.

@bryanwong8 bryanwong8 added the frontend This is a frontend issue label Jun 20, 2020
@project-bot project-bot bot added this to To do in Bit Project Jun 20, 2020
@bryanwong8 bryanwong8 changed the title User Organization tab in dashboard User Organization and Tag tab in dashboard Jun 24, 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

2 participants