Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: User experience for entering invalid product version. #1116

Merged
merged 13 commits into from
Feb 10, 2025

Conversation

paulhazen
Copy link
Collaborator

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

3 participants