Skip to content

[Community partner/ My announcements] implement "My announcements" page #100

@teodoranegru

Description

@teodoranegru

User story

As a Community Partner user, I want to be able to add and manage announcements that will be visible on the platform for the shelters.

Description

Implement in the community partner panel a section called "My announcements", allowing users to create, manage, and monitor announcements and their associated responses.

Flows

Add new announcement

  1. User navigates to the "My announcements" section
  2. User clicks on the "Add new announcement" button
  3. The system retrieves the "Add announcement" form (link)
  4. User fills in the information and clicks on the "Save changes" button
  5. The system saves the announcement in the database with the status Draft, displays the success message and redirects the user to the view page of the announcement (link)

Edit announcement details

  1. User navigates to an announcement's view page/ Announcement details tab
  2. User clicks on the "Edit" button
  3. System retrieves that section in edit mode in a distinct page
  4. User performs the changes and clicks on the "Save changes" button
  5. The system saves the changes in the db, displays the success message and redirects the user to the announcement's view page/ Announcement details tab

Publish announcement

  1. User navigates to an announcement's view page with status=Draft
  2. User clicks on the "Publish" button
  3. System retrieves the confirmation modal screen (link)
  4. User clicks on the "Publish" button
  5. The system displays the announcement in the Community section from the Shelter panel, displays the success message, changes the status of the announcement from Draft to Published, replaces the "Publish" button with the "Archive" button, redirects the user to the announcement's view page

Archive announcement

  1. User navigates to an announcement's view page with status=Published
  2. User clicks on the "Archive" button
  3. System retrieves the confirmation modal screen (link)
  4. User clicks on the "Archive" button
  5. The system hides the announcement from the Community section from the Shelter panel, displays the success message, changes the status of the announcement from Published to Archived, removes the "Archive" and "Edit" buttons from the page, and redirects the user to the announcement's view page

Business rules

  1. When created, the default status of an announcement is Draft.
  2. Once an announcement is archived, it can no longer be restored or edited.
  3. All the responses to an announcement will be displayed in a dedicated tab called "Responses" from the announcement's view page
  4. A response can have the following statuses: New, Acknowledged, In review, Closed, Rejected, Obsolete, Duplicate.
  5. Display in the "All announcements" table the following information:
  • ID (auto-generated)
  • Title
  • Type
  • Domain
  • Status
  1. Display in the "All responses" table the following information:
  • ID (auto-generated)
  • Date (date and time of submission)
  • Shelter (name of the shelter who submitted the response)
  • Contact person
  • Status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions