Skip to content

feat: add option to hold shift when deleting simulators to skip alert#137

Merged
okwasniewski merged 1 commit intomainfrom
feat/delete-without-alert
Oct 4, 2025
Merged

feat: add option to hold shift when deleting simulators to skip alert#137
okwasniewski merged 1 commit intomainfrom
feat/delete-without-alert

Conversation

@okwasniewski
Copy link
Owner

Summary:

This allows to skip alert when deleting simulators. Pressing shift will delete them without prompt

Changelog:

feat: allow to use shift + click to delete simulators without asking

Test Plan:

Try deleting simulators holding shift

@okwasniewski okwasniewski requested a review from Copilot October 4, 2025 13:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a feature to skip confirmation dialogs when deleting simulators by holding the shift key during the deletion action.

  • Modified DeleteAction to accept a skipConfirmation parameter that bypasses the confirmation dialog
  • Updated action factories and executor to propagate the skip confirmation flag through the action creation pipeline
  • Added shift key detection in the menu handler to determine when to skip confirmation

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
MiniSim/Service/Actions.swift Added skipConfirmation parameter to DeleteAction to conditionally bypass confirmation dialog
MiniSim/Service/ActionFactory.swift Updated factory methods to accept and pass through skipConfirmation parameter
MiniSim/Service/ActionExecutor.swift Modified execute method to accept and forward skipConfirmation parameter
MiniSim/Menu.swift Added shift key detection and passed skipConfirmation flag to action executor

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@okwasniewski okwasniewski force-pushed the feat/delete-without-alert branch from dc47e20 to 1b9cf9d Compare October 4, 2025 13:56
@okwasniewski okwasniewski force-pushed the feat/delete-without-alert branch from 1b9cf9d to e7a7ee6 Compare October 4, 2025 14:03
@okwasniewski okwasniewski merged commit eec3f7b into main Oct 4, 2025
3 checks passed
@okwasniewski okwasniewski deleted the feat/delete-without-alert branch October 4, 2025 14:11
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