input-output-hk / dapps-certification-web

Certification as a service for the Cardano dApps platform
Apache License 2.0
5 stars 0 forks source link

[PLT-8131] HOTFIX to error while loading Full Report of vesting test with passing and failing DL-Tests #40

Closed amnambiar closed 8 months ago

amnambiar commented 8 months ago

https://input-output.atlassian.net/browse/PLT-8131

BE: master

Summary by CodeRabbit

coderabbitai[bot] commented 8 months ago

Walkthrough

The changes primarily focus on the generateCollapsibleContent and FailedTaskDetails functions in the fullReportTable.helper.tsx file. The updates improve the rendering logic based on the tag property, correct variable references, and introduce a new multiple parameter to enhance the component's flexibility.

Changes

File Summary
.../certification-result/fullReportTable.helper.tsx The generateCollapsibleContent function now uses the tag property for rendering logic. Incorrect variable references have been corrected, and a CSS class has been added for whitespace preservation.
.../certification-result/fullReportTable.helper.tsx The FailedTaskDetails component now accepts a multiple parameter, and its className is set conditionally based on this parameter.

🐇

In the land of code, where logic is king,

A rabbit hopped by, making updates in a swing.

With a tag and a class, and a parameter new,

The components now render as they're due. 🎉


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume. - Additionally, enter `@coderabbitai pause` to halt the bot's ongoing reviews as any issue or review comment. To resume reviews, enter `@coderabbitai resume` as any issue or review comment.