Skip to content

Conversation

@agarny
Copy link
Contributor

@agarny agarny commented Dec 22, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 22, 2025 23:03
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

This PR refactors the YesNoQuestionDialog component to make the button severity configurable through a new prop, changing the default severity from 'danger' to 'warning'. The version is bumped from 0.20251223.1 to 0.20251223.2.

  • Adds optional severity prop to YesNoQuestionDialog with 'warning' as the default instead of hardcoded 'danger'
  • Updates the "Reset All" dialog to explicitly use 'danger' severity, maintaining its critical visual weight
  • Bumps package versions consistently across both package.json files

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/renderer/src/components/dialogs/YesNoQuestionDialog.vue Adds configurable severity prop with 'warning' default; replaces hardcoded 'danger' severity with prop binding
src/renderer/src/components/OpenCOR.vue Explicitly sets severity="danger" for the Reset All dialog to maintain its critical appearance
src/renderer/package.json Version bump to 0.20251223.2
package.json Version bump to 0.20251223.2

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@agarny agarny merged commit 1caa240 into opencor:main Dec 22, 2025
8 checks passed
@agarny agarny deleted the cleaning-up branch December 22, 2025 23:12
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