Skip to content

Conversation

@paulhazen
Copy link
Contributor

This PR introduces a feature within the Config system that allows attributes to be added to the productVersion field member of the ProductConfig class.

When the configuration editor window renders the input for this field, if the value is invalid a helpbox will appear above the input, and the input field itself will be highlighted.

image

Currently, this does not prevent the user from saving an invalid value. Extending implementation to include that is recommended - but is beyond the scope of the task as it is currently described.

Important

It should be noted that implementing the task as described has a side effect that was not considered: When a first-time user loads the editor - they will see a warning indicating that the product version is invalid - but they will not see similar warnings for the other fields that they have yet to fill out.

Some thought needs to be put into whether to simply not display these warnings until a user tries to save - or carve out a special case for first-time users, or (ideally) complete the validation implementation to extend to the other fields that can have attributes similar to the ones contained in this PR applied to them so the behavior is consistent.

#EOS-2236

@paulhazen paulhazen added bug Something isn't working fix PR contains a fix. tracked This issue has a corresponding task in our internal bug tracking system labels Feb 5, 2025
@paulhazen paulhazen self-assigned this Feb 5, 2025
@paulhazen paulhazen merged commit 664c5df into development Feb 10, 2025
1 check passed
@EpicCliffHudson EpicCliffHudson deleted the fix/product-version-validation branch September 23, 2025 03:31
@EpicCliffHudson EpicCliffHudson restored the fix/product-version-validation branch September 23, 2025 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix PR contains a fix. tracked This issue has a corresponding task in our internal bug tracking system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants