Open shrocket opened 1 year ago
Looks all fantastic 🚀 Everything you've mentioned in the Acceptance criteria works perfectly fine. Just one little detail: After editing a trip and clicking on 'save', the user is directed to the service details page rather than on the service list page 😊
Thank you! It looks like there's a bit of a discrepancy between the wireframe (back to the details page) and the acceptance criteria (back to the list). We changed the code this morning to match the wireframe, but forgot to double-check the acceptance criteria. We prefer the wireframe variant! :)
Value proposition
As a
hotel service managerI want to
edit a serviceIn order to
keep existing services up to dateDescription
Acceptance criteria
shows a confirmation prompt or message that the form has been successfully edited(please ignore that part of the wireframe)Tasks
Changing the folder tree/file structure
/pages
folder.Create an "Edit" button
, including success and failure messagesMinor Refactoring
+ add service
link from/components/ServiceList/index.js
to/pages/SPD/index.js
❌ delete
link from/components/ServiceCard/index.js
to/pages/[id].js