Skip to content

Pack DevExpress package - #14

Merged
awaescher merged 1 commit into
masterfrom
feature/dx-package
Feb 24, 2026
Merged

Pack DevExpress package#14
awaescher merged 1 commit into
masterfrom
feature/dx-package

Conversation

@awaescher

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 24, 2026 15:25
@awaescher
awaescher merged commit 1c67ef2 into master Feb 24, 2026
1 check passed

Copilot AI 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.

Pull request overview

This pull request restructures the TinyChat project to create a separate NuGet package for DevExpress-specific controls. The main TinyChat library is moved from src/ to TinyChat/, and a new TinyChat.DevExpress project is created containing DevExpress WinForms implementations.

Changes:

  • Restructured project layout: moved core library from src/ to TinyChat/ directory
  • Created new TinyChat.DevExpress package with DevExpress-specific controls (message controls, input control, split container, message formatter)
  • Added comprehensive test coverage for message formatters with 977 new test cases
  • Moved DevExpress controls from demo project to new package and updated namespaces from DevExpressDemo to TinyChat
  • Replaced embedded SVG resources with inline SVG constants to avoid external resource dependencies

Reviewed changes

Copilot reviewed 19 out of 56 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
TinyChat.sln Updated solution to reference TinyChat/TinyChat.csproj instead of src/TinyChat.csproj, added TinyChat.DevExpress project
TinyChat/TinyChat.csproj Added exclusion pattern for DevExpress folder to prevent conflicts
TinyChat.DevExpress/TinyChat.DevExpress.csproj New project file for DevExpress package with DevExpress.Win dependency
TinyChat/SubControls/*.cs New core library controls (ChatControl, message controls, input controls, interfaces)
TinyChat/Messages/*.cs New message types and content classes
TinyChat.DevExpress/SubControls/*.cs DevExpress implementations moved from demo, namespace changed to TinyChat
Tests/*.cs Added comprehensive test suites for PlainTextMessageFormatter and SimplifiedHtmlMessageFormatter
.github/workflows/CI.yml Updated to build and pack both TinyChat and TinyChat.DevExpress packages
WinFormsDemo/WinFormsDemo.csproj Updated project reference path
DevExpressDemo/DevExpressDemo.csproj Added reference to new TinyChat.DevExpress project
Files not reviewed (1)
  • DevExpressDemo/DXDemoForm.Designer.cs: Language not supported
Comments suppressed due to low confidence (1)

Tests/Tests.csproj:21

  • This project reference points to a non-existent path ..\..\src\TinyChat.csproj. The project has been moved to TinyChat/TinyChat.csproj, so this should be ..\TinyChat\TinyChat.csproj instead. Additionally, this creates a duplicate reference since line 23 already correctly references ..\TinyChat\TinyChat.csproj. This line should be removed entirely.

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

Comment thread .github/workflows/CI.yml
pull_request:
branches: [ "main", "master" ]
paths: [ 'src/**' ]
paths: [ 'src/**', 'TinyChat.DevExpress/**' ]

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

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

The path src/** in the paths filter is incorrect. Based on the solution file changes, the TinyChat project has been moved from src/ to TinyChat/. This should be TinyChat/** instead.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/CI.yml
push:
branches: [ "main", "master" ]
paths: [ 'src/**', '.github/workflows/CI.yml' ]
paths: [ 'src/**', 'TinyChat.DevExpress/**', '.github/workflows/CI.yml' ]

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

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

The path src/** in the paths filter is incorrect. Based on the solution file changes, the TinyChat project has been moved from src/ to TinyChat/. This should be TinyChat/** instead.

Copilot uses AI. Check for mistakes.
Comment thread TinyChat.sln
# Visual Studio Version 17
VisualStudioVersion = 17.14.36109.1
# Visual Studio Version 18
VisualStudioVersion = 18.3.11505.172 d18.3

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

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

The VisualStudioVersion is set to "18.3.11505.172 d18.3" which includes what appears to be a typo with "d18.3" at the end. This should likely be just the version number without the extra suffix. Visual Studio 2025 (version 18.x) versions typically don't include this suffix.

Suggested change
VisualStudioVersion = 18.3.11505.172 d18.3
VisualStudioVersion = 18.3.11505.172

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/CI.yml
Comment on lines +43 to +44
dotnet restore ./TinyChat/TinyChat.csproj
dotnet restore ./TinyChat.DevExpress/TinyChat.DevExpress.csproj

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

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

The path ./src/TinyChat.csproj is incorrect. Based on the solution file changes, the TinyChat project has been moved from src/ to TinyChat/. This path should be ./TinyChat/TinyChat.csproj instead.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/CI.yml
Comment on lines +48 to +49
dotnet build ./TinyChat/TinyChat.csproj --no-restore --configuration=Release /p:Version=${{steps.gitversion.outputs.semVer}}
dotnet build ./TinyChat.DevExpress/TinyChat.DevExpress.csproj --no-restore --configuration=Release /p:Version=${{steps.gitversion.outputs.semVer}}

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

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

The path ./src/TinyChat.csproj is incorrect. Based on the solution file changes, the TinyChat project has been moved from src/ to TinyChat/. This path should be ./TinyChat/TinyChat.csproj instead.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/CI.yml
Comment on lines +53 to +54
dotnet pack ./TinyChat/TinyChat.csproj --output nupkgs --configuration=Release --no-restore --no-build /p:PackageVersion=${{steps.gitversion.outputs.semVer}}
dotnet pack ./TinyChat.DevExpress/TinyChat.DevExpress.csproj --output nupkgs --configuration=Release --no-restore --no-build /p:PackageVersion=${{steps.gitversion.outputs.semVer}}

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

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

The path ./src/TinyChat.csproj is incorrect. Based on the solution file changes, the TinyChat project has been moved from src/ to TinyChat/. This path should be ./TinyChat/TinyChat.csproj instead.

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.

2 participants