Samir Boulahtit
265c71f597
fix: resolve all JS architecture violations (JS-005 through JS-009)
Fixed 89 violations across vendor, admin, and shared JavaScript files:
JS-008 (raw fetch → apiClient):
- Added postFormData() and getBlob() methods to api-client.js
- Updated inventory.js, messages.js to use apiClient.postFormData()
- Added noqa for file downloads that need response headers
JS-009 (window.showToast → Utils.showToast):
- Updated admin/messages.js, notifications.js, vendor/messages.js
- Replaced alert() in customers.js
JS-006 (async error handling):
- Added try/catch to all async init() and reload() methods
- Fixed vendor: billing, dashboard, login, messages, onboarding
- Fixed shared: feature-store, upgrade-prompts
- Fixed admin: all page components
JS-005 (init guards):
- Added initialization guards to prevent duplicate init() calls
- Pattern: if (window._componentInitialized) return;
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 21:32:19 +01:00
..
2025-10-19 19:20:21 +02:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-21 21:13:08 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-10-28 22:58:55 +01:00
2025-12-31 21:32:19 +01:00
2025-12-22 22:39:34 +01:00
2025-12-31 21:32:19 +01:00
2025-12-13 12:57:26 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-10-19 19:20:21 +02:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-25 22:44:33 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-10-28 22:58:55 +01:00
2025-12-03 21:37:23 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-25 11:20:17 +01:00
2025-12-12 22:36:04 +01:00
2025-12-25 12:58:00 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00
2025-12-31 21:32:19 +01:00