Skip to content

Ask before deleting a page - #39

Open
edward-mcnair wants to merge 1 commit into
kemalandic:mainfrom
edward-mcnair:confirm-page-delete
Open

edward-mcnair wants to merge 1 commit into
kemalandic:mainfrom
edward-mcnair:confirm-page-delete

Conversation

@edward-mcnair

Copy link
Copy Markdown

What does this PR do?

Delete in the page list's context menu removed the page and every widget on it at once, and the edit-session undo doesn't cover it.

  • It now asks first, saying how many widgets go with the page.
  • The page view has a visible Delete button next to View, so it isn't only in the right-click menu.

Screenshots

A standard confirmation alert ("Delete “Network”? Its 3 widgets will be removed too. This can't be undone.") and a red Delete capsule beside View.

Checklist

  • Tested on macOS 14+ (macOS 27)
  • No third-party dependencies added
  • Follows existing code style (swift-format lint clean)

🤖 Generated with Claude Code

Delete in the page list's context menu removed the page and every widget on
it at once, and the edit-session undo doesn't cover it. It now asks first,
saying how many widgets go with the page, and the page view has a visible
Delete button next to View instead of only the right-click menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant