Skip to content

Admin View - Block / Unblock Listing #12

@evantrinh

Description

@evantrinh

Implement block and unblock buttons and backend functionality on listing pages within the admin portal along with the listings operation page.

Requirements:

  • Implement these buttons on the listing page for admin only.
  • The buttons will open their respective modals, use the block / unblock listing modals
  • If the listing is currently blocked:
    • show the unblock button - else, show the block button
    • gray out the page content as shown in Figma screens
    • add a warning at the top of the page
    • ONLY admins will be able to view a blocked page in this state - implement this
  • Implement the 'block listing' and 'unblock listing' backend mutations and further logic and connect those to their respective modals. This will toggle the blocked status of the listing.
  • The block button should be located to the right of the message sharer button
Image Image Image Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Scheduled

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions