Skip to content

User Organization and Tag tab in dashboard #90

@bryanwong8

Description

@bryanwong8

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.

Metadata

Metadata

Assignees

Labels

frontendThis is a frontend issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions