You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add button to delete current branch on /tree/ #8617
The hard part here is actually deciding how to tell the user what happened. The button on /branches has little to no visual feedback.
An API call + showToast + clearing the page (like for quick-repo-deletion) is the most straightforward for this, except we lose the ability to undo the deletion.
Redirecting the user to /branches would mean either visually inviting the user to click a 24x24 button or informing that the action has been completed.
Activity
kidonng commentedon Sep 4, 2025
This could be implemented in a similar fashion to
quick-repo-deletion:/branches/all?query=<branch>#rgh-delete-branchfrancopetruu commentedon Jan 31, 2026
fregante commentedon Apr 23, 2026
The hard part here is actually deciding how to tell the user what happened. The button on
/brancheshas little to no visual feedback.An API call + showToast + clearing the page (like for
quick-repo-deletion) is the most straightforward for this, except we lose the ability to undo the deletion.Redirecting the user to
/brancheswould mean either visually inviting the user to click a 24x24 button or informing that the action has been completed.fregante commentedon Jul 15, 2026
Found an easy way:
Existing example:
refined-github/source/features/deep-reblame.tsx
Lines 63 to 70 in 7054fa2