Fix builder UX

This commit is contained in:
lumijiez
2025-06-29 21:58:37 +03:00
parent 460d13c143
commit 4cb6dd0759
21 changed files with 4098 additions and 1577 deletions

12
ui/src/constants/index.ts Normal file
View File

@@ -0,0 +1,12 @@
import { SortOption } from '@/types';
export const SORT_OPTIONS: SortOption[] = [
{ value: 'Name-ASC', label: 'Name (A-Z)' },
{ value: 'Name-DESC', label: 'Name (Z-A)' },
{ value: 'Price-ASC', label: 'Price (Low to High)' },
{ value: 'Price-DESC', label: 'Price (High to Low)' },
{ value: 'CreatedDate-DESC', label: 'Newest First' },
{ value: 'CreatedDate-ASC', label: 'Oldest First' }
];
export const PAGE_SIZE_OPTIONS: number[] = [12, 24, 48, 96];