56 Commits

Author SHA1 Message Date
vchikalkin
9beee9902e order: add repeat button 2025-06-26 18:28:44 +03:00
vchikalkin
7dbc08f1d1 order: revert approve button for master 2025-06-26 14:33:13 +03:00
vchikalkin
8cc7c37f18 FloatingActionPanel: block buttons while pending request 2025-06-26 13:50:13 +03:00
vchikalkin
46ab2d67dc order: revert cancel button for master 2025-06-26 13:43:29 +03:00
vchikalkin
fead5353e7 create useIsMaster hook to prevent duplication 2025-06-26 13:23:03 +03:00
vchikalkin
5c89d41f2f show masters avatar in orders list 2025-06-26 11:50:11 +03:00
vchikalkin
a831aeb212 highlight days in horizontal calendar 2025-06-25 18:20:47 +03:00
vchikalkin
a3fe14a53c fix badges & alerts 2025-06-25 14:24:11 +03:00
vchikalkin
24f71a9b66 add order status alert 2025-06-24 13:47:53 +03:00
vchikalkin
e861e6e917 order page: add buttons 2025-06-24 12:36:43 +03:00
vchikalkin
d7acd1ef9c order-services: fix types 2025-06-24 11:38:01 +03:00
vchikalkin
f69aeb2353 hide ClientsOrdersList for non masters 2025-06-23 22:08:19 +03:00
vchikalkin
4ed010056a slot page: replace buttons with floating panel 2025-06-23 20:55:07 +03:00
vchikalkin
2ba56c5949 order page 2025-06-23 20:15:19 +03:00
vchikalkin
085263654f fix create order query 2025-06-11 14:55:36 +03:00
vchikalkin
25c90984dc fix queries, using formatDate & formatTime on client 2025-06-10 17:11:55 +03:00
vchikalkin
f4609eb8d1 add horizontal calendar 2025-06-08 14:32:01 +03:00
Vlad Chikalkin
3589ab974a
Refactor/components folder structure (#24)
* refactor components/navigation

* refactor components/orders

* refactor components/profile

* refactor components/schedule

* remove components/common/spinner
2025-05-23 17:35:13 +03:00
vchikalkin
2510e0bcae move order-card & time-range to @/components/shared 2025-05-23 16:48:20 +03:00
vchikalkin
5e13deecf0 finally organized stores & context 2025-05-23 16:29:42 +03:00
vchikalkin
d0e67a0f8a context: rename contexts properly 2025-05-23 16:22:25 +03:00
vchikalkin
2bb85af46b move order store -> orders\order-store 2025-05-23 13:55:53 +03:00
vchikalkin
1b99f7f18d components/orders: remove nested components dirs 2025-05-23 13:35:45 +03:00
vchikalkin
d8f853180b app/orders: fill page with content 2025-05-21 18:40:53 +03:00
vchikalkin
52d68964f1 take into service duration when computing times 2025-05-21 16:27:56 +03:00
vchikalkin
b8880eedee move getAvailableTimeSlots to server 2025-05-20 19:25:25 +03:00
Vlad Chikalkin
9314cdd1cb
merge branch 'refactor-api' (#23)
* refactor customer api

* refactor slots api

* hooks/customers: use invalidateQueries

* refactor services api

* optimize hooks queryKey

* refactor orders api

* typo refactor hooks

* fix telegramId type (number)

* fix bot with new api

* rename customers masters & clients query

* fix useClientsQuery & useMastersQuery query

* new line after 'use client' & 'use server' directives
2025-05-20 14:27:51 +03:00
vchikalkin
f2f7138c67 add result pages (success, error) 2025-05-09 18:26:18 +03:00
vchikalkin
0ed90d5451 split next-button into two buttons 2025-05-09 17:56:53 +03:00
vchikalkin
1528cc25b8 create order works! 2025-05-08 19:30:00 +03:00
vchikalkin
24fb2103f7 apps/web: rename actions/service -> actions/services 2025-05-08 16:47:02 +03:00
vchikalkin
3738c4e2a9 select time feature & get final order values 2025-05-07 17:33:35 +03:00
vchikalkin
7fcf67eece skip master select for master & client select for client 2025-05-06 13:14:48 +03:00
vchikalkin
7e886172f2 pass order store via context 2025-04-30 18:58:46 +03:00
vchikalkin
e6f2e6ccaf migrate from order context to zustand store 2025-04-29 17:48:11 +03:00
vchikalkin
7e143b3054 split datetime-select into files 2025-04-16 16:03:58 +03:00
vchikalkin
68d2343e98 Revert "contacts: skip client step for client"
This reverts commit db9af07dab9df9428561a1952f5a2c91c5b9d88d.
2025-04-16 13:56:05 +03:00
vchikalkin
47144e8126 ServiceSelect: fix padding 2025-04-16 12:49:36 +03:00
vchikalkin
db9af07dab contacts: skip client step for client 2025-04-16 12:45:01 +03:00
vchikalkin
bc974ffc40 back-button: fix steps using 2025-04-16 12:24:03 +03:00
vchikalkin
4143151cbb add self to masters list & border avatar 2025-04-09 19:12:01 +03:00
vchikalkin
8eece70ff4 add ClientsGrid & 'client-select' step 2025-04-09 16:51:25 +03:00
vchikalkin
0281e99403 create MastersGrid & master-select step 2025-04-09 13:48:20 +03:00
vchikalkin
461bca0a0b prepare for split contacts grid into masters/clients grid 2025-04-09 13:18:22 +03:00
vchikalkin
1e69802b82 Revert "add check icon for masters"
This reverts commit cc81a9a504918ebbffcca8d035c7c4984f109957.
2025-04-08 11:32:15 +03:00
vchikalkin
cc81a9a504 add check icon for masters 2025-04-07 18:27:51 +03:00
vchikalkin
687a5b66c0 fix step components rendering 2025-04-07 17:54:07 +03:00
vchikalkin
5f0d707884 fix calendar padding 2025-03-14 14:37:59 +03:00
vchikalkin
79570efe1a save selected date to context 2025-03-14 13:56:36 +03:00
vchikalkin
cab23ac932 service component: comment span 2025-03-14 13:29:31 +03:00