سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 22:00 UTC
docs: record F2 keyboard search exact-SHA Chromium/CI/Pages/live deployment verification
davoodmehraban89 committed
Oct 12, 2026 at 00:19 UTC
15a1680a2ef9e1e6c239f6e0d2119285531b2024
1 file changed
+1
-1
PROJECT_STATE.md
+1
-1
@@ -235,4 +235,4 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
235
- Implementation: `js/ux-hardening-r2.js` now tracks highlighted item in each integrated combobox with ARIA listbox active-descendant, filtered search, ArrowUp/ArrowDown, PageUp/PageDown, Home/End, mouse-wheel scrolling and pointer hover; Enter chooses the highlighted exact item rather than first result. Product dropdown remains safely portaled out of clipped invoice table; underlying filtered tenant catalog, price/unit change handlers and Persian normalization preserved.
236
- F2 routes the active entry view through existing dedicated validation/save handlers (sales invoice, purchases, goods/services, contacts, cheques, expenses, accounting draft journal, default settings, company form when focused). Missing rows, missing product/contact names, invalid native controls and unsupported views explain the block. An active modal is not silently approved via keyboard; modal-specific confirmation must use its own safe action. **Sales F2 creates a draft only; it never finalizes the accounting posting.** Purchases currently auto-post when saved in existing code, so F2 **requires explicit user confirmation** before invoking purchase Save; refusal performs no operation. Ctrl+S and Ctrl+Enter remain available.
237
- Independent Remote Desktop Commander `DESKTOP-71SJ63M`, cloned exact branch commit `cd5e04408d81eacaf66be97ee9d2b89d85e22915`, `node scripts/ux-hardening-r2-check.mjs` PASS, `node scripts/syntax-check.mjs` PASS (55 JS/52 MJS), Chromium `npx playwright test scripts/ux-keyboard-f2.spec.js scripts/ux-hardening-r2.spec.js scripts/accounting-document-workflow.spec.js --reporter=line --workers=1` **14/14 PASS (19.7 s)**. Real app invoice fixture verifies F2 rejects empty line and saves one formal **draft** with zero journal vouchers. Other tests cover product/person matching, Arrow+Enter selected not first, 48-product wheel/PageDown/Home/End, Escape, F2 form/unsupported modal/company/default settings/purchase explicit confirmation. Synthetic QA data only; no owner accounts or financial writes.
238
-- **Implementation QA PASSED / protected PR CI and production deployment PENDING.** Next: open PR, require Quality+Security green at exact head SHA, merge, verify main Release Gate+Pages+domain asset, then update ledger. Owner-authenticated full live workflow NOT VERIFIED. No schema/RLS/auth/roles/posts/production data changed. Rollback: revert narrow PR and deploy previous version `v=20261011-modal-close-v4`.
238
+- **IMPLEMENTED / MERGED / PROTECTED-MAIN CI & RELEASE / DEPLOYED / READ-ONLY LIVE ASSET VERIFIED.** PR #83 merged to `main` SHA `641b68669057ef429ae158744a86cba9a00dca31`; exact-SHA main Quality `38173607090` SUCCESS, Security `38173607091` SUCCESS, Release gate `38173716820` SUCCESS, gated Pages `38173732898` SUCCESS (skipped/cancelled duplicate workflow runs were not used as evidence). Independent Desktop Commander `DESKTOP-71SJ63M` real Chromium after checkout of **exact main merge commit**: `scripts/ux-keyboard-f2.spec.js` + `scripts/ux-hardening-r2.spec.js` **PASS 12/12 (6.0s)**; `node scripts/ux-hardening-r2-check.mjs` PASS; `node scripts/syntax-check.mjs` PASS (55 JS + 52 MJS). Remote GET `https://factoreasy.ir/?keyboardQa=20261011` HTTP 200 and exact referenced deployed `js/ux-hardening-r2.js?v=20261011-combo-keyboard-f2-v5` HTTP 200; JS body verified `finoraConfirmActiveFormF2`, active-option ARIA, wheel, PageDown and F2 listener all present. **User-authenticated actual existing-goods list and physical keyboard on owner's browser remain UNVERIFIED**, and not every optional module has an unambiguous save action: when F2 cannot safely determine one, it explains the reason instead of triggering posting/destructive actions. No schema/RLS/auth/roles/posts/customer financial data changed. Rollback: revert PR #83 and redeploy previous UX bundle `v=20261011-modal-close-v4`.