Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves the developer workflow by adding automation for Lottie animation generation and reorganizes asset files for better maintainability. The changes move Lottie-related files from the main project directory to a dedicated assets folder and introduce a PowerShell script to regenerate animated visual code automatically.
Changes:
- Adds automation script
generate-lottie.ps1to generate C# code from Lottie JSON files - Updates developer tooling by upgrading
xamlstyler.consoleto version 3.2501.8 and addingLottieGenversion 8.2.250604 - Reorganizes files by moving the Lottie JSON source from
Controls/Animations/toassets/animations/and the generated C# file toAssets/Animations/
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/generate-lottie.ps1 | New PowerShell automation script that processes JSON files from assets/animations and generates C# animated visual classes |
| assets/animations/AnimatedPlayingVisualSource.json | Lottie animation source file moved from Controls to repository assets folder |
| .config/dotnet-tools.json | Updates xamlstyler.console to 3.2501.8 and adds LottieGen 8.2.250604 as a dotnet tool |
| Screenbox/Screenbox.csproj | Updates project to reference the generated file in its new location (Assets/Animations) |
| Screenbox/Controls/MediaListViewItem.xaml | Updates namespace reference from Screenbox.Controls.Animations to Screenbox.Animations |
| Screenbox/Assets/Animations/AnimatedPlayingVisualSource.cs | Regenerated C# code with updated namespace, newer LottieGen version, and minor formatting changes |
United600
commented
Jan 23, 2026
huynhsontung
approved these changes
Jan 25, 2026
huynhsontung
approved these changes
Feb 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AnimatedPlayingVisualSource.jsonLottie file from the main project to the repository's assets folderAnimatedPlayingVisualSource.csfile from "Controls" to the "Assets" folderxamlstyler.consoletool and addsLottieGentodotnet-tools.jsongenerate-lottie.ps1to generate C# animated visuals from JSON files automatically