-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add support fetching description entity #735
Conversation
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #735 +/- ##
==========================================
+ Coverage 66.06% 66.09% +0.02%
==========================================
Files 485 488 +3
Lines 11764 11806 +42
Branches 2164 2171 +7
==========================================
+ Hits 7772 7803 +31
- Misses 3992 4003 +11
|
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
className={classnames({ | ||
[commonStyles.hintText]: !hasDescription, | ||
})} | ||
> | ||
{hasDescription | ||
? metadata.description | ||
? descriptionEntity?.longDescription?.value | ||
: t( | ||
patternKey('noDescription', entityStrings[id.resourceType]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
It's a neat feature. Is there any blocker for merging it? @pingsutw @jsonporter |
* Add Description entity Signed-off-by: Kevin Su <[email protected]> * Add Description entity Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> * address comment Signed-off-by: Kevin Su <[email protected]> * test ci Signed-off-by: Kevin Su <[email protected]> * test ci Signed-off-by: Kevin Su <[email protected]> * test ci Signed-off-by: Kevin Su <[email protected]> * test ci Signed-off-by: Kevin Su <[email protected]> * test ci Signed-off-by: Kevin Su <[email protected]> --------- Signed-off-by: Kevin Su <[email protected]> Co-authored-by: Jason Porter <[email protected]> Signed-off-by: Carina Ursu <[email protected]>
🎉 This PR is included in version 1.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
TL;DR
Type
Are all requirements met?
Complete description
Tracking Issue
NA
Follow-up issue
NA