Build [v.1.3.6]
This commit is contained in:
@@ -1,3 +1,32 @@
|
||||
### [2026-04-11] v1.3.6: Scanner Redesign, Auto-OCR Countdown & save-version Automation
|
||||
**Purpose:** Redesign the scanner UX for hands-free operation, enforce UI typography rules, add Item Type datalist, and create a reusable `save-version` AI command.
|
||||
**Actions:**
|
||||
- `frontend/components/Scanner.tsx` — Full layout redesign: controls moved below camera viewport (no overlay). Replaced manual OCR button with automatic 4-second OCR cycle. Added visual countdown with progress bar. Removed all `uppercase`/`tracking-widest` styling per AI_RULES Section 3.
|
||||
- `frontend/components/AIOnboarding.tsx` — Added searchable `<datalist>` for Item Type field populated from existing DB types.
|
||||
- `frontend/app/page.tsx` — Added searchable `<datalist>` for Item Type to the item edit modal.
|
||||
- `frontend/app/inventory/page.tsx` — Added searchable `<datalist>` for Item Type in inventory catalog forms.
|
||||
- `scripts/save_version.py` (NEW) — Automation script for `save-version` command: bumps patch version, commits, creates snapshot branch, generates prod ZIP.
|
||||
- `AI_RULES.md` — Added Section 6 defining the `save-version` AI Command Shortcut.
|
||||
- `README.md` — Updated Production Distribution section to document `save-version` workflow.
|
||||
- `dev_docs/SESSION_STATE.md` — Updated with current session handover.
|
||||
**Status:** Stable. Ready for version bump.
|
||||
|
||||
---
|
||||
|
||||
### [2026-04-11] v1.3.5: Frontend Login Loop Fix
|
||||
**Purpose:** Fix infinite redirect loop after successful LDAP login (Chrome crash bug).
|
||||
**Actions:**
|
||||
- `frontend/lib/api.ts` — axiosInstance baseURL now lazy (set in request interceptor, not at module init) to fix SSR wrong-URL bug
|
||||
- `frontend/lib/api.ts` — 401 interceptor now guards against redirect when already on `/login`
|
||||
- `frontend/app/page.tsx` — token guard added to both useEffect hooks before any API calls
|
||||
- `frontend/lib/auth.ts` — removed temporary debug console.log statements
|
||||
- `frontend/app/login/page.tsx` — removed temporary debug console.log statements and unused `memo` import
|
||||
- `dev_docs/SESSION_STATE.md` — updated with current status (fixes applied, not yet tested)
|
||||
- `dev_docs/SESSION_HISTORY.md` — previous session archived
|
||||
**Status:** Applied, not yet tested. Server must be restarted to verify.
|
||||
|
||||
---
|
||||
|
||||
### [2026-04-11 12:45] v1.3.0: Dockerization & Export Script
|
||||
**Purpose:** Upgraded the system architecture to support seamless dual-mode execution (Dockerized or Bare-Metal/Local). Extracted data and logic persistence layers to external volumes (`/data`, `/logs`). Added a dedicated production compiler.
|
||||
**Actions:**
|
||||
|
||||
Reference in New Issue
Block a user