Commit Graph
399 Commits
Author SHA1 Message Date
devops 8242a1271f feat(support): isolated stateless customer chat with JWT gatekeeper 2026-10-14 16:48:56 +00:00
devops 8bf1843b9b fix(torob): deduplicate subtitle package size and add fresh expiry guarantee
Deploy Canina / deploy (push) Successful in 2m14s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-10-14 15:48:29 +00:00
devops 06b8d6af23 fix(torob): expand unit regex for package size deduplication (gr, gram, ml, tabs)
Deploy Canina / deploy (push) Failing after 36s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
2026-10-14 15:39:27 +00:00
devops 44bfb5c593 fix(torob): normalize suitable-for pet targets and deduplicate package size in product titles
Deploy Canina / deploy (push) Successful in 2m22s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-10-14 15:32:00 +00:00
devops 075f00a4ed fix(storefront): accurately reflect out-of-stock products based on stock quantity and stockStatus
Deploy Canina / deploy (push) Failing after 2m7s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 10s
2026-10-14 15:10:59 +00:00
devops 7f10dad448 fix(stage): route media uploads to production api.canina.ir without duplication
Deploy Canina / deploy (push) Successful in 2m22s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
2026-10-13 22:23:01 +00:00
devops 5e0541c739 fix(frontend): remove static fallback data and mock fallbacks across storefront
Deploy Canina / deploy (push) Successful in 2m24s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
2026-10-13 16:42:46 +00:00
devops ddbf1ca026 test: comprehensive test suites and quality gates pass across backend, storefront and admin
Deploy Canina / deploy (push) Successful in 4m1s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
- Backend (NestJS): 82 suites, 641 tests passing; 0 ESLint errors; 0 tsc errors. Hardened SSL cert/key matching, SSRF IP pinning, and eBank validation.
- Admin Panel (Vite/React): 48 suites, 300 tests passing; 0 ESLint errors; 0 tsc errors. Full coverage across all pages and settings.
- Storefront (Next.js): 62 suites, 368 tests passing; 0 ESLint errors; 0 tsc errors.
- Fixed unmount lifecycle guards, promise error handling, and component edge cases.
2026-10-13 16:01:00 +00:00
devops 75cb2c2564 fix(seo): fix baseCanonical scope variable in shop page metadata
Deploy Canina / deploy (push) Failing after 2m2s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-10-12 21:06:56 +00:00
devops 7f8e89e448 feat(seo): enforce noindex robots.txt in nginx for stage host and dynamically apply noindex metadata in blog/shop pages
Deploy Canina / deploy (push) Failing after 1m5s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
2026-10-12 21:05:11 +00:00
devops d6a2136c70 feat(inventory): link online order reservations to database hold and sync numerical stock in RSS/Torob feeds
Deploy Canina / deploy (push) Successful in 3m44s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-10-12 20:24:49 +00:00
devops 01de33ff2b fix(frontend): add missing isLoggedIn selector in ClientLayout
Deploy Canina / deploy (push) Failing after 1m59s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-10-12 19:38:00 +00:00
devops 741365f04c feat(inventory): implement numeric stock inventory across fullstack and improve prescription UX handoff
Deploy Canina / deploy (push) Failing after 2m31s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
2026-10-12 19:29:48 +00:00
devops cae22ff7c9 fix(inventory): enforce out-of-stock validation in cartStore, ordersService, and JSON-LD availability
Deploy Canina / deploy (push) Failing after 59s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-10-12 18:42:47 +00:00
parsa efb3c473c4 feat: complete scheduled publishing, security remediation and DEV_TICKETS implementation
Deploy Canina / deploy (push) Successful in 2m29s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-09-29 01:15:33 +03:30
parsa d6d4158cbe feat: implement DEV_TICKETS including product categories seeding, SEO metaTitle/metaDescription, scientificTagline, requiresRx notice, and suitableFor normalization
Deploy Canina / deploy (push) Successful in 2m19s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
2026-09-24 03:20:46 +03:30
parsa 913e6acd3d fix(admin-panel): fix blog bugs and add ingredients editor, draft autosave, and category seeding
Deploy Canina / deploy (push) Successful in 2m20s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-09-24 03:06:17 +03:30
parsa bd49fbc4a0 fix(security): remediate audit vulnerabilities SEC-001 through SEC-023
Deploy Canina / deploy (push) Successful in 2m25s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
2026-09-23 23:00:25 +03:30
parsa dc88677169 fix(security): resolve all critical, high, and medium security vulnerabilities
Deploy Canina / deploy (push) Waiting to run
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 11s
2026-09-23 22:05:12 +03:30
parsa aghaei 204350eff8 feat(financial): add enable/disable toggle for shelter animal charity and round-up donation
E2E Playwright Tests / Run Full E2E & Security Suites (push) Waiting to run
Deploy Canina / deploy (push) Has been cancelled
2026-09-13 09:41:56 +03:30
parsa aghaei e7ded849f6 fix(cart): hide prices, discount coupon, and totals in cart when prices are disabled in catalog mode
Deploy Canina / deploy (push) Successful in 2m21s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-09-13 08:57:44 +03:30
parsa aghaei ef0731ffac fix(storefront): remove inquiry price everywhere and fix mobile add to cart button visibility
Deploy Canina / deploy (push) Successful in 3m41s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-09-13 08:49:06 +03:30
parsa aghaei 8e4ee9849c fix(catalog): fix mobile navigation, catalog preorder priority, admin settings and buybox
Deploy Canina / deploy (push) Successful in 3m37s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
2026-09-13 07:44:55 +03:30
parsa 3261a8341c feat(catalog): fix catalog mode toggles, cart persistence, preorder btn, and dashboard visibility controls
Deploy Canina / deploy (push) Successful in 4m26s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 9s
2026-09-12 23:34:01 +03:30
parsa aghaei ba9472c938 fix(home): fix mobile slider vertical scroll chaining, unify view-all headers, and enhance CTA and navigation cards
Deploy Canina / deploy (push) Successful in 2m23s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-06 12:00:41 +03:30
parsa aghaei 49eb1e5ff3 fix(catalog,footer): resolve catalog footer white gap, refine mobile footer layout and improve micro-scrollbar contrast
Deploy Canina / deploy (push) Successful in 2m25s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-06 11:56:40 +03:30
parsa aghaei c5d975e0c7 feat(catalog): add breadcrumb, back button, micro-scrollbar and eliminate white gap
Deploy Canina / deploy (push) Successful in 2m25s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-06 11:42:10 +03:30
parsa aghaei 81b16e4c62 feat(footer): add expandable read-more and read-less with gradient fade for SEO brand text
Deploy Canina / deploy (push) Successful in 2m17s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-06 11:36:40 +03:30
parsa aghaei 1ea9920914 fix(layout): remove pb-16 gap from main container above footer
E2E Playwright Tests / Run Full E2E & Security Suites (push) Waiting to run
Deploy Canina / deploy (push) Has been cancelled
2026-09-06 11:34:35 +03:30
parsa aghaei 87d47d1a0b style(footer): optimize mobile layout to be compact, elegant, and space-efficient
E2E Playwright Tests / Run Full E2E & Security Suites (push) Waiting to run
Deploy Canina / deploy (push) Has been cancelled
2026-09-06 11:31:59 +03:30
parsa aghaei 5bddfd84ce feat(home): mobile 1.5 card slider with refined micro-scrollbar for video & blog sections
Deploy Canina / deploy (push) Successful in 2m22s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-06 11:29:03 +03:30
parsa aghaei 01a538ca5a feat(home): mobile 1.5 card horizontal slider with scrollbar for featured products
Deploy Canina / deploy (push) Successful in 2m21s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-06 11:25:21 +03:30
parsa aghaei 881f75a372 refactor(mobile): refine bottom nav tabs, hardware back dismissal, and live shop search
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
Deploy Canina / deploy (push) Successful in 2m26s
2026-09-06 11:20:47 +03:30
parsa aghaei 1c98f1bfa3 feat(mobile): app-like bottom navigation, mobile top logo ticker, and header optimization
Deploy Canina / deploy (push) Successful in 2m31s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-06 10:45:30 +03:30
parsa aghaei 808b5c58d4 style(shop): refine mobile filter action sheets, spacing, and micro scrollbar
Deploy Canina / deploy (push) Successful in 2m28s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-06 10:30:54 +03:30
parsa aghaei a9fbcbb90c feat(shop): mobile filter slider, list/card view toggle, and breadcrumb fixes
Deploy Canina / deploy (push) Successful in 2m31s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-06 09:30:02 +03:30
parsa aghaei f81aabb479 fix(seo): prevent duplicate brand affixes in page titles and add checkout success metadata
Deploy Canina / deploy (push) Successful in 2m30s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-05 19:43:28 +03:30
parsa aghaei c57f775cb4 fix(otp): support WebOTP sms pattern with {0} and {1} and robust code extraction
Deploy Canina / deploy (push) Successful in 3m53s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-05 19:36:49 +03:30
parsa aghaei 1fd9a92dd0 fix: restore WebOTP with root-cause fix for code not filling into OTP inputs
Deploy Canina / deploy (push) Successful in 2m23s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
The original bug was that the WebOTP effect had [subView, triggerVerifyOtp]
as its dependency array. triggerVerifyOtp is a useCallback that depends on
[fetchProfile, onClose] - both of which can change reference during normal
re-renders. Each reference change caused React to re-run the effect, which
called AbortController.abort() on the still-pending OTP Promise. The user
would see the 'Allow' modal, click Allow, but the Promise was already aborted
so nothing happened.

Fix: use triggerVerifyOtpRef (a stable ref) so the WebOTP effect only depends
on [subView] / [step]. The ref is kept up-to-date via a dedicated sync effect.

Additional improvements:
- 400ms delay before auto-verify so user can see the filled boxes
- toEnglishDigits on otp.code to handle Persian numerals in the response
- Same fix applied to LoginModal (handleVerifyOtpWithCode -> verifyOtpRef)
2026-09-05 18:41:05 +03:30
parsa aghaei 86e8101d8c fix: mobile UX improvements - scroll restoration, OTP autofill, swipe direction, back button
Deploy Canina / deploy (push) Successful in 2m27s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
- ClientLayout: implement proper manual scroll restoration using module-level
  _wasPopNavigation flag and sessionStorage. Fixes scroll jumping to top/bottom
  on Back navigation. Scroll position saved on scroll (debounced) and cleanup,
  restored via double-rAF on popstate navigation.

- AuthModal/LoginModal: fix Android back button to push only ONE history sentinel
  on modal open (not on every subView/step change). Prevents stacking of extra
  history entries. Back in sub-views re-pushes sentinel for next back press.

- AuthModal/LoginModal: remove navigator.credentials.get (WebOTP API) which was
  showing an intrusive permission modal. The native autoComplete=one-time-code
  on the first OTP input provides the suggestion bar above the keyboard instead.

- AuthModal/LoginModal: add isVerifyingRef guard to prevent double toast on
  successful login. Both onComplete callback and form submit were calling
  triggerVerifyOtp/handleVerifyOtpWithCode simultaneously.

- AuthModal: remove triggerVerifyOtp from handleOtpChange to eliminate the second
  duplicate call (only onComplete now triggers verification).

- OtpInput5: remove maxLength=1 restriction from first input so browser can
  inject the full 5-digit OTP code. Multi-char input is already handled by
  handleDigitChange which distributes digits across all boxes.

- ProductPage: fix swipe gesture direction in media gallery. Swipe right -> next
  item, swipe left -> previous item (matches RTL intuition for Persian users).
2026-09-05 18:19:11 +03:30
parsa aghaei 1d2d141514 fix(mobile): improve scroll restoration, media gesture swipe, 5-digit otp, persistent cooldown and modal android back navigation
Deploy Canina / deploy (push) Successful in 2m6s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-05 17:53:29 +03:30
parsa aghaei 00cfd1a2a0 feat(catalog): redesign digital catalog spread with luxury European apothecary layout and mobile gesture navigation
Deploy Canina / deploy (push) Successful in 2m1s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-05 17:16:35 +03:30
parsa aghaei 30fb8f3e83 fix(frontend): enhance species badges, smart symptom matching, and sync charity total
Deploy Canina / deploy (push) Successful in 2m5s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s
2026-09-05 16:37:35 +03:30
parsa aghaei 2c377cab88 fix(app): improve wallet history display, fix order details modal layout and lint errors 2026-09-05 15:16:20 +03:30
parsa aghaei 4be51741e0 feat(order): store structured json address and render cleanly in admin modal
Deploy Canina / deploy (push) Failing after 7s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 3s
2026-09-05 11:35:07 +03:30
parsa aghaei 9e3ea3a1b1 fix(order): robust shipping address extraction for sms and enable address editing in checkout
Deploy Canina / deploy (push) Failing after 7s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 3s
2026-09-05 11:19:26 +03:30
parsa aghaei 99e726b08b fix(admin,sms,ui): resolve LTR input icon overlap, clarify melipayamak pulses credit and update UI texts
Deploy Canina / deploy (push) Successful in 3m51s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
2026-09-05 09:09:36 +03:30
parsa aghaei c247f21d83 perf: defer 3rd-party analytics, optimize responsive image sizes, and prioritize LCP hero banner
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
Deploy Canina / deploy (push) Successful in 2m2s
2026-09-02 16:38:04 +03:30
parsa aghaei 379fc1bb77 fix(images): route Next.js Image Optimization to remote backend and eliminate hydration mismatch
Deploy Canina / deploy (push) Successful in 2m5s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 8s
2026-09-02 16:22:16 +03:30
parsa aghaei 08ad51152f feat(images): enable Next.js image optimization with complete upstream buffer retrieval and explicit MIME types
Deploy Canina / deploy (push) Successful in 2m4s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
2026-09-02 16:14:33 +03:30