Skip to content

fix: showMessageBox is an optional param for env logging functions#18

Merged
YoloWingPixie merged 1 commit into
mainfrom
17-env-logging-functions-show-param-showmessagebox-as-being-required-should-be-optional
May 25, 2025
Merged

fix: showMessageBox is an optional param for env logging functions#18
YoloWingPixie merged 1 commit into
mainfrom
17-env-logging-functions-show-param-showmessagebox-as-being-required-should-be-optional

Conversation

@YoloWingPixie
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 25, 2025 17:17
@github-actions
Copy link
Copy Markdown

DCS Schema Stats

Metric Count
Types 1
Globals 1
Total Size 418070 bytes

✅ All validation checks passed!

@YoloWingPixie YoloWingPixie merged commit 29c4808 into main May 25, 2025
1 check passed
@YoloWingPixie YoloWingPixie deleted the 17-env-logging-functions-show-param-showmessagebox-as-being-required-should-be-optional branch May 25, 2025 17:18
Copy link
Copy Markdown
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

Adjusts the schema to mark the showMessageBox parameter as optional for all env logging methods and updates project metadata for a new patch release.

  • Mark showMessageBox as optional in env.info, env.warning, and env.error
  • Bump version from 0.3.3 to 0.3.4
  • Add changelog entry for release 0.3.4

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
dcs-world-schema/globals/env.singleton.yaml Add optional: true to showMessageBox param for logging methods
VERSION Update version number to 0.3.4
CHANGELOG.md Add 0.3.4 release notes

@@ -12,6 +12,7 @@ globals:
- name: showMessageBox
Copy link

Copilot AI May 25, 2025

Choose a reason for hiding this comment

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

[nitpick] The showMessageBox parameter block is duplicated for each log function. Consider using a YAML anchor or reference to avoid repetition and simplify future updates.

Suggested change
- name: showMessageBox
- &showMessageBox
name: showMessageBox

Copilot uses AI. Check for mistakes.
Comment thread CHANGELOG.md
## [Unreleased]

## [0.3.4] - 2025-05-25
- Resolved #17 - `env` logging functions (`env.info`, `env.error`, `env.warning`) incorrectly show param `showMessageBox` as being required.
Copy link

Copilot AI May 25, 2025

Choose a reason for hiding this comment

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

[nitpick] The changelog entry uses 'Resolved' while earlier versions use a 'Fixed' section header. For consistency, align this entry with the existing style (e.g., use 'Fixed').

Suggested change
- Resolved #17 - `env` logging functions (`env.info`, `env.error`, `env.warning`) incorrectly show param `showMessageBox` as being required.
- Fixed #17 - `env` logging functions (`env.info`, `env.error`, `env.warning`) incorrectly show param `showMessageBox` as being required.

Copilot uses AI. Check for mistakes.
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.

env logging functions show param showMessageBox as being required. Should be optional

2 participants