Skip to content

Conversation

@marc-romu
Copy link
Member

@marc-romu marc-romu commented Mar 31, 2025

Description

This PR updates the project version to 0.2.0-dev and includes minor improvements to code quality and badge generation.

  • Converted helper methods in AboutDialog.cs to static as they do not rely on instance state.
  • Migrated Settings dialog to Eto.Forms
  • Updated version and status badges in README.md and changelog entries to reflect the new version.
  • Modified badge generation logic and badge color/status values in the GitHub action workflow.

Breaking Changes

None detected.

Testing Done

RH8.17 on windows

Checklist

  • This PR is focused on a single feature or bug fix
  • Version in Solution.props was updated, if necessary, and follows semantic versioning
  • CHANGELOG.md has been updated
  • PR title follows Conventional Commits format
  • PR description follows Pull Request Description Template

## Description

With this PR, settings menu is using eto.forms, making it compatible
with Mac.

## Breaking Changes

There could be issues when saving settings, although non breaking change
was detected during testing.

## Testing Done

Couldn't try in Mac, but on windows works perfect.

## Checklist

- [x] This PR is focused on a single feature or bug fix
- [x] Version in Solution.props was updated, if necessary, and follows
semantic versioning
- [x] CHANGELOG.md has been updated
- [x] PR title follows [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) format
- [x] PR description follows [Pull Request Description
Template](#pull-request-description-template)
…s when color doesn't match the requirements based on version type
## Description

Improved version badge workflow to also update badges when color doesn't
match the requirements based on version type.

## Breaking Changes

None detected.

## Testing Done

None.

## Checklist

- [x] This PR is focused on a single feature or bug fix
- [x] Version in Solution.props was updated, if necessary, and follows
semantic versioning
- [x] CHANGELOG.md has been updated
- [x] PR title follows [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) format
- [x] PR description follows [Pull Request Description
Template](#pull-request-description-template)
Copilot AI review requested due to automatic review settings March 31, 2025 09:41
Copy link
Contributor

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 updates the project version to 0.2.0-dev and includes minor improvements to code quality and badge generation.

  • Converted helper methods in AboutDialog.cs to static as they do not rely on instance state.
  • Updated version and status badges in README.md and changelog entries to reflect the new version.
  • Modified badge generation logic and badge color/status values in the GitHub action workflow.

Reviewed Changes

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

File Description
src/SmartHopper.Menu/Dialogs/AboutDialog.cs Made helper methods static.
README.md Updated version and status badge URLs.
CHANGELOG.md Documented updates regarding badge workflow and settings menu.
.github/actions/version-tools/action.yml Adjusted badge generation logic and updated badge colors/status.
Files not reviewed (1)
  • Solution.props: Language not supported
Comments suppressed due to low confidence (2)

.github/actions/version-tools/action.yml:146

  • Consider grouping the condition expressions with parentheses to ensure the intended evaluation order and improve clarity.
if [[ "$CURRENT_VERSION_BADGE" != *"$ENCODED_VERSION"* || "$CURRENT_VERSION_BADGE" != *"-$COLOR"* ]]; then

.github/actions/version-tools/action.yml:147

  • Review the sed substitution regex to ensure it robustly matches the intended badge URL format across different environments, particularly if running on non-GNU sed systems.
sed -i "s|\[\!\[Version\](https://img\.shields\.io/badge/version[^)]*)|[![Version]($VERSION_BADGE_URL)|g" README.md

@marc-romu marc-romu merged commit c5884d7 into main Mar 31, 2025
12 of 13 checks passed
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