Skip to content

fix: production audit — Bugs, Sicherheit, Performance, Tests#29

Merged
BEKO2210 merged 1 commit intomainfrom
claude/fix-apple-camera-barcode-5DtQy
Mar 9, 2026
Merged

fix: production audit — Bugs, Sicherheit, Performance, Tests#29
BEKO2210 merged 1 commit intomainfrom
claude/fix-apple-camera-barcode-5DtQy

Conversation

@BEKO2210
Copy link
Copy Markdown
Owner

@BEKO2210 BEKO2210 commented Mar 9, 2026

Bugs behoben:

  • seedDefaults() Promise-Rejection wird jetzt gefangen (App.tsx)
  • lookupBarcode: API-Kategorie wird bereinigt (nur erste Kategorie)
  • Notifications: <= statt === für Threshold-Vergleich (Timezone-Fix)
  • Notifications: break nach erstem Threshold verhindert Mehrfach-Benachrichtigungen
  • startNotificationChecker: Promise-Rejection gefangen
  • SW-Handler: .catch() für Service Worker ready Promise
  • Import: Validiert name/expiryDate Typen vor Datenbank-Schreiben

Sicherheit:

  • CSV-Export: Injection-Schutz für =, +, -, @, Tab, CR Präfixe

Performance:

  • Dashboard: Farb-Konstanten aus Render-Loop auf Modul-Ebene verschoben

Tests (37 → 41):

  • lookupBarcode: Sonderzeichen-Barcodes werden abgelehnt
  • formatDate: Default-Precision-Test
  • computeStats: Vollständiger Status-Mix-Test + minStock-Grenzwert

https://claude.ai/code/session_0169CbohMRqddD1LjPg8FmXf

Bugs behoben:
- seedDefaults() Promise-Rejection wird jetzt gefangen (App.tsx)
- lookupBarcode: API-Kategorie wird bereinigt (nur erste Kategorie)
- Notifications: <= statt === für Threshold-Vergleich (Timezone-Fix)
- Notifications: break nach erstem Threshold verhindert Mehrfach-Benachrichtigungen
- startNotificationChecker: Promise-Rejection gefangen
- SW-Handler: .catch() für Service Worker ready Promise
- Import: Validiert name/expiryDate Typen vor Datenbank-Schreiben

Sicherheit:
- CSV-Export: Injection-Schutz für =, +, -, @, Tab, CR Präfixe

Performance:
- Dashboard: Farb-Konstanten aus Render-Loop auf Modul-Ebene verschoben

Tests (37 → 41):
- lookupBarcode: Sonderzeichen-Barcodes werden abgelehnt
- formatDate: Default-Precision-Test
- computeStats: Vollständiger Status-Mix-Test + minStock-Grenzwert

https://claude.ai/code/session_0169CbohMRqddD1LjPg8FmXf
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@BEKO2210 BEKO2210 merged commit 16e79ef into main Mar 9, 2026
0 of 2 checks passed
@BEKO2210 BEKO2210 deleted the claude/fix-apple-camera-barcode-5DtQy branch March 9, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants