etrandafir93 / n-vite

MIT License
0 stars 0 forks source link

Bug Report: Delete event functionality is missing #15

Open CristianaQAlexandra opened 1 month ago

CristianaQAlexandra commented 1 month ago

Description:

The host can't delete the past events or the existing ones.

Test environment: In production Browser: Google Chrome Priority: Low Severity: Minor

Preconditions:

  1. The N-Vite web page is accessible and functional
  2. The host is logged in to their account.
  3. One or more events have been created.

Steps to reproduce:

  1. Navigate to the "Upcoming Events" page
  2. Select one of the events from the list and try to delete the event.

    Actual result:

    The functionality/ button used to delete the event it's missing and the events can't be deleted.

    Expected result:

    The Host should be able to delete any of the created events.

Screenshot 2024-10-17 201529

Bogr11 commented 1 month ago

we can either have statuses e.g. enabled | disabled or give possibility to delete and that's all

probably deletion is simpler and more suitable for us. what do you think?

etrandafir93 commented 1 month ago

I see - so basically we have 2 options

  1. we mark the event as disabled/archived and keep it, but hide it from the ui
  2. we completely delete the event

Personally, I think we can go for option 1 here as most of the events that will be deleted will be simple drafts. Also, let's make sure we remove all the pictures from the storage as well here, together with the event itself. (@CristianaQAlexandra this is something you'll need to check when the ticket will be ready for testing)

Bogr11 commented 1 month ago

Hi @CristianaQAlexandra Could you please check if bug is gone 🙏