OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

Edit Event #161

Open OlhenShu opened 5 months ago

OlhenShu commented 5 months ago

As an Authorized User, I shall be able to edit my event, in order to update its details.

Assumptions & Constraints

Preconditions

  1. The user should be logged in as a Authorized User.
  2. Event should be created and saved.

Business rules

  1. Event details: event title, date, time, location, image, and description.
  2. Mandatory fields: event title, date, time, location, and description.
  3. Only event organizer and admin can edit events.

Acceptance Criteria

  1. Event organizer and Admin shall be able to edit the event details from the Edit Event screen.
  2. Current and Future events should have an "Edit event" button.
  3. Case the event is past, don’t allow the edit event option.
  4. After clicking on the "Edit event" button system shall open the Edit Event screen.
  5. When the Edit Event screen is opened, all attributes and text fields from the current event will appear. There will be two buttons "Save" and "Cancel".
  6. When "Save" is tapped, the changes are saved and depicted in the current event card.
  7. When "Cancel" is tapped, Edit Event screen will not disappears without loss information, and user will see message: "All created content will be lost. Do you still want to cancel event creation?" with the "Continue editing" button - in case when User doesn`t want to close the current window and wants to continue editing and the "Yes, cancel" button – in case when User wants to cancel editing and to close the current window, changes will not be saved. If has chosen the "Yes, cancel" button, the User should be returned to dashboard events.
  8. Case mandatory fields aren’t filled in -> system highlights the mandatory field and shows a warning message with a clear description of the error ("Please fill out this field") as in mock-ups with lable #error # 1440,1024,768,576,320 https://www.figma.com/file/092AhCGadc1Hq8nAysxmYB/ITA-Greencity-%D0%A3%D0%91%D0%A1?type=design&node-id=31186-127940&mode=design&t=HhZpqropwxh1e47S-4

Out of scope Create event Delete event Save event Attend event Preview event View event Share event Comment event Event filter Event search Event rating

Epic link E.g.: Epic #11

Labels to be added "User story"

Tasks

    • [ ] sample task.