G
YouTube TikTok Games
Skip to content

Desktop: ArSee versioned window title • IEC 101/104/103 - #157

Merged
masarray merged 2 commits into
masterfrom
feat/arsee-versioned-window-title-20261111
Nov 11, 2026
Merged

masarray merged 2 commits into
masterfrom
feat/arsee-versioned-window-title-20261111

Conversation

@masarray

Copy link
Copy Markdown
Owner

Scope

Implement requested application window caption:

ArSee • Open Source IEC 60870-101/104/103 Protocol Tester & Analyzer • version X.Y.Z[-rc.N]

  • WPF window runtime caption reads the executable's own AssemblyInformationalVersionAttribute, preserving the actual RC suffix while removing SemVer build metadata (+release, +p0-...).
  • Align fallback XAML title and assembly product file-title metadata; the latter uses $(Version) so release-package stamping remains authoritative.
  • Add lightweight xUnit tests for rc.4, normal development, missing metadata fallback and the desktop assembly version.

No IEC101 transaction, GI, command, serial, RTU or passive monitor behavior altered. Source is based directly on master@e2124c70571736cbedf41aabb30540bac21b322a. Scope is isolated from IEC101 P0 draft #145 and legacy #136.

Gate

Run the normal selective PR checks for Desktop and its unit tests. Inspect exact-head Windows result and only then merge. This PR does not update public v3.6.8-rc.4 assets or claim field FAT.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T06:02:07.157548Z 05ed370 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 05ed3700a8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/ARIEC60870.Desktop/MainWindow.xaml Outdated
xmlns:input="clr-namespace:System.Windows.Input;assembly=PresentationCore"
xmlns:vm="clr-namespace:ARIEC60870.Desktop.ViewModels"
Title="ArSee · Open Source IEC 60870-104/103/101 Protocol Tester"
Title="ArSee • Open Source IEC 60870-101/104/103 Protocol Tester & Analyzer"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Escape the ampersands in both XML title declarations

The new caption contains an unescaped & in both MainWindow.xaml and ARIEC60870.Desktop.csproj. Both files are invalid XML (confirmed by parsing), so MSBuild cannot load the Desktop project and the application cannot be built. Replace the literal ampersands with & in both XML files; the C# caption string should retain its literal ampersand. This violates the root AGENTS.md requirement that XAML visual changes remain compile-safe.

AGENTS.md reference: AGENTS.md:L324-L324

Useful? React with 👍 / 👎.

public MainWindow()
{
InitializeComponent();
Title = ArSeeWindowTitle.ForAssembly(typeof(MainWindow).Assembly);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Document the new versioned window-caption behavior

This changes the user-visible window caption to include the executable's version, preserving prerelease identifiers and removing build metadata, but the commit updates none of the documentation required by the root AGENTS.md behavior-change rule. Add a short explanation to an allowed document, such as README.md, or the version's release notes so the change satisfies the repository's explicit documentation gate.

AGENTS.md reference: AGENTS.md:L261-L265

Useful? React with 👍 / 👎.

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