Issue resolved : #1068 Correction to overflow of name in usercard #1070
Issue resolved : #1068 Correction to overflow of name in usercard #1070arkid15r merged 6 commits intoOWASP:mainfrom
Conversation
Summary by CodeRabbit
WalkthroughThe pull request updates the Changes
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
⏰ Context from checks skipped due to timeout of 90000ms (5)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
Hey @arkid15r i have made the required changes please go through those, Thank you 😊. |
arkid15r
left a comment
There was a problem hiding this comment.
Looks good, could you improve it a bit?
|
Hey @arkid15r thanks for the suggestions, Now the PR is ready for review, please go through the changes, Thank you😊. |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
frontend/src/types/card.ts (1)
47-54: Interface expansion looks good, but consider optional propertiesThe addition of
locationproperties to theUserCardPropsinterface aligns well with the PR objective to address the overflow issue. According to the AI summary, these properties are used as fallbacks when company information isn't available.However, consider making these new properties optional with the
?operator since they might not always be available for every user, which would improve flexibility:export interface UserCardProps { avatar: string button: ButtonType company: string name: string - email: string - location: string + email?: string + location?: string }
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
frontend/src/types/card.ts(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (5)
- GitHub Check: CodeQL (python)
- GitHub Check: CodeQL (javascript-typescript)
- GitHub Check: Run backend tests
- GitHub Check: Run frontend e2e tests
- GitHub Check: Run frontend unit tests
|
OWASP#1070) * correction to overflow of name in usercard * review resolved * review resolved new * company or email or location added * company or email or location added and interface change * Update code --------- Co-authored-by: Arkadii Yakovets <arkadii.yakovets@owasp.org>
OWASP#1070) * correction to overflow of name in usercard * review resolved * review resolved new * company or email or location added * company or email or location added and interface change * Update code --------- Co-authored-by: Arkadii Yakovets <arkadii.yakovets@owasp.org>



Resolves #1068 UI Improvement: The name overflows the div container.
Here's the corrected version of the usercard: