Skip to content

Comments

Adding Base ViewModel Class#64

Merged
mdwigley merged 1 commit intoenterlucent:mainfrom
mdwigley:issue#63-mdwigley
Feb 21, 2026
Merged

Adding Base ViewModel Class#64
mdwigley merged 1 commit intoenterlucent:mainfrom
mdwigley:issue#63-mdwigley

Conversation

@mdwigley
Copy link
Member

Description

Adds a new abstract ViewModelBase class that provides core ViewModel functionality, including dependency injection, data binding, and a virtual event handler. This class allows UI developers to create and bind controls efficiently while maintaining consistent patterns across the project.

Related Issue

Motivation and Context

Standardizes ViewModel creation and reduces repetitive boilerplate code for dependency injection and binding in UI components. Provides a foundation for future ViewModel development with consistent access to services and event handling.

How Has This Been Tested?

  • Verified that the project compiles successfully

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Asset change (adds or updates icons, templates, or other assets)
  • Documentation change (adds or updates documentation)
  • Plugin change (adds or updates a plugin)

Checklist:

  • I have read the CONTRIBUTING document.
  • My change requires a change to the core logic.
    • I have linked the project issue above.
  • My change requires a change to the assets.
    • I have linked the asset issue above.
  • My change requires a change to the documentation.
    • I have linked the documentation issue above.
  • My change requires a change to a plugin.
    • I have linked the plugin issue above.

@mdwigley mdwigley self-assigned this Feb 21, 2026
@mdwigley mdwigley added the approved Change issue has been accepted for implementation label Feb 21, 2026
@mdwigley mdwigley added this to the Core Controls Library milestone Feb 21, 2026
@mdwigley mdwigley moved this to In review in PhotonUI Timeline Feb 21, 2026
@mdwigley mdwigley merged commit 2f573fa into enterlucent:main Feb 21, 2026
3 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in PhotonUI Timeline Feb 21, 2026
@mdwigley mdwigley deleted the issue#63-mdwigley branch February 21, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Change issue has been accepted for implementation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Base ViewModel Class

1 participant