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
|
fda1a0a531
|
packages/graphql: add eslint
|
2025-05-10 15:46:33 +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
|
b5306357c8
|
fix submit button not working
|
2025-05-06 10:57:46 +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
|
2bc7607800
|
improve useSlots hook
|
2025-04-16 17:19:22 +03:00 |
|
vchikalkin
|
7e143b3054
|
split datetime-select into files
|
2025-04-16 16:03:58 +03:00 |
|
vchikalkin
|
1e6718508a
|
fix steps for client & master
|
2025-04-16 15:22:25 +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
|
1883280dca
|
fix react types
|
2025-04-16 12:47: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
|
c09e79b024
|
.vscode: add launch.json
|
2025-04-16 11:23:36 +03:00 |
|
vchikalkin
|
2676e40df6
|
packages: upgrade next@15.3.0
|
2025-04-16 10:53:31 +03:00 |
|
vchikalkin
|
dd99e7d984
|
context/order: skip client-select in client steps
|
2025-04-10 14:36:27 +03:00 |
|
vchikalkin
|
ec32f56f8b
|
hooks/profile: allow pass empty args to useProfileQuery/useProfileMutation
|
2025-04-10 12:46:07 +03:00 |
|
vchikalkin
|
8c8a588dfc
|
context/order: split into files
|
2025-04-10 11:37:27 +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
|
2a830ceffb
|
optimize useCustomerContacts
|
2025-04-09 16:10:27 +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
|
4f87d17e8e
|
slot list: render immediately
|
2025-04-01 17:20:30 +03:00 |
|
vchikalkin
|
aacb7fa998
|
hooks/slot: rename index -> master
|
2025-03-14 17:58:44 +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 |
|
vchikalkin
|
2bbe9731b1
|
disable submit button if no service selected
|
2025-03-13 13:47:44 +03:00 |
|
vchikalkin
|
3a649e5825
|
disable submit button if no customer selected
|
2025-03-12 17:18:06 +03:00 |
|
vchikalkin
|
cf5ceae115
|
components/order-form: add back button
|
2025-03-12 16:58:15 +03:00 |
|
vchikalkin
|
8931dfc69f
|
Revert "context/order: add masterId"
This reverts commit d5d07d7b2f5b6673a621a30b00ad087c60675a3f.
|
2025-03-12 16:53:04 +03:00 |
|
vchikalkin
|
d5d07d7b2f
|
context/order: add masterId
|
2025-03-12 14:19:36 +03:00 |
|
vchikalkin
|
4db10a7f63
|
add calendar & time picker
|
2025-03-10 18:58:04 +03:00 |
|
vchikalkin
|
b6d7fabba1
|
add service select
|
2025-03-10 18:18:23 +03:00 |
|
vchikalkin
|
fbc682b41f
|
add contacts scroller
|
2025-03-07 16:13:58 +03:00 |
|
vchikalkin
|
b418790ae4
|
packages: upgrade 'eslint-config-awesome'@2.2.2, 'eslint'@9.17.0
|
2025-02-27 13:24:00 +03:00 |
|
vchikalkin
|
042b3f4308
|
apps/web: upgrade package 'next'@15.2.0
|
2025-02-27 12:33:44 +03:00 |
|
vchikalkin
|
498f580dd9
|
organize components exports
|
2025-02-26 17:57:27 +03:00 |
|
vchikalkin
|
cc30d0163c
|
fix login via telegram
|
2025-02-20 19:18:56 +03:00 |
|
Vlad Chikalkin
|
06be87f0ec
|
Feature/records (#22)
* components/profile: rename components files
* components/profile: organize files & folders
* split DataCard to 2 components
* [2] components/profile: organize files & folders
* data-card: fix phone field disabled
* fix card header color
* add schedule button for master
* fix navigation & profile background
* add basic schedule page
* fix bottom navbar overflows content
* header: remove bottom margin
* replace vanilla calendar with shadcn/ui one
* add slot functional
* fix forbidden error
* add slot operations
* show slots
* filter by selected day
* add hook useSlots
fix update slots list after add slot
fix initial fetch slots
* use slots hooks
* split edit-slot-form into files
* rename /time-slots -> /components
* refactor components & folders structure
* add feature: delete slot
* hooks/slot: update query keys
* add hooks/profile
* add hook useProfileMutation
* use useProfileMutation hook for update role
* rename useProfile -> useProfileQuery
* fix useProfileQuery queryKey
* add hook useContactsQuery
* remove unused ternary operator
* header: add backdrop blur
* create slot cards
* fix elements y center
* fix getSlots filters
* ui/ux improvements
* fix date time types & names
* move profile components from sub folder
* add basic slot page
* fix add slot form padding x
* add slot buttons
* extend slot card information
* fix import type
* use Container in pages
* change orange -> yellow for dark
* use Loading spinner in slots list
* refactor \components\schedule dir structure
* add orders list
* change query & mutation keys
* change url /profile/schedule/slot/ -> /slots/
* order: show services
* remove prefetchQuery
* bring the results of queries and hooks into a single form
* react query: globally show error toast
* add font inter
* fix header: center text
* orders: add sorting
* order card: add avatar
* rename records -> orders
* reduced text size
* fix slot buttons
* fix datetime card ui
* fix header: center text (finally)
* layout/container: last:mb-4
* fix type
* slot-datetime: use ReadonlyTimeRange
* rename files & components
* remove unnecessary context using
* feature: edit slot time
* fix: selected day reset after go back to /schedule
* rename AddTimeRange -> EditableTimeRangeForm & refactor
* fix some elements on page before data loaded
* fix text size
* slot-card: remove gap
* slot-date: remove margin
* fix slots & orders layout
* toast: show error text in ui
|
2025-02-20 18:11:28 +03:00 |
|