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

Display ingredient validation errors inline #2984

Merged
merged 3 commits into from
Aug 1, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jul 31, 2024

What is this pull request for?

Instead of a large blob of information on top of the element we display a short notice and the error message on the input field.

Also use HTML5 input validations to show the invalid state before submitting the data.

Screenshots

Alchemy CMS - Index 2024-07-30 23-05-52

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen self-assigned this Jul 31, 2024
@tvdeyen tvdeyen force-pushed the ingredient-validation-errors-inline branch from 5603b58 to a15c2a5 Compare July 31, 2024 12:56
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.01%. Comparing base (3613bf0) to head (95d7e41).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2984      +/-   ##
==========================================
- Coverage   96.02%   96.01%   -0.02%     
==========================================
  Files         233      233              
  Lines        6317     6320       +3     
==========================================
+ Hits         6066     6068       +2     
- Misses        251      252       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tvdeyen tvdeyen mentioned this pull request Jul 31, 2024
3 tasks
@tvdeyen tvdeyen force-pushed the ingredient-validation-errors-inline branch from a15c2a5 to 8a3c698 Compare July 31, 2024 13:18
@tvdeyen tvdeyen marked this pull request as ready for review July 31, 2024 13:18
@tvdeyen tvdeyen requested a review from a team as a code owner July 31, 2024 13:18
@tvdeyen tvdeyen added this to the 7.3 milestone Jul 31, 2024
@tvdeyen tvdeyen changed the title Ingredient validation errors inline Display ingredient validation errors inline Aug 1, 2024
Instead of a large blob of information on top of the
element we display a short notice and the error message
on the input field.

Also use HTML5 input validations to show the invalid
state before submitting the data.
@tvdeyen tvdeyen force-pushed the ingredient-validation-errors-inline branch from 8a3c698 to 95d7e41 Compare August 1, 2024 07:41
@tvdeyen tvdeyen merged commit 4455010 into main Aug 1, 2024
36 checks passed
@tvdeyen tvdeyen deleted the ingredient-validation-errors-inline branch August 1, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants