Skip to content

feat: Produkt-Detail-Popup, Verbrauch-Toast und Archiv-Button entfernt#21

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

feat: Produkt-Detail-Popup, Verbrauch-Toast und Archiv-Button entfernt#21
BEKO2210 merged 1 commit intomainfrom
claude/fix-apple-camera-barcode-5DtQy

Conversation

@BEKO2210
Copy link
Copy Markdown
Owner

@BEKO2210 BEKO2210 commented Mar 9, 2026

  • 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

- 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
@BEKO2210 BEKO2210 merged commit 04a47d0 into main Mar 9, 2026
3 checks passed
@BEKO2210 BEKO2210 deleted the claude/fix-apple-camera-barcode-5DtQy branch March 9, 2026 17:09
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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!)}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

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