Fixed the issue where issuer descriptions were not displayed#480
Fixed the issue where issuer descriptions were not displayed#480iamlokanath wants to merge 1 commit intoinji:developfrom
Conversation
WalkthroughThe ItemBox component has been updated to support conditional rendering of an optional description field. When a description property is provided, it displays beneath the title with specific styling and a test identifier. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Lkanath Panda <lokanthpanda128@gmai.com>
INJIWEB-1348.mp4 |
| @@ -1,5 +1,5 @@ | |||
| import React from 'react'; | |||
| import {ItemBoxProps} from '../../types/components'; | |||
| import { ItemBoxProps } from '../../types/components'; | |||
There was a problem hiding this comment.
let the whitespace changes be avoided
|
Also do update the ItemBox test file accordingly. |
The description now appears below the issuer title in the issuer cards
It only renders when a description is available (since it's optional)
Styled to differentiate from the title while maintaining visual consistency
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.