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

[OUI Docs] Updated the section Card #530

Conversation

AbhishekReddy1127
Copy link
Contributor

Description

Updated the text and icons in the section card.
Screenshot 2023-02-28 at 11 26 07 AM
Screenshot 2023-02-28 at 11 26 30 AM
Screenshot 2023-02-28 at 11 26 42 AM
Screenshot 2023-02-28 at 11 26 50 AM
Screenshot 2023-02-28 at 11 26 57 AM
Screenshot 2023-02-28 at 11 27 05 AM
Screenshot 2023-02-28 at 11 27 39 AM
Screenshot 2023-02-28 at 11 27 55 AM

Issues Resolved

#242

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • All tests pass
    • yarn lint
    • yarn test-unit
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@AbhishekReddy1127 AbhishekReddy1127 marked this pull request as ready for review February 28, 2023 17:29
@AbhishekReddy1127 AbhishekReddy1127 requested a review from a team as a code owner February 28, 2023 17:29
Signed-off-by: AbhishekReddy1127 <[email protected]>
title: 'Discover',
iconType: 'discoverApp',
},
Kibana: {
Copy link
Contributor

Choose a reason for hiding this comment

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

Feels like some of these var names should be updated to not be so Elastic. Beats and Kibana should def be changed. Maybe update them to something similar to the title?

Copy link
Contributor

@KrooshalUX KrooshalUX left a comment

Choose a reason for hiding this comment

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

Figma logo is getting cut off - perhaps this is because I provided the .svg as code from the figma website itself?
Maybe this helps instead - https://commons.wikimedia.org/wiki/File:Figma-logo.svg

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" aria-label="FigmaLogo" alt="FigmaLogo">
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment on lines +21 to +32
const badges = [null, 'Experimental'];

const cardNodes = icons.map(function (item, index) {
const cards = {
dashboard: {
title: 'Dashboards',
icon: 'dashboardApp',
},
monitoring: {
title: 'Discover',
icon: 'discoverApp',
},
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Could badges be added as another field in the cards object?

@AbhishekReddy1127 AbhishekReddy1127 deleted the OUI_Docs_Card branch February 28, 2023 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants