mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 05:39:49 -05:00
[PR #2172] [MERGED] Fix: confirm delete button working without confirm text #2893
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/2172
Author: @ruxenburg
Created: 12/27/2025
Status: ✅ Merged
Merged: 12/28/2025
Merged by: @oschwartz10612
Base:
main← Head:fix-confirm-delete-button-working-without-confirm-text📝 Commits (2)
f5eedffFix confirm delete button to require confirmation text before enabling it.412e125improve delete confirmation logic📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
src/components/ConfirmDeleteDialog.tsx(+4 -1)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
This PR prevents deletions unless the required confirmation text has been entered. (this has been tested on chrome and Firefox browser)
How to test?
\src\components\ConfirmDeleteDialog.tsxui changes
ui changes [before]
ui changes [after]
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.