d2-05-confirm-delete-page

Installation
SKILL.md

Day 2 · Step 5 — Confirm-delete page

up-app/src/app/pages/<entity>-confirm-delete/<entity>-confirm-delete.component.ts:

  • Reads id from the route, optionally loads the record via getById(id) to show what's being deleted.
  • Confirm button → <entity>Service.delete(id), on success router.navigate(['/<entity>']).
  • Cancel button → router.navigate(['/<entity>']) without calling delete.

A modal/dialog triggered directly from the search page's Delete button (instead of a routed page) is an equally valid implementation — either satisfies the requirement, pick whichever pattern the user already has.

Redeploy from the project root:

docker compose up -d --build

Drill complete. Verify: search page loads real up-api data → Add → fill form → Save → row appears → Edit → change → Save → row updated → Delete → confirm → Confirm → row gone.

Installs
5
First Seen
Aug 7, 2026
d2-05-confirm-delete-page — softinter-chiangrai/up-ai-skill-training