Project

General

Profile

Edit Copy Actions

Feature #11211

open

i am working on sorting function in all list pages customers , purchases , users , reviews , banners , advertisement , customer design ., notifications.

Added by Karthik Palakonda 5 days ago. Updated 4 days ago.

Status:
Resolved
Priority:
Normal
Start date:
10/01/2026
Due date:
10/01/2026 (4 days late)
% Done:

100%

Estimated time:
8:00 h
Spent time:

Add

Subtasks


Add

Related issues

Actions #1

Updated by Karthik Palakonda 5 days ago

  • Status changed from New to In Progress
Actions #2

Updated by Karthik Palakonda 5 days ago

  • Subject changed from i am working on sorting function in all list pages to i am working on sorting function in all list pages customers , purchases , users , reviews , banners , advertisement , customer design .
Actions #3

Updated by Karthik Palakonda 5 days ago

  • Subject changed from i am working on sorting function in all list pages customers , purchases , users , reviews , banners , advertisement , customer design . to i am working on sorting function in all list pages customers , purchases , users , reviews , banners , advertisement , customer design ., notifications.
Actions #4

Updated by Karthik Palakonda 4 days ago

  • Estimated time set to 8:00 h

Updated by Karthik Palakonda 4 days ago

  • Due date set to 10/01/2026
  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

๐Ÿ•˜ Morning Session
1. Bug Fix โ€” VendorList Crash (Noxa-Jewellery-fe)
Issue: App crashed on load with ReferenceError: Cannot access 'sort' before initialization
File: src/components/VendorList.tsx (line 232)
Fix: Resolved JavaScript temporal dead zone issue caused by const sort being used before declaration
Status: โœ… Fixed
2. Code Security Review โ€” Production Readiness Audit
Performed full security review of frontend and backend codebase
Generated audit report in table format covering all risk areas
Status: โœ… Completed
3. Sortable Header Color Fix (Noxa-Jewellery-fe)
Issue: Sortable column headers were not showing active/inactive color states correctly
Fix: Active sorted column now shows Noxa gold color; unsorted columns default to gray
Status: โœ… Fixed
4. ActionHistoryTooltip โ€” Creator Name Styling
File: src/components/ActionHistoryTooltip.tsx
Change: "Created by" name now renders in Noxa brand gold color
Status: โœ… Fixed
๐Ÿ•› Afternoon Session
5. Blog Hero Banner โ€” Mobile Responsive Fix (Noxa_E_Comm_Fe)
Files: app/blogs/page.tsx ยท app/blogs/[slug]/page.tsx ยท app/faq/page.tsx
Issue: Banner image was too large in height and width on mobile devices
Fix: Reduced hero banner height and image dimensions for mobile breakpoints
Status: โœ… Fixed
6. Dynamic Metadata / SEO Tags (Noxa_E_Comm_Fe)
Files: app/blogs/layout.tsx ยท app/blogs/page.tsx ยท app/blogs/[slug]/page.tsx
Issue: Helmet/metadata tags were static โ€” same title and description on all blog pages
Fix: Made <title>, <meta description> fully dynamic using page-level data (blog title, excerpt, category)
Status: โœ… Fixed
7. Mobile Delivery Location Modal Fix (Noxa_E_Comm_Fe)
File: components/layout/Header.tsx ยท components/layout/DeliveryLocationModal.tsx
Issue: Modal was appearing off-screen on mobile due to Header having transform: translateY which created a new stacking context
Fix: Implemented createPortal to render modal directly to document.body, added bottom-sheet mobile styling
Status: โœ… Fixed
8. Mobile Navigation โ€” Blogs Added (Noxa_E_Comm_Fe)
File: components/layout/Header.tsx
Change: Added "Blogs" link to mobile nav menu and horizontal category bar
Status: โœ… Fixed
๐Ÿ•“ Evening Session
9. Price Display Fix โ€” Double Currency Symbol (Noxa_E_Comm_Fe)
File: components/home/HomePromoSection.tsx
Issue: Price showed $$236 (double dollar sign) on product promo cards
Root Cause: Manual ${currencySymbol}${price} was prepending symbol to a value that sometimes already contained the currency symbol from the API
Fix: Replaced with Intl.NumberFormat using selectedCurrency โ€” same pattern as HomeShowcase.tsx. Added numeric sanitizer (parseFloat(val.replace(/[^0-9.-]+/g, ''))) to strip any pre-existing symbols
Status: โœ… Fixed
10. Full Security Hardening โ€” Backend (Noxa-Jewellery-be)
10a. Hardcoded Credentials Removed
File: src/blogs/blogs.service.ts
Removed hardcoded Zoho mail password fallback (bn5q9ecgD9dN)
Removed hardcoded admin email () and password (noxa@123) from getOrCreateBlogAdmin()
Removed master password bypass isOriginalMasterPass === 'noxa@123' from login logic
File: src/blogs/schemas/blog-admin.schema.ts
Removed default: 'noxa@123' and default: '' from Mongoose schema
Status: โœ… Fixed
10b. JWT Secret Hardcode Removed
File: src/app.module.ts
Removed || 'your_jwt_secret_key' fallback โ€” now throws error if JWT_SECRET env var missing
Status: โœ… Fixed
10c. CORS Restricted (was origin: true = allow all)
File: src/main.ts
CORS now only allows origins listed in ALLOWED_ORIGINS env var
Requests with no origin (mobile apps, Postman) still allowed
Status: โœ… Fixed
10d. Swagger UI Hidden in Production
File: src/main.ts
Swagger only loads when NODE_ENV !== 'production'
Moved to /api/docs route (was exposed at root /api)
Status: โœ… Fixed
10e. Body Size Limit Reduced
File: src/main.ts
Reduced from 50mb to 10mb to mitigate DoS attack risk
Status: โœ… Fixed
10f. Strong Secrets Generated & .env Updated
File: .env
Generated cryptographically strong JWT_SECRET (96-char hex via crypto.randomBytes)
Generated strong BLOG_ADMIN_DEFAULT_PASS (auto-generated, replaces noxa@123)
Added NODE_ENV, ALLOWED_ORIGINS, BLOG_ADMIN_EMAIL env vars
Added โš ๏ธ ROTATE comments for Zoho, AWS, Twilio, Gmail credentials
Status: โœ… Done
11. Blog Admin Login Form โ€” Credential Leak Fixed (Noxa-Jewellery-fe)
File: src/components/blog/BlogAdminGate.tsx
Issue: Login form was pre-filling and noxa@123 as default values โ€” visible to anyone who opens the page
Changes:
Cleared useState defaults โ€” fields now start empty
Removed all placeholder="(e.g. noxa@123)" hints
Removed from OTP toast messages and info text
Removed "Sign In with Original Password (noxa@123)" from button labels
Back to Login no longer pre-fills credentials into fields
Status: โœ… Fixed

Edit Copy Actions

Also available in: Atom PDF