Skip to content

Require resourceKind on confirmDelete#3205

Open
david-crespo wants to merge 1 commit intomainfrom
resource-kind-labels
Open

Require resourceKind on confirmDelete#3205
david-crespo wants to merge 1 commit intomainfrom
resource-kind-labels

Conversation

@david-crespo
Copy link
Copy Markdown
Collaborator

Lets us say what kind of resource it is in the confirm modal title and in the error toast.

image

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Apr 30, 2026 11:04pm

Request Review

@david-crespo david-crespo force-pushed the resource-kind-labels branch from 0210fa7 to eeecf13 Compare April 30, 2026 23:04
@david-crespo david-crespo marked this pull request as draft May 1, 2026 03:06
@david-crespo david-crespo marked this pull request as ready for review May 1, 2026 03:06
@david-crespo david-crespo marked this pull request as draft May 1, 2026 03:06
@david-crespo david-crespo marked this pull request as ready for review May 1, 2026 03:06
@david-crespo david-crespo marked this pull request as draft May 1, 2026 03:06
@david-crespo david-crespo marked this pull request as ready for review May 1, 2026 03:06
@david-crespo david-crespo marked this pull request as draft May 1, 2026 03:06
@david-crespo
Copy link
Copy Markdown
Collaborator Author

Lol at the status changes. See kitlangton/ghui#4

@david-crespo david-crespo marked this pull request as ready for review May 1, 2026 15:27
Copy link
Copy Markdown
Contributor

@charliepark charliepark left a comment

Choose a reason for hiding this comment

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

I would maybe prefer Confirm ${resourceKind} deletion over Confirm delete ${resourceKind}, but not a blocker.

@david-crespo
Copy link
Copy Markdown
Collaborator Author

I think you’re right that there’s something grammatically funny about “Confirm delete snapshot” but I don’t like the passive “deletion” either. Maybe “Delete snapshot” or “Delete snapshot?”

@charliepark
Copy link
Copy Markdown
Contributor

Yeah, that's shorter and snappier. I think either with or without the question mark works. Maybe a slight tilt towards no question mark, since the body copy in the modal already has the question mark, but I'm good with either.

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