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
Okey so we want to make the modal for new booking client side, however we still want to keep the route. Let me sum up the tasks:
Create a client side modal for new booking
When clicking the "New booking" button on bookings page, open the client side modal
Add a "New booking" button on calendar page, that will also open the client side modal
Keep the route bookings/new so if someone navigates to it in the browser it still works
We might have to create a bunch of functions that handle both the loader and the action for new booking as we would need to have 2 routes: the current booking.new and a resource route that doesn't return HTML but just JSON.
Let me know if there are any questions.
The text was updated successfully, but these errors were encountered:
Okey so we want to make the modal for new booking client side, however we still want to keep the route. Let me sum up the tasks:
bookings/new
so if someone navigates to it in the browser it still worksWe might have to create a bunch of functions that handle both the loader and the action for new booking as we would need to have 2 routes: the current
booking.new
and a resource route that doesn't return HTML but just JSON.Let me know if there are any questions.
The text was updated successfully, but these errors were encountered: