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(tablecard): do not require the threshold column be shown in a table #998

Merged
merged 8 commits into from
Mar 13, 2020

Conversation

scottdickerson
Copy link
Contributor

@scottdickerson scottdickerson commented Mar 11, 2020

Closes #

Summary

  • Table card users want to be able to add icon threshold columns without showing the value column

Change List (commits, features, bugs, etc)

  • feat(TableCard): allow the table to only show the threshold column
  • docs(PropTypes): add additional info to the prop type
  • fix(TableCard): fix several prop types errors in table

Acceptance Test (how to verify the PR)

  • Notice the new 'table card thresholds only with icon'

@netlify
Copy link

netlify bot commented Mar 11, 2020

Deploy preview for carbon-addons-iot-react ready!

Built with commit b930a72

https://deploy-preview-998--carbon-addons-iot-react.netlify.com

@netlify
Copy link

netlify bot commented Mar 11, 2020

Deploy preview for carbon-addons-iot-react ready!

Built with commit 5d9a351

https://deploy-preview-998--carbon-addons-iot-react.netlify.com

@netlify
Copy link

netlify bot commented Mar 11, 2020

Deploy preview for carbon-addons-iot-react ready!

Built with commit 6633620

https://deploy-preview-998--carbon-addons-iot-react.netlify.com

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

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

Just one minor change, otherwise looks great!

src/components/TableCard/TableCard.jsx Show resolved Hide resolved
Copy link

@sstone2423 sstone2423 left a comment

Choose a reason for hiding this comment

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

Looks good

src/styles.scss Outdated Show resolved Hide resolved
Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

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

Validated condensed plex file is coming from unpkg network location

Screen Shot 2020-03-13 at 1 02 09 PM

@tay1orjones tay1orjones merged commit 7792ecd into master Mar 13, 2020
@tay1orjones tay1orjones deleted the fix-dashboard-card branch March 13, 2020 18:03
@tay1orjones
Copy link
Member

I've opened #1007 to follow on from this to remove our fix once it's fixed upstream in either @carbon/type or @carbon/charts

@tay1orjones
Copy link
Member

🎉 This PR is included in version 2.57.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

[bar charts—all] Helvetica typeface showing up in X and Y-axis
3 participants