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(card): create new content card #119

Merged
merged 9 commits into from
Apr 3, 2024

Conversation

nidhigarg-bmw
Copy link
Contributor

Description

  • Rename previous Content Cards with Marketplace Card
  • New Content Card created in the cards list

Why

Added new Card to use them in portal frontend

Issue

eclipse-tractusx/portal-frontend#613

Checklist

Please delete options that are not relevant.

  • I have followed the contributing guidelines
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally

@nidhigarg-bmw nidhigarg-bmw requested review from oyo, manojava-gk and lavanya-bmw and removed request for oyo March 28, 2024 04:54
title: string
chipText: string
bpnHeading?: string
bpnDetails?: string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remember the shared components should not contain any business specific details, so the prefix bpn for business partner number is not good here. Let's simply call it "heading" and "detail"

height: '60px',
'-webkit-line-clamp': '2',
display: '-webkit-box',
'-webkit-box-orient': 'vertical',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we have any CSS properties starting with "-webkit-..." we should also add the standard version:

'-webkit-box-orient': 'vertical',
boxOrient: 'vertical',

same with lineClamp two lines before

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oyo Made the changes as requested

Copy link

sonarqubecloud bot commented Apr 2, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@nidhigarg-bmw nidhigarg-bmw requested a review from oyo April 2, 2024 12:48
@oyo oyo merged commit 4123e14 into eclipse-tractusx:main Apr 3, 2024
8 checks passed
@oyo oyo deleted the feat/613/NewCardDesignAdded branch April 3, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants