Commit Graph
57 Commits
Author SHA1 Message Date
Alireza HassaniandCursor b861ab3dc1 Refresh static image slots from the website catalog.
The dashboard can import and drop slots from the live site instead of creating them by hand.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 09:55:03 +03:30
Alireza HassaniandCursor 36180cda2b Give dashboards a themed orb background and a solid current-nav state.
Login pages share the same wash as the app shell; customer light mode matches business while dark mode stays gray.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 09:00:08 +03:30
Alireza HassaniandCursor e0e68de30f Add a reusable website link generator and polish static image cards.
Editors can pick product, store, blog, portfolio, or video category links, and image cards expose compact info/link actions without dumping URLs in the footer.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 00:30:01 +03:30
Alireza HassaniandCursor b9024ad77a Add a static images manager and polish dashboard layout and fonts.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 23:56:17 +03:30
Alireza HassaniandCursor e79211e3cd Move e-payment to Settings and add ZarinPal credentials.
Gateway config now lives on the general Settings page, with Mellat fields in a 3-column layout and ZarinPal available at checkout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 01:45:41 +03:30
Alireza HassaniandCursor 9a59bc8f65 Rename store items to store products and add an empty-state CTA.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 14:56:08 +03:30
Alireza HassaniandCursor 8e8929050e Show Arvan DNS errors when adding a domain in super-admin.
Add-domain now reports dnsError from the API and documents that tenant records are written in Arvan automatically.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:16:36 +03:30
Alireza HassaniandCursor c16ec3787b Fix dashboard production builds and default list pages to 24 items.
Unblock business/customer deploys and match the 24-per-page list rule in Super Admin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 15:19:46 +03:30
Alireza HassaniandCursor cc94b929e0 Add e-payment UI, checkout payment result, and legacy migrate domain lookup.
Wire Mellat settings in business dashboard, customer bank return page with payment details, and super-admin migrate modal domain confirmation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 09:51:22 +03:30
Alireza HassaniandCursor a11f9643bb Polish public invoice mobile typography and justified copy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 21:39:42 +03:30
Alireza HassaniandCursor 9e5a03548f Fix dashboard nginx Open Graph bot routing for invoice URLs.
Quote regex braces and proxy via rewrite so api.meshkee.com resolves without a runtime DNS resolver.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 16:21:12 +03:30
Alireza HassaniandCursor c3408a498a Route social crawlers on invoice URLs to Open Graph HTML.
Bots hitting /invoices/:id on manage get API OG markup; browsers still load the SPA.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 16:15:52 +03:30
Alireza HassaniandCursor 2be3b3376d Polish public invoice layout: account grid, duration, and copy-to-clipboard.
Also preserve item description line breaks and use local ported invoice links in DEV.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 16:03:33 +03:30
Alireza HassaniandCursor f21041b950 Make public invoices RTL for Farsi businesses and fix invoice back-arrow direction.
Also add optional English name fields on the add-customer modal to match the API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 15:46:18 +03:30
Alireza HassaniandCursor a50685ec69 Gate Finance behind a super-admin business module.
Add finance to the modules picker and hide sidebar, home tile, and customer invoice actions when it is disabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 15:23:56 +03:30
Alireza HassaniandCursor 917b840ee5 Add business Finance hub with invoices and templates.
Ship invoice issue/list/templates under Finance, fix tenant theme reset and owner role badge, and show customers-joined charts by Persian months.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 15:17:03 +03:30
Alireza HassaniandCursor 722933dda9 Tighten Users filters and admin-only header badges.
Match sticky headers to sidebar glass, drop the Users role column, and show compact owner/admin badges only where needed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 00:23:39 +03:30
Alireza HassaniandCursor 6c52ce1247 Polish dashboard page chrome and user access UI.
Rename Customers to Users with FA/EN titles, compact headers and filter bars across apps, and refine manager role copy plus a customer-header link to the business dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 00:00:09 +03:30
Alireza HassaniandCursor beec3035e5 Fix typed i18n keys for customer access labels.
Unblocks the business dashboard production build after Customer/Manager role UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 21:33:22 +03:30
Alireza HassaniandCursor f622e6d605 Add customer/manager access UI and tighten customers filters.
Business and super-admin can set Customer vs Manager roles (Admin only for super-admin), and the customers page drops clutter while filtering by all/customers/managers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 21:31:28 +03:30
Alireza HassaniandCursor 404c008ced Normalize AI product HTML for the rich text description editor.
Sanitize model output to an allowlisted fragment and convert plain/markdown fallbacks so description text stays inside the advanced editor.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 20:44:35 +03:30
Alireza HassaniandCursor 8d59166fe8 Show existing-Meshkee signup notice as an acknowledge modal.
After admit, continue via SMS OTP so login-otp can link the user to that website with unchanged password/profile.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 09:53:15 +03:30
Alireza HassaniandCursor cce28a4d7c Preserve post-login redirect for customer dashboard deep links.
Unauthenticated visits to protected pages now land on /login?redirect=…, and a shared helper keeps redirect targets same-origin only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 09:23:45 +03:30
Alireza HassaniandCursor 7374dd9978 Show Success/Failed/Started for website deploy status.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 08:52:51 +03:30
Alireza HassaniandCursor 855f337006 Clarify cross-site signup messaging and pass domain on login.
Also strengthen the businesses three-dot menu glass background.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 01:02:49 +03:30
Alireza HassaniandCursor debca2cf99 Fix typed condition labels for user-product details pages.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 00:24:01 +03:30
Alireza HassaniandCursor 1271d96539 Add customer and business user-product flows across dashboards.
Ship my-products / customer-products UI with gallery uploads, status controls, module gating, and related shared UI polish.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 00:23:03 +03:30
Alireza HassaniandCursor c5bdaad16b Show per-host SSL ensure results including www.
Avoid treating dashboard-only OK as storefront HTTPS success.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 17:57:24 +03:30
Alireza HassaniandCursor 0212148a73 Ensure per-row SSL for apex, business.*, and customer.* hosts.
Lock icon probes live TLS and issues only missing certs; toast z-index sits above modals; ssl-sync agent supports blocking wait.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:32:05 +03:30
Alireza HassaniandCursor aeaad0f645 Improve auth UX and password strength across dashboards.
Remove business self-registration, localize SMS/auth errors, add password strength + confirm on reset/signup, and brand customer role as website user. Also include websites SSL sync UI updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 23:29:55 +03:30
Alireza HassaniandCursor 656fc57494 Fix modal backdrop blur by applying filter on the overlay itself.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 18:21:43 +03:30
Alireza HassaniandCursor e6670ed06f Add store items pagination and fix modal backdrop blur across dashboards.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 18:12:17 +03:30
Alireza HassaniandCursor 4d480799b0 Add product AI fill, Enter-to-filter, and URL-persisted product filters.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 16:35:14 +03:30
Alireza HassaniandCursor ad83fc1099 Add store-item bulk create, unlimited stock, and contact-for-price UI.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 15:36:41 +03:30
Alireza HassaniandCursor 5eaf7fb046 Polish category edit, product image placeholder, and menu blur.
Add a clear pencil edit on category rows, show a proper no-image placeholder on product cards, and strengthen overflow menu glass blur.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:46:30 +03:30
Alireza HassaniandCursor 12ab1f8006 Use HTTPS example for domain git repo placeholder.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:24:30 +03:30
Alireza HassaniandCursor 63af59f0f3 Fix super-admin build after removing edit color/locale state.
Table theme handlers still referenced deleted edit modal setters.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:20:28 +03:30
Alireza HassaniandCursor f4a087089e Improve business edit: names/about, and git URL on domain edit.
Replace color/locale in Edit business with EN/FA name and about; show git repo on Edit domain to provision storefront.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:18:31 +03:30
Alireza HassaniandCursor 7d6c1cd4e3 Add optional git repo URL on Add Domain for storefront wiring.
Super Admin can opt into websites VM provision so Deploy shows on Websites without manual slug maps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:07:56 +03:30
Alireza HassaniandCursor 42cb8efc62 Fix business sidebar NavItem typing for production build.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 10:42:33 +03:30
Alireza HassaniandCursor 0a2358b0c2 Add business modules column and selectable home charts.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 10:40:58 +03:30
Alireza HassaniandCursor a48a24e6f2 Apply tenant theme on business login and polish login branding.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 18:37:13 +03:30
Alireza HassaniandCursor 56f6b23074 Polish super-admin: EN names, blurrier popovers, domain open links.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 18:24:18 +03:30
Alireza HassaniandCursor fd4f358f50 Remove unused Eraser import from businesses page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 18:17:39 +03:30
Alireza HassaniandCursor 6771d75fae Polish businesses list: EN owner name, new themes, overflow actions menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 18:16:03 +03:30
Alireza HassaniandCursor c33cab40fe Wire SMS registration, forgot password, and one-time login.
Connect business and customer login pages to login-otp and reset-password, and document the auth flows in project context.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 15:10:51 +03:30
Alireza HassaniandCursor d8c9c0b017 Polish business dashboard profile, FA layout, and pagination.
Add a real user profile page with multi-address CRUD, localize business profile, fix RTL category tree and login/sidebar logo fallbacks, and keep pagination controls centered with aligned page meta.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 10:40:56 +03:30
Alireza HassaniandCursor 26b6b0a1b6 Keep ssl-sync.sh executable in git so VPS cron and agent can run it after deploy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 09:39:43 +03:30
Alireza HassaniandCursor 76d1cb7001 Collect owner FA/EN names and clarify SSL status labels in super-admin.
Create business now requires both locales, and the businesses list shows FA and EN owner names when available.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 09:21:07 +03:30
Alireza HassaniandCursor 672091d1f5 Polish business FA layout and wire special-group keys plus SSL sync.
RTL carousels/FABs, special key+title fields, slider gallery fixes, and dashboard SSL sync agent for super-admin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 00:06:44 +03:30