Apply broad UI and UX polish across the app: replace hardcoded color classes with theme tokens (background/foreground), improve card hover/spacing, and standardize form/button styles and responsive wrappers. Enhance charts with custom tooltips, gradients, empty state, legend styling, and improved axes/cursor behavior. Tidy table and data-grid styles (compact spacing, hover states, nowrap), add status badges, and wire DataTable/Customer table meta to support onDelete actions. Fix PurchaseOrder PDF generation by wrapping creation in try/catch and adjust dialog sizing; other form fixes include replacing useFieldArray update calls with form.setValue in BookOutForm. Add Playwright page snapshots and multiple PNG assets (visuals/screenshots) for testing/documentation.
12 lines
No EOL
1.3 KiB
YAML
12 lines
No EOL
1.3 KiB
YAML
- generic [ref=e3]:
|
|
- generic [ref=e4]: "[plugin:vite:react-swc] x Expected a semicolon ,-[/Volumes/KIOXIA/GITHUB/JEI_STOCK_APP/src/components/purchase-orders/PurchaseOrderDataTable.tsx:403:1] 400 | doc.text(\"This is a computer-generated document and does not require a signature.\", 105, y + 5, { align: \"center\" }); 401 | 402 | return doc.output('blob'); 403 | } catch (error: any) { : ^^^^^ 404 | console.error(\"Error generating PDF:\", error); 405 | console.error(\"Error message:\", error?.message); 406 | console.error(\"Error stack:\", error?.stack); `---- x Expression expected ,-[/Volumes/KIOXIA/GITHUB/JEI_STOCK_APP/src/components/purchase-orders/PurchaseOrderDataTable.tsx:411:1] 408 | alert(`Failed to generate PDF: ${error?.message || 'Unknown error'}. Please check the console for details.`); 409 | throw error; 410 | } 411 | }; : ^ 412 | 413 | const generatePDF = async (order: PurchaseOrder) => { 414 | try { `---- Caused by: Syntax Error"
|
|
- generic [ref=e5]: /Volumes/KIOXIA/GITHUB/JEI_STOCK_APP/src/components/purchase-orders/PurchaseOrderDataTable.tsx
|
|
- generic [ref=e7]:
|
|
- text: Click outside, press Esc key, or fix the code to dismiss.
|
|
- text: You can also disable this overlay by setting
|
|
- code [ref=e8]: server.hmr.overlay
|
|
- text: to
|
|
- code [ref=e9]: "false"
|
|
- text: in
|
|
- code [ref=e10]: vite.config.ts
|
|
- text: . |