Skip to content

feat: add Early Access update badge#1557

Merged
mohnjiles merged 4 commits intoLykosAI:mainfrom
x0x0b:feat-model-earlyaccess
Feb 23, 2026
Merged

feat: add Early Access update badge#1557
mohnjiles merged 4 commits intoLykosAI:mainfrom
x0x0b:feat-model-earlyaccess

Conversation

@x0x0b
Copy link
Contributor

@x0x0b x0x0b commented Feb 23, 2026

Summary

  • Added support in the Checkpoints page to distinguish standard updates from Early Access-only updates.
  • Added localization for the Early Access update label (English/Japanese).

Changes

  • Added HasEarlyAccessUpdateOnly to LocalModelFile
  • Added Early Access-only update detection logic
  • Split the existing update badge for standard updates and added a dedicated Early Access badge in the Checkpoints UI
  • Added style resources and localized strings for the Early Access badge

Tests

  • Added branch tests for Early Access-only detection logic
  • Added LocalModelFile equality/comparer tests
  • Added CheckpointFileViewModel tests for visibility conditions and property-change notifications

Screenshots

スクリーンショット 2026-02-23 15 59 34

@github-actions
Copy link

github-actions bot commented Feb 23, 2026

CLA Assistant Lite bot CLA Assistant bot All Contributors have signed the CLA.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @x0x0b, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a significant enhancement to the Checkpoints feature by providing clear visual distinctions for available updates. Users can now easily identify whether an update is a standard release or an exclusive Early Access version, improving clarity and user experience. This is achieved through data model updates, new detection logic, and corresponding UI changes, ensuring that the application accurately reflects and communicates the nature of available model updates.

Highlights

  • Early Access Update Distinction: Added support within the Checkpoints page to visually differentiate between standard updates and updates that are exclusively available via Early Access.
  • Localization Support: Implemented localization for the new 'Early Access update' label, providing translations for both English and Japanese.
  • Data Model Enhancement: Introduced a new HasEarlyAccessUpdateOnly property to the LocalModelFile to track the specific update status.
  • Update Detection Logic: Developed and integrated logic to accurately detect when an available update is an Early Access-only version.
  • User Interface Updates: Refactored the existing update badge in the Checkpoints UI to accommodate a dedicated badge for Early Access updates, along with new styling.
  • Comprehensive Testing: Added new unit tests covering the Early Access-only detection logic, LocalModelFile equality/comparer, and CheckpointFileViewModel visibility conditions and property change notifications.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • StabilityMatrix.Avalonia/Languages/Resources.Designer.cs
    • Added a new localized string resource for 'Early Access Update Available'.
  • StabilityMatrix.Avalonia/Languages/Resources.ja-JP.resx
    • Added the Japanese translation for the 'Early Access Update Available' label.
  • StabilityMatrix.Avalonia/Languages/Resources.resx
    • Added the English string for the 'Early Access Update Available' label.
  • StabilityMatrix.Avalonia/Styles/Card.axaml
    • Defined a new style for 'early-access' cards, setting a deep orange transparent background and foreground color.
  • StabilityMatrix.Avalonia/Styles/ThemeColors.axaml
    • Added a new color resource, ThemeDeepOrangeColorTransparent, for use in the Early Access badge.
  • StabilityMatrix.Avalonia/ViewModels/CheckpointManager/CheckpointFileViewModel.cs
    • Added NotifyPropertyChangedFor attributes to the CheckpointFile property to ensure UI updates when HasEarlyAccessUpdateOnly or HasStandardUpdate change.
    • Introduced HasEarlyAccessUpdateOnly and HasStandardUpdate properties to expose the update status to the UI.
  • StabilityMatrix.Avalonia/Views/CheckpointsPage.axaml
    • Modified the visibility binding for the standard update card to use HasStandardUpdate.
    • Added a new controls:Card element specifically for displaying Early Access updates, with visibility bound to HasEarlyAccessUpdateOnly.
  • StabilityMatrix.Core/Models/Database/LocalModelFile.cs
    • Added a new boolean property HasEarlyAccessUpdateOnly to indicate if an update is Early Access exclusive.
    • Updated the Equals and GetHashCode methods in LocalModelFile and its comparer to include the new HasEarlyAccessUpdateOnly property for accurate comparison.
  • StabilityMatrix.Core/Services/ModelIndexService.cs
    • Updated RefreshIndexParallelCore to persist the HasEarlyAccessUpdateOnly status from the database.
    • Added a new private static method GetHasEarlyAccessUpdateOnly to determine if a model's available updates are exclusively Early Access versions.
  • StabilityMatrix.Tests/Avalonia/CheckpointFileViewModelTests.cs
    • Added a new test method HasStandardUpdate_IsFalse_WhenUpdateIsEarlyAccessOnly to verify correct behavior of update flags.
    • Added a new test method CheckpointFile_Setter_RaisesDerivedUpdatePropertyNotifications to ensure property change notifications are triggered for derived update properties.
  • StabilityMatrix.Tests/Core/ModelIndexServiceTests.cs
    • Added test cases for GetHasEarlyAccessUpdateOnly to cover scenarios where all newer versions are Early Access, when public versions exist, when the installed version is latest, and when no update is available.
  • StabilityMatrix.Tests/Models/LocalModelFileTests.cs
    • Added test methods to verify that Equals and RelativePathConnectedModelInfoComparer correctly distinguish LocalModelFile instances based on the HasEarlyAccessUpdateOnly flag.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request effectively introduces a new feature to distinguish Early Access updates from standard updates. The changes are well-structured, spanning across the data model, services, view models, and UI. I appreciate the thoroughness, including the addition of localization for the new UI element and comprehensive unit tests for the new logic in the model, service, and view model layers. This greatly improves confidence in the changes. I have one minor suggestion to refactor a loop into a more concise LINQ expression for better readability.

@x0x0b
Copy link
Contributor Author

x0x0b commented Feb 23, 2026

I have read the CLA Document and I hereby sign the CLA

1 similar comment
@x0x0b
Copy link
Contributor Author

x0x0b commented Feb 23, 2026

I have read the CLA Document and I hereby sign the CLA

@mohnjiles
Copy link
Contributor

Awesome! Thank you so much! The thoroughness with tests and localization is greatly appreciated 😄 will give it a test on my machine in the morning and merge.

Copy link
Contributor

@mohnjiles mohnjiles left a comment

Choose a reason for hiding this comment

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

LGTM 😄 Thanks again!

@mohnjiles mohnjiles merged commit 73eac4d into LykosAI:main Feb 23, 2026
2 of 4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants