Commit Graph

7 Commits

Author SHA1 Message Date
64e2c11076 feat(axios): implement token synchronization across tabs for access token refresh
Added functionality to synchronize access token refresh across multiple tabs using the `navigator.locks` API. This prevents race conditions when refreshing tokens, ensuring that a newer token published by another tab is reused instead of rotating the refresh token unnecessarily. Introduced a new method `refreshAccessTokenAcrossTabs` and updated the `getOrRefreshAccessToken` function to utilize this new method. Enhanced error handling for 401 responses to retry with the latest stored token when applicable.
2026-09-10 20:26:20 +03:30
09debac84f feat(lint): integrate Oxlint for enhanced linting capabilities
Added a new configuration file `.oxlintrc.json` to incorporate Oxlint into the project, allowing for improved linting of TypeScript and React code. Updated the linting scripts in `package.json` to run Oxlint alongside ESLint, ensuring a comprehensive linting process. This change enhances code quality and consistency across the codebase.
2026-09-10 12:54:10 +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
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
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