Commit Graph

33 Commits

Author SHA1 Message Date
1da7df0786 fix(openapi): format tags in openapi.json for consistency
Updated the formatting of tags in the openapi.json file to use array notation consistently across all endpoints. This change improves readability and maintains a uniform structure in the API documentation.
2026-09-09 18:53:08 +03:30
2580f04f06 fix 2026-09-09 11:45:12 +03:30
1612e3575d feat(events): add admin UI to create events for verified hosts
Wire manage-events/new with host picker and create flow against the new
admin create API, including entry points from the events list and user detail.
2026-09-09 11:22:00 +03:30
aff6eeace6 feat(api): add new endpoints for notifications and event FAQs
- Introduced a new PATCH endpoint `/api/v1/notifications/me/read-all` to mark all unread notifications as read for the authenticated user.
- Added a new GET endpoint `/api/v1/events/{eventId}/faqs/page` for retrieving paginated FAQs related to a specific event, with support for pagination, sorting, and filtering.
- Updated the existing GET endpoint `/api/v1/events/{eventId}/guest-list-links/invited-guests/page` to include pagination parameters.
2026-09-08 18:54:09 +03:30
5205ad6d16 fix 2026-09-08 18:51:43 +03:30
8d2e19ac7d fix(deploy): reject loopback API_PROXY_TARGET in production builds
Prevents baking self-proxy /api and /chat rewrites that pin a CPU core inside Docker.
2026-09-08 14:06:20 +03:30
5404974c32 refactor(TextEditor, Dropdown, UserDropdown): improve dropdown trigger implementation and styling
- Updated `TextEditor` component to use consistent class names for dropdown triggers, enhancing maintainability.
- Refactored `Dropdown` component to resolve trigger properties more reliably, ensuring proper rendering of button-like triggers.
- Modified `UserDropdown` to utilize `buttonVariants` for styling the dropdown trigger, improving visual consistency across components.
2026-09-08 11:51:36 +03:30
8967a48f94 fix 2026-09-07 21:51:09 +03:30
c2bc256103 fix(chat): use Engine.IO path /chat for admin oversight socket
Match consumer/backend so oversight realtime uses wss://host/chat instead
of the default /socket.io path.
2026-09-07 21:49:25 +03:30
3517a1c86c fix(auth): adjust layout width for better responsiveness
- Updated the layout width in `AuthLayout` to a fixed width of 400px for improved consistency and user experience.
2026-09-07 21:24:22 +03:30
525fcbfaa5 chore: bump version to 0.1.6 2026-09-07 21:14:31 +03:30
82148b4ed0 fix(events): update waitlist auto offer label for clarity 2026-09-07 20:51:32 +03:30
25c34c8a6f chore: remove unused constants and service utility
- Deleted `discovery.ts` for unused constants related to discovery page limits and sorting.
- Removed `unwrapService.ts`, a utility function for handling service results, as it is no longer needed.
2026-09-07 20:09:22 +03:30
9f0a3bfc86 fix 2026-09-07 18:57:57 +03:30
8b6791b3a2 chore: bump version to 0.1.5 2026-09-07 18:17:22 +03:30
82593dc18c refactor(events): update event management components and remove unused files
- Replaced `LIST_PUBLIC_CATEGORIES` with `LIST_ADMIN_CATEGORIES_FLAT` in `ArticleFormModal.tsx`.
- Removed the "Add Event" button from the dashboard page.
- Simplified the `EventsPage` by removing the button and adjusting the layout.
- Cleaned up the `AdminEventEditPage` by removing unnecessary props.
- Deleted unused layout and page files related to event creation.
- Updated `AdminAuthContent` to use `useAdminCitiesQuery` instead of `useDiscoveryCitiesQuery`.
- Refactored `EventGuestListAccessPanel` to remove the `accessMode` prop and adjust API calls accordingly.
- Removed several unused components and tests related to event creation, enhancing project maintainability.
2026-09-07 18:09:55 +03:30
Ali Sagheb Zabihi
99685e058d
Merge pull request #1 from Ali-SaZa/chore/sync-openapi
chore: sync OpenAPI from backend
2026-09-07 15:20:15 +03:30
Ali-SaZa
091078c959 chore: sync OpenAPI from ghabilee-backend 2026-09-07 11:42:00 +00:00
98e6482c0c feat(events): manage tiered cancellation policies 2026-09-07 14:37:58 +03:30
0421b4f6ee fix 2026-09-07 14:30:56 +03:30
15beeb5897 chore(api): rely on sibling backend or committed OpenAPI for codegen
Drop live Swagger fetch so clients stay aligned through backend OpenAPI sync PRs.
2026-09-07 14:17:33 +03:30
8721190502 chore: bump version to 0.1.3 2026-09-07 13:07:11 +03:30
dbe7768deb feat(api): update user profile and events endpoints
- Modified the summary for the public user profile endpoint to reflect that host stats are included only for verified hosts.
- Renamed the endpoint for fetching public organizer events and updated its operation ID.
- Enhanced the event listing endpoint with additional query parameters for pagination, sorting, filtering, and result types.
- Introduced a new endpoint to retrieve the profile summary for the authenticated user, including wallet balance and notification counts.
2026-09-07 13:06:50 +03:30
280eb14ee6 feat(users): expand admin users table with city, gender, wallet, and roles
Show city, gender, wallet balance, and guest/host/admin userType with
matching filters while keeping identity status for host verification.
2026-09-07 11:29:29 +03:30
094af1cb8b chore: remove 'arcaptcha-react' package from pnpm-lock.yaml
- Deleted references to the 'arcaptcha-react' package in pnpm-lock.yaml as it is no longer needed.
- This change aligns with previous cleanup efforts to enhance project maintainability.
2026-09-05 16:43:57 +03:30
840c328819 refactor: remove unused icons and dependencies
- Deleted several unused icon components including AddDocumentIcon, ArrowRightIcon, AttachIcon, and others to clean up the codebase.
- Removed the 'arcaptcha-react' package from package.json and next.config.js as it is no longer needed.
- This cleanup helps improve project maintainability and reduces bundle size.
2026-09-05 16:40:50 +03:30
f7c65cbfeb fix 2026-09-05 16:36:15 +03:30
76e65f4f79 refactor: improve code readability and validation structure
- Added a new line for better readability in the BankAccountsPage component when showing alert messages.
- Refactored the test case for isRequestHostAllowed to enhance clarity.
- Improved formatting in the CreateBankAccountFormValidation schema for the nationalCode field.
2026-09-05 16:31:02 +03:30
871176ba92 update version 2026-09-05 16:06:01 +03:30
78e4312f6c fix 2026-09-05 16:04:36 +03:30
0bb22059d0 fix 2026-09-05 15:15:35 +03:30
f9a9afc697 feat: add layout components for various admin dashboard pages
- Introduced layout components for multiple admin dashboard sections including events, audit logs, bank accounts, blog articles, bookings, chat oversight, cities, contact messages, dashboard, discount codes, event categories, guest lists, identity verifications, manage events, manual notifications, notification rules, payments, provinces, push deliveries, reviews, settlements, sms messages, support tickets, user reports, and users.
- Updated metadata for the auth layout to include the admin page title.
- Modified branch protection documentation to clarify deployment notifications.
2026-09-05 14:29:43 +03:30
e1eaf5eff5 feat: initial ghabilee-admin backoffice app
Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js
app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
2026-09-05 13:12:59 +03:30