* 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
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "dotenv -e ../../.env.local next dev --turbopack",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"check-types": "tsc --noEmit",
|
|
"lint-staged": "lint-staged",
|
|
"test:unit": "vitest",
|
|
"test:e2e": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@repo/ui": "workspace:*",
|
|
"@tanstack/react-query": "^5.64.1",
|
|
"@telegram-apps/sdk-react": "^2.0.19",
|
|
"dayjs": "^1.11.13",
|
|
"graphql": "catalog:",
|
|
"lucide-react": "catalog:",
|
|
"next": "^15.1.5",
|
|
"next-auth": "^4.24.11",
|
|
"next-intl": "^3.26.0",
|
|
"next-themes": "^0.4.4",
|
|
"radash": "^12.1.0",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"use-debounce": "^10.0.4",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.49.1",
|
|
"@repo/eslint-config": "workspace:*",
|
|
"@repo/graphql": "workspace:*",
|
|
"@repo/lint-staged-config": "workspace:*",
|
|
"@repo/typescript-config": "workspace:*",
|
|
"@testing-library/react": "^16.1.0",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"autoprefixer": "catalog:",
|
|
"dotenv-cli": "catalog:",
|
|
"eruda": "^3.4.1",
|
|
"jsdom": "^25.0.1",
|
|
"lint-staged": "catalog:",
|
|
"postcss": "catalog:",
|
|
"tailwindcss": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vite-tsconfig-paths": "catalog:",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|