#157 - more interactive calendar #162
Reference in New Issue
Block a user
No description provided.
Delete Branch "#157-expansion-calendar"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This should close #157
Employee view:
https://user-images.githubusercontent.com/1353655/172138429-9785d7a3-7bc3-4126-81b0-294574928b3d.mp4
https://user-images.githubusercontent.com/1353655/172138505-45c03c33-8268-41cf-839a-60d32e99dcc6.mp4
Administrator view:
https://user-images.githubusercontent.com/1353655/172138643-6efc3dbd-8ddf-4109-ac74-fb2a141f184f.mp4
https://user-images.githubusercontent.com/1353655/172138698-b110859b-9a8c-4a3d-9fda-8abb13924427.mp4
Maybe this would be more readable?
Looks good for me, but I would like @Baakoma to look at it too.
I can create a vacation request in the past - for couple of reasons. If we want to be consistent, we should allow creating the vacation request in the past also in calendars views.
PlusIcon
will look better.I think that we should remove
cursor-not-allowed
, because it looks bad. Just leave mouse point cursor, but don't highlight this field if user hovers on this. Also please remember, that we using TailwindCSS and it has some classes related to cursors - you don't need to write it in styles, just use as class - link.The same as above.
Honestly, I would prefer to not use form request for things like that (optional GET params, authorization, etc), at least not in a project where it is not standard and we did all authorization inside controller methods.
Use tailwind classes instead of own css https://tailwindcss.com/docs/cursor#setting-the-cursor-style
Restore this version?
5f02e23f51 (diff-0a0b7b715da129fe7e856b493c478b10a56016e20690ffdc592c20239b4a8e7d)
Yeah, but I'm not sure if you need to find user by id in this case. Just pass user Id from request to Inertia as you did with start date.
If I have a day in the calendar ("Podsumowanie roczne"), when I can't create vacation request, for example Saturday, the cursor should not be
cursor-pointer
butcursor-default
.