Project

General

Profile

Edit Copy Actions

Bug #12284

open

Solved UI issues in purchase vendor issues

Added by Yalavarthi Thriveni 6 days ago. Updated 5 days ago.

Status:
Resolved
Priority:
High
Target version:
-
Start date:
11/23/2026
Due date:
11/24/2026 (4 days late)
% Done:

0%

Estimated time:
Spent time:
Tested Date:
11/20/2026
Raised by Tester:
Page/ Module (POS):
Purchases – Vendors


Add

Subtasks


Add

Related issues

Actions #1

Updated by Yalavarthi Thriveni 6 days ago

  • Description updated (diff)
Actions #2

Updated by Karthik Palakonda 6 days ago

  • Status changed from New to In Progress

Updated by Karthik Palakonda 5 days ago

  • Due date set to 11/24/2026
  • Status changed from In Progress to Resolved

1. Gem-AI & Rule-Based Comparison Reasoning
Enhanced Purchasing Recommendation Engine:
Upgraded ruleBasedReason in vendorSourcingAi.service.js to incorporate operational logistics (lead time, shipping mode, transit time, delivery terms) and full cost breakdown (unit landed cost + total order cost).
Resolved issue where current suppliers were excluded from the analysis if an order fell below their MOQ. The engine now explicitly explains why a current primary supplier cannot fulfill the order (e.g., minimum order constraints).
Added automatic capitalization for vendor names and preserved actionable approval warnings (e.g., shelf life).
Enhanced buildPrompt so AI-generated responses (Gemini) receive all operational parameters (moq, notCoveredReason, shippingMode, deliveryTerms, transitDays, totalLanded).
Frontend Integration: Improved readability and typography (leading-relaxed) in CompareVendorsPage.tsx.
2. Price Book UI & Usability Enhancements (PriceBookPage.tsx)
Collapsible Stats Overview: Implemented a collapsible stats header with custom icons and loading states for quick purchasing insights (Variants, Awarded, Awaiting Admin, Expiring Quotes, Missing Backups).
Search & Filter: Added real-time search across products, variants, and vendor names with instant filtering for both "By product" and "By vendor" views.
Responsive Pagination: Replaced fixed pagination with ResponsivePaginationControls and eliminated unwanted white background containers.
Card Redesign: Refactored "By vendor" cards with distinct header bars, status tags, count chips, and clean product lists.
3. Award Board & Sourcing Pages UI Polish
AwardBoardPage.tsx:
Fixed button font visibility across hover, active, and disabled states (#ffffff text).
Streamlined header description text for a cleaner, compact UI layout.
DecisionPage.tsx & Page Headers:
Replaced custom arrow navigation with standard <PageHeader onBack={...}> for navigation consistency.
Prevented breadcrumbs and crumbs from flashing while data is in a loading state across Decision, Compare, and Review pages.
4. Testing & Verification
Backend: test/unit/vendorSourcing/vendorSourcingAi.test.js and vendorComparison.test.js — All 23 unit tests passing.
Frontend: src/pages/Nuresy/vendors/sourcing/sourcingUtils.test.ts — All 20 tests passing.

Edit Copy Actions

Also available in: Atom PDF