e0321c29a0
docs: add zoom button debug guide and session 9 handover notes
2026-04-19 17:39:37 +03:00
2c7115518d
debug: add zoom capability detection logging to Scanner.tsx
2026-04-19 17:39:06 +03:00
e38002491c
Build [v1.11.0]
2026-04-19 17:32:36 +03:00
0563284e14
merge: refactor/ai-friendly-v2 - AI-friendly code reorganization complete
...
- Phase 1: 7 hooks extracted (useScanner, useStockAdjustment, useSync, etc.)
- Phase 2: 7 components extracted (CameraView, InventoryTable, FilterBar, LogsTable, etc.)
- Phase 3: Backend cleanup (schemas.py split, admin/config.py split)
- Fixes: Login endpoint routing, admin API paths corrected
- Validation: 332/332 tests passing (291 frontend + 41 backend)
- Zero regressions, full backward compatibility
2026-04-19 17:30:17 +03:00
3e9c56aa22
docs: update SESSION_STATE.md - Admin endpoint paths fixed
2026-04-19 17:23:08 +03:00
63364c1d40
fix: update admin API endpoint paths to match split routers
...
- Changed AI endpoints from /admin/db/settings/ai to /admin/ai/settings
- Changed AI prompt endpoints from /admin/db/settings/prompt to /admin/ai/settings/prompt
- Changed AI keys endpoint from /admin/db/settings/ai-keys to /admin/ai/settings/keys
- Changed AI test endpoint from /admin/db/settings/test-ai-key to /admin/ai/settings/test-key
- DB endpoints remain unchanged under /admin/db/...
- Frontend tests: 291/291 passing
- Backend tests: 41/41 passing
2026-04-19 17:22:50 +03:00
d9ead1aafd
fix: repair login endpoint registration in auth router
2026-04-19 17:20:11 +03:00
7ff9a705cd
docs: update SESSION_STATE.md - Phase 3 Backend Cleanup complete
2026-04-19 17:11:37 +03:00
8fcd4150e5
refactor: split admin/config.py into ai_config and db_config
2026-04-19 17:10:56 +03:00
239368e595
refactor: split schemas.py into schemas/ package
2026-04-19 17:08:11 +03:00
a225d2efc6
fix: restore Search icon import in inventory/page.tsx and update session state - Phase 2 complete
2026-04-19 16:13:14 +03:00
bec4b714e3
refactor: extract LogsTable component from logs/page.tsx
2026-04-19 14:58:33 +03:00
47528ea4a2
refactor: extract FilterBar component
2026-04-19 14:57:00 +03:00
1797a617ab
refactor: extract InventoryTable component
2026-04-19 14:55:53 +03:00
cf0a886b78
refactor: extract CameraView component from Scanner.tsx
2026-04-19 14:54:07 +03:00
ed5bbbfca0
refactor: extract ScannerSection component
...
- Created frontend/components/ScannerSection.tsx (76 lines)
- Moved mode switcher and scanner UI from page.tsx
- Props: mode, onModeChange, showScanner, onShowScanner, onScanSuccess, onOCRMatch, onAddItemClick
- Removed unused ArrowDownCircle, ArrowUpCircle imports from page.tsx
- All 291 tests passing, build successful
2026-04-19 14:47:15 +03:00
6eeaa89d9b
refactor: extract NewItemDialog component
...
- Created frontend/components/NewItemDialog.tsx (37 lines)
- Moved scanner prompt and add item UI from page.tsx
- Props: onScannerClick, onAddItemClick callbacks
- Removed unused Smartphone and Sparkles imports from page.tsx
- All 291 tests passing, build successful
2026-04-19 14:47:12 +03:00
3302bae766
refactor: extract StockAdjustmentPanel component
...
- Extracted from page.tsx (lines 450-710)
- Pure presentational component with all state passed as props
- Props: selectedItem, isEditing, editedItem, adjustQty, adjustType, trashReason, categories, fieldScanning
- Callbacks: onCancel, onEdit, onEditChange, onQuantityChange, onTypeChange, onReasonChange, onShowScanner, onAdjustStock, onUpdateItem, onDeleteItem
- Includes edit mode and adjustment mode with quantity controls
- 291 tests passing, build successful
2026-04-19 14:47:08 +03:00
cc6b55ec0f
fix: reorder hooks to resolve handleSync declaration order
2026-04-19 14:22:26 +03:00
cbcd9263e0
docs: update session state - Phase 1 (hook extractions) complete
2026-04-19 12:37:43 +03:00
6dc300d339
refactor: split bulk-sync into backend/routers/sync.py
2026-04-19 12:37:09 +03:00
90e9a60640
refactor: split LDAP auth into backend/routers/auth.py
2026-04-19 12:35:40 +03:00
a520b1ba2b
refactor: extract useAIExtraction hook from AIOnboarding.tsx
2026-04-19 12:31:21 +03:00
cf45437bb0
refactor: extract useInventoryFilter hook from inventory/page.tsx
2026-04-19 12:29:22 +03:00
0e89059cac
docs: update session state with Phase 1 refactoring progress
2026-04-19 12:25:03 +03:00
6dfc76ad92
refactor: extract useSync hook from page.tsx
2026-04-19 12:24:25 +03:00
f5441a7ca7
refactor: extract useStockAdjustment hook from page.tsx
2026-04-19 12:23:06 +03:00
5b8c6039ef
refactor: extract useScanner hook from page.tsx
2026-04-19 12:21:15 +03:00
eda152e133
style: step 12 - ui uniformity complete, 291 frontend tests passing
2026-04-19 12:09:55 +03:00
d7fa470bcb
style: step 11 - uniform text tokens in remaining components
2026-04-19 12:09:22 +03:00
1850fea170
style: step 10 - uniform text tokens in modals
2026-04-19 12:07:15 +03:00
922d9e431e
style: step 9 - uniform text tokens in admin sub-components
2026-04-19 12:04:41 +03:00
acf9155ce2
style: step 8 - uniform text tokens in Scanner and AIOnboarding
2026-04-19 12:02:35 +03:00
7d4e60699d
style: step 7 - uniform text tokens in IdentityCheckOverlay
2026-04-19 12:00:11 +03:00
3d79a4be2b
style: step 6 - uniform text tokens in AdminOverlay (no violations found)
2026-04-19 11:57:52 +03:00
b5d4c5678c
style: step 5 - uniform text tokens in admin and logs pages
2026-04-19 11:57:36 +03:00
fa27817f7c
style: step 4 - uniform text tokens in inventory page
2026-04-19 11:55:50 +03:00
ffb56c030d
style: step 2-3 - uniform text tokens in login+main page, fix tsconfig build exclusions
2026-04-19 11:46:44 +03:00
80ec2dc2b0
docs: ui-uniformity step 1 - audit all text color violations (71 found, slate-300 annotated)
2026-04-19 11:35:46 +03:00
56ddc39d61
docs: apply eng review fixes - slate-300 context rule, annotated audit, visual smoke checklist
2026-04-19 11:33:52 +03:00
eea63b0612
docs: add ui-uniformity plan with session-persistent progress tracker (12 steps)
2026-04-19 11:24:55 +03:00
ddb5905c98
docs: update session state - phase 4 E2E validation in progress, 332/365 tests passing
2026-04-19 10:19:58 +03:00
b294a51a1e
test: save E2E test progress - data-testid attributes added, 1/16 login tests passing
2026-04-19 10:18:36 +03:00
2465141a18
test: fix data-testid attribute names and update E2E test URLs to port 8917
2026-04-19 10:08:52 +03:00
28c55f86ce
test: add data-testid attributes to login page for E2E tests
2026-04-19 09:51:43 +03:00
6b5e7adde2
test: add data-testid to mode buttons, admin button, and quantity controls
2026-04-19 09:37:29 +03:00
4f4822c0cb
test: add data-testid attributes to main page for E2E tests
2026-04-19 09:31:17 +03:00
a8319f1580
test: add data-testid attributes to admin page sections
2026-04-19 09:30:59 +03:00
802b97f36d
test: add data-testid attributes to AIOnboarding component
2026-04-19 09:28:40 +03:00
1846bb3cb3
test: add data-testid attributes to admin sub-components and modals
2026-04-19 09:28:27 +03:00