Project

General

Profile

Actions

ClientProject #2978

open

ClientProject #2748: Issue : Full Layout Implementation for Mobile, Tablet, and Desktop Responsiveness

ClientProject #2751: [FE]: Common components

ClientProject #2753: [FE] Filter section

[API] Ingerate filter api

Added by Nazmul Hossain Shovon 8 months ago. Updated 8 months ago.

Status:
Complete
Priority:
High
Target version:
Start date:
08/22/2025
Due date:
08/22/2025 (about 8 months late)
% Done:

100%

Estimated time:
4:00 h
Spent time:

Description

Page-Specific Filter Logic & Server Components

  • Introduced page-specific filter logic for truck and Korean stock pages.
  • Added new server components: TruckFilterServer and KoreanFilterServer to fetch and provide relevant filter data for their respective pages.
  • Updated main stock pages (all-stock, korean-stock, stock-list, truck-stock) to use these server components and display a loading skeleton (FilterSearchSkeleton) while loading.
    FilterSearch Component Enhancements
  • Refactored FilterSearch to support dynamic filter options and page-specific logic.
  • Added a "3rd party" filter toggle (FilterCheck) that switches between bulk and order filter data.
  • Disabled the "3rd party" toggle for truck and Korean stock pages.
  • Improved comboboxes to show counts and support disabling, with better state management for all filter fields.
  • Added a debounce/delay (500ms) to the filter toggle button to prevent rapid toggling.
    UI/UX Improvements
  • Added a new FilterSearchSkeleton for loading states.
  • Improved grid/collapse logic for filter fields using a custom hook (useFilterSearchGrid).
  • Enhanced combobox and filter input UX, including disabling and showing counts.
    Constants & Configs
  • Centralized page identifiers (TRUCK_PAGE, KOREAN_PAGE, HOME_PAGE) and filter toggle delay in constants.ts.
  • Modularized filter configs in filterConfigs.ts for easier maintenance and extension.
Actions

Also available in: Atom PDF