My Activity: moderator
Andrei0872 opened this issue · comments
- types of items(i.e. cards) to be reviewed: new argument, new topic(debate), new user report
- all moderators will share the lists
- lists:
pending, in review, blocked(i.e. requesting for changes), done, approved- pending
- in review
- canceled
- done
Notes about this page:
- just like in Jira, all moderators will share the lists
- there can be only one moderator assigned to a card
- the board should be realtime
- after a card has been approved, it will materialise(in either an argument or a debate)
Card information:
- both items: debate's title
- new debate: green label + scroll icon
- new argument: light orange label + comment icon
both items: the user in question + user icon- both items: the assignee
❗
At this point, it is enough to only include debates as part of the moderator's activity.
- layout: Kanban board
- drag & drop
- after dropping an item: make request so that item is saved in the new board
- after taking the item from Pending and moving it to the In Review list -> assign the moderator to that ticket
- moving the ticket back to Pending -> unassign
- clicking on that item -> open modal
information to be displayed(for debate): title, created_at, created_by, label, comments + expand icon in the top right corner - allow 'expanding' that item -> open in new page
- endpoint for fetching all the board's tickets
- highlight the moderator's tickets
- add role guard on API
- add role guard on client
- prevent from moving cards that don't belong to a certain moderator
- return the data from the API by grouping them by
boardList
- fix missing props from card information
- (api): prevent a moderator from making changes on behalf of other moderator
- endpoint for updating a ticket