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
Bookings page doesn’t handle drafts correctly – saving changes for drafts should have option to publish them, not just update the draft
READ ALL INSTRUCTIONS BEFORE STARTING
Note:
When working on the frontend, we want to work from making sure the site is responsive starting from a mobile device (this will make it easier when we modifying the styling for bigger screens)
When checking how the frontend looks on a mobile device through chrome's inspect element, be sure to select iPhone SE for test!!!
Heads up:
Feel free to utilize /client/src/components/playground/Playground.jsx to test out anything before putting it in their respective pages, or if there currently is no respective page
When prompted to log in, you can sign in with the account:
for teacher view on the bookings page, there should be a "draft" tab. All the cards in here need to open their respective createEvent/createClass forms and properly send put requests when information is saved.
additionally, add to the forms a button allowing to publish, which will then flip the is_draft attribute in the database to true, allowing the class or event to be published.
Notes
Acceptance Criteria
allows modification and saving class/event drafts without publishing
allows publishing class/event drafts, which are then included in the regular views
resolves bug without introducing new unexpected behavior
matches hi-fi (you can ignore coloring but please fix alignment/position of components to match hifi)
Resources
The text was updated successfully, but these errors were encountered:
Description
Bookings page doesn’t handle drafts correctly – saving changes for drafts should have option to publish them, not just update the draft
READ ALL INSTRUCTIONS BEFORE STARTING
inspect element
, be sure to selectiPhone SE
for test!!!Feel free to utilize
/client/src/components/playground/Playground.jsx
to test out anything before putting it in their respective pages, or if there currently is no respective pageWhen prompted to log in, you can sign in with the account:
student:
teacher:
admin:
Instructions
is_draft
attribute in the database totrue
, allowing the class or event to be published.Notes
Acceptance Criteria
Resources
The text was updated successfully, but these errors were encountered: