Conversation
- Archiv-Button aus der Produktliste entfernt (Archivierung erfolgt automatisch beim Verbrauch der letzten Einheit) - Verbrauch-Button zeigt jetzt Info-Toast mit Feedback: "1× verbraucht und ins Archiv verschoben" bzw. verbleibende Menge - Klick auf ein Produkt öffnet Detail-Popup mit: - Foto, Status-Badge, Kategorie, Lagerort, Menge, MHD - Countdown-Timer bis auf Minuten genau (aktualisiert sich live) - Fortschrittsbalken von Einlagerung bis Ablauf - Einlagerungsdauer, Barcode, Mindestbestand - Bemerkungen/Notizen https://claude.ai/code/session_0169CbohMRqddD1LjPg8FmXf
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 03998d2687
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <div | ||
| key={product.id} | ||
| className={`border-l-4 ${BORDER_COLORS[product.status]} rounded-r-lg border border-primary-700 bg-primary-800/60 p-3`} | ||
| onClick={() => setSelectedProduct(product.id!)} |
There was a problem hiding this comment.
Prevent detail modal click-through from delete confirmation
Adding a card-level onClick means every click inside the product row now opens the detail modal, but the delete confirmation actions still bubble. In practice, clicking Abbrechen (and often Löschen) also triggers row selection, so users get an unexpected modal while trying to finish deletion flow. Guard these confirmation clicks with propagation stops (or suppress row click while confirmation is open).
Useful? React with 👍 / 👎.
https://claude.ai/code/session_0169CbohMRqddD1LjPg8FmXf