Skip to content

Delete candidate confirmation modal is inconsistent between list and detail views #38

Description

@chamals3n4

Description

The "delete candidate" confirmation modal looks and reads differently depending on
where it's triggered from:

  • Candidates list page (/candidates): simple modal, no icon, title reads
    "Delete this candidate?", confirm button reads "Delete"
  • Candidate detail page (/candidates/:id): modal has a trash icon in a circular
    badge, title reads "Delete candidate?", confirm button reads "Delete Permanently"

Steps to Reproduce

  1. Go to /candidates → click Delete on any row → note the modal style
  2. Go to a candidate's detail page (/candidates/:id) → click Delete → note the
    different modal style

Expected Behavior

Both entry points should render the same CandidateDeleteDialog component with the
same title, description, and button label.

Component

frontend/app/(dashboard)/candidates/_components/candidate-delete-dialog.tsx

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions