The Bulk Data Test Kit produces too many validation messages that freeze up the UI. This PR limits the number of info and warning messages to 50 and the number of error messages to 20 to prevent this issue. If the validation messages reaches the cap, a message is added to the end that says that Inferno is only showing the first 50 validation info and warning messages or only showing the first 20 error messages.
Testing Guidance
Run the bulk data test kit locally and run with a high validation resource count. Ensure that only 50 info and warning messages are produced, and that the UI does not freeze up. I used the BCDA server for testing: https://bcda.cms.gov/guide.html#try-the-api
Summary
The Bulk Data Test Kit produces too many validation messages that freeze up the UI. This PR limits the number of info and warning messages to 50 and the number of error messages to 20 to prevent this issue. If the validation messages reaches the cap, a message is added to the end that says that Inferno is only showing the first 50 validation info and warning messages or only showing the first 20 error messages.
Testing Guidance
Run the bulk data test kit locally and run with a high validation resource count. Ensure that only 50 info and warning messages are produced, and that the UI does not freeze up. I used the BCDA server for testing: https://bcda.cms.gov/guide.html#try-the-api