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(cb2-9882): Better global error message displaying #1354

Merged
merged 27 commits into from
Jan 12, 2024

Conversation

pbardy2000
Copy link
Contributor

ADR- Error message displayed incorrectly

Don't show global error message which occurs when the entire form array is invalid, when the first UN Number is valid, but instead only show the relevant one for the invalid child - stopping clouding of the global errors.

CB2-10436

Checklist

  • Branch is rebased against the latest develop/common
  • Code and UI has been tested manually after the additional changes
  • PR title includes the JIRA ticket number
  • Squashed commits contain the JIRA ticket number
  • Delete branch after merge

@pbardy2000 pbardy2000 marked this pull request as ready for review January 12, 2024 12:24
@github-actions github-actions bot added the enhancement New feature or request label Jan 12, 2024
tomevs88
tomevs88 previously approved these changes Jan 12, 2024
@pbardy2000 pbardy2000 merged commit 8546a36 into develop Jan 12, 2024
10 checks passed
@pbardy2000 pbardy2000 deleted the feat/CB2-10112 branch January 12, 2024 15:25
@pbardy2000 pbardy2000 restored the feat/CB2-10112 branch January 12, 2024 16:09
JunYanBJSS pushed a commit that referenced this pull request Feb 26, 2024
* feat(cb2-10112): allow addition of multiple UN numbers

* fix(cb2-10211): fix duplicate error messages + global error service not focusing elements

* feat(cb2-10032): better styling for readonly mode of tech records

* feat(cb2-10032): add  tc3 view mode component

* feat(cb2-10032): tc2 inspections

* feat(cb2-10032): remove validation for view control

* fix(cb2-10174): update styling for edit component

* feat(cb2-10032): remove expand/collapse notes temporarily

* fix(cb2-10211): add appropriate warnings

* fix(cb2-10211): fix interactions with global errors

* fix(cb2-10211):  update unit tests

* fix(cb2-10211): disable add link when you cannot add the control

* feat(cb2-10211): add custom view mode logic

* feat(cb2-10211): add custom view

* feat(cb2-10211): fix displaying of error messages

* feat(cb2-10211): better UX

* feat(cb2-10211): better form error displayed

* feat(cb2-10211): only run validation when control is visible

* feat(cb2-10112): Don't show global error message when first child is invalid, only show child errors

* feat(cb2-10112): consistent spelling of UN number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants