Skip to content

quick-repo-deletion - Restore feature on repo root - #9951

Merged
fregante merged 4 commits into
mainfrom
quick-repo-deletion
Aug 8, 2026
Merged

fregante merged 4 commits into
mainfrom
quick-repo-deletion

Conversation

@fregante

@fregante fregante commented Aug 8, 2026 •

Copy link
Copy Markdown
Member

Test URLs

  1. Fork any repo
  2. See repo header

Screenshot

Screenshot 2

Also the instant deletion:

test

@fregante fregante added the bug label Aug 8, 2026
href={buildRepoUrl('settings', buttonHashSelector)}
className="btn btn-sm btn-danger rgh-quick-repo-deletion"
title={tooltip}
ref={withTooltipRef(tooltip)}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Also updated with new helper. Super easy to do after #9845


if (confirm('Are you sure you want to delete this repository?')) {
const {nameWithOwner} = getRepo()!;
if (confirm(`⚠️${nameWithOwner}⚠️ will be deleted. Are you sure?`)) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This feature is so dangerous it should not exist, honestly.

Image

@fregante
fregante merged commit 229065f into main Aug 8, 2026
14 checks passed
@fregante
fregante deleted the quick-repo-deletion branch August 8, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

quick-repo-deletion doesn't show

1 participant