You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently on HomePage, there is a "Select" button which allows for the selection of EventCard components
Upon selection, admins can press the "Archive Event(s)" button to switch the value of the is_archived column for the corresponding row in our "events" table from false to true, thus archiving the event
Your job for this task will be to do two things:
Move over the "Select" button and its functionality from HomePage to EventPage
Refactor the ArchiveButton (Can be found in HomePage) to DeleteButton
DeleteButton should be placed in EventPage
DeleteButton should be absolute positioned in the bottom left corner and styled appropriately to match the Hi-Fi design
Refactor the DeselectButton (Can be found in HomePage) to CancelButton
CancelButton should be placed in EventPage
CancelButton should be positioned in the top right above the grid of EventCard components and styled appropriately to match the Hi-Fi design
Refactor the ArchiveEventsModal (Which is brought up upon pressing ArchiveButton) to DeleteEventsModal
The events listed should be rendered based on what EventCards were selected
Acceptance Criteria
The "Select" button and corresponding functionality has been moved from HomePage to EventPage
ArchiveButton, DeselectButton, and ArchiveEventsModal have been refactored as specified
Refactored designs match the specified designs in the Hi-Fi figma
Description
HomePage
, there is a "Select" button which allows for the selection ofEventCard
componentsHomePage
toEventPage
ArchiveButton
(Can be found inHomePage
) toDeleteButton
DeleteButton
should be placed inEventPage
DeleteButton
should be absolute positioned in the bottom left corner and styled appropriately to match the Hi-Fi designDeselectButton
(Can be found inHomePage
) toCancelButton
CancelButton
should be placed inEventPage
CancelButton
should be positioned in the top right above the grid ofEventCard
components and styled appropriately to match the Hi-Fi designArchiveEventsModal
(Which is brought up upon pressingArchiveButton
) toDeleteEventsModal
EventCard
s were selectedAcceptance Criteria
HomePage
toEventPage
ArchiveButton
,DeselectButton
, andArchiveEventsModal
have been refactored as specifiedResources
The text was updated successfully, but these errors were encountered: