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: Add widget for delaying errors on text fields #1043

Merged
merged 4 commits into from
Jan 10, 2025
Merged

Conversation

ashuntu
Copy link
Collaborator

@ashuntu ashuntu commented Jan 8, 2025

Adds a delay to error messages while typing in a text field. Notably, there is no delay when errors are removed.


UDENG-5681

@ashuntu ashuntu self-assigned this Jan 8, 2025
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.19%. Comparing base (fc6bd2b) to head (4964002).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1043      +/-   ##
==========================================
+ Coverage   88.53%   89.19%   +0.66%     
==========================================
  Files         112      113       +1     
  Lines        7499     7537      +38     
==========================================
+ Hits         6639     6723      +84     
+ Misses        684      637      -47     
- Partials      176      177       +1     

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

@ashuntu ashuntu marked this pull request as ready for review January 9, 2025 19:47
@ashuntu ashuntu requested a review from a team as a code owner January 9, 2025 19:47
Copy link
Contributor

@CarlosNihelton CarlosNihelton left a comment

Choose a reason for hiding this comment

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

Great job!

@ashuntu ashuntu merged commit 07e2176 into main Jan 10, 2025
36 checks passed
@ashuntu ashuntu deleted the delayed-errors branch January 10, 2025 19:03
ashuntu added a commit that referenced this pull request Jan 13, 2025
… jittering (#1045)

When entering text into a text field that may display an error, the text
field and other content on the page will move to accomodate the error
text. This change adds a SizedBox when there is no error to prevent this
movement. As a result, page content is naturally longer, so the default
window height has been increased by 50 pixels.


![image](https://github.com/user-attachments/assets/3caf0ec5-b878-4ad0-9e04-eceba85d9565)

*Depends on #1043

---

UDENG-5680
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