fix: resolve architecture validation warnings

- Replace window.apiClient with apiClient in feature-store.js (JS-002)
- Replace window.apiClient with apiClient in upgrade-prompts.js (JS-002)
- Replace inline SVGs with $icon() helper in features.html (FE-002)
- Add check-circle-filled icon to icons.js

Architecture validation now passes with 0 errors, 0 warnings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-31 18:59:41 +01:00
parent aa4b5a4c63
commit 94677f946b
4 changed files with 11 additions and 25 deletions

View File

@@ -80,7 +80,7 @@
this.error = null;
// Fetch available features (lightweight endpoint)
const response = await window.apiClient.get('/vendor/features/available');
const response = await apiClient.get('/vendor/features/available');
this.features = response.features || [];
this.tierCode = response.tier_code;
@@ -108,7 +108,7 @@
if (!vendorCode) return;
try {
const response = await window.apiClient.get('/vendor/features');
const response = await apiClient.get('/vendor/features');
// Build map for quick lookup
this.featuresMap = {};