- Reports -> Staff (src/pages/reports/staff): shifts (pay, collected, to hand over, the counted difference, cancellations; a shift opens the overview's shift dialog; the owner deletes one), cash handover (starting cash, cash, card, refunds, to hand over, counted), sales by person (orders, units, cancellations, hours, sales net of refunds, per hour, share; ranked) - the v1 activity and leaderboard views merged into it - Reports -> Cancellations and discounts (src/pages/reports/misc), with totals per person; Technical (printing: tickets, failed, printed first time, per printer, every ticket with its error, the receipt-printer summary; logs for the owner) - v1 printer history + printer health merged - Prep zones report (per zone: items, value, products, orders; per-zone Excel downloads built in the browser with the server's Excel rules; print a zone) and Expenses report (period, status, category; split by category or supplier; payments) - its categories now match what Finance saves (the v1 report listed categories that never existed) - kit: csvText() / download(); PrintDialog modes for the printer summary - v1 report kit (reports/shared) and every v1 report view deleted; src/pages/reports is v2 (all but LogsPanel strict) - tests: reports.test.mjs (+1), e2e manager.mjs (every report opens, a shift's details, the ranking) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
1.5 KiB
JSON
10 lines
1.5 KiB
JSON
{
|
|
"_comment": "Plan step 6.1: what is on the v2 rules. `paths` (files or folders): `npm run lint` checks them, and tests/v2-guards.test.mjs refuses Greek and colour literals in them. `strict`: also no setState in effects (data loads with useLiveQuery / react-query). Each phase 6 step adds what it converted; 6.14 ends with `src`.",
|
|
"paths": [
|
|
"src/shell", "src/live", "src/pages/platform", "src/pages/online", "src/pages/media", "src/pages/signage", "src/pages/staff", "src/pages/Settings/sections", "src/pages/LoginPage.jsx", "src/components/NotificationBell.jsx", "src/components/PhoneListener.jsx", "src/pages/PhonePage.jsx", "src/store/phoneStore.js", "src/components/UserMenuButton.jsx", "src/api/client.js", "src/store/authStore.js", "src/main.jsx", "src/pages/overview", "src/hooks", "src/pages/products", "src/pages/pricing", "src/pages/floor", "src/pages/Management/TablesConfigPage.jsx", "src/pages/orders", "src/pages/printing", "src/pages/schedule", "src/pages/reports"
|
|
],
|
|
"strict": [
|
|
"src/live", "src/pages/staff/SessionsPage.jsx", "src/pages/overview", "src/pages/online/OnlineOrdersPage.jsx", "src/hooks", "src/pages/products", "src/pages/pricing", "src/pages/floor", "src/pages/orders", "src/pages/printing", "src/pages/staff", "src/pages/schedule", "src/pages/reports/kit", "src/pages/reports/today", "src/pages/reports/store", "src/pages/reports/products", "src/pages/reports/staff", "src/pages/reports/misc", "src/pages/reports/technical", "src/pages/reports/prepzones", "src/pages/reports/expenses"
|
|
]
|
|
}
|