-
Notifications
You must be signed in to change notification settings - Fork 221
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: Info Highlight Creation #3015
base: prerelease/minor
Are you sure you want to change the base?
Conversation
Workday/canvas-kit Run #8142
Run Properties:
|
Project |
Workday/canvas-kit
|
Branch Review |
info_highlight_creation
|
Run status |
Passed #8142
|
Run duration | 02m 48s |
Commit |
fb53e9130b ℹ️: Merge d2f4317a6cb46ac4dc6b3838c4a0b79bb49311ca into 66db2d01a33a6b91d0a3723c3af2...
|
Committer | niftea |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
1
|
Pending |
21
|
Skipped |
0
|
Passing |
923
|
View all changes introduced in this branch ↗︎ |
UI Coverage
21.37%
|
|
---|---|
Untested elements |
1510
|
Tested elements |
408
|
Accessibility
99.15%
|
|
---|---|
Failed rules |
6 critical
5 serious
0 moderate
2 minor
|
Failed elements |
162
|
modules/preview-react/InformationHighlight/stories/visual_testing/testing.stories.tsx
Outdated
Show resolved
Hide resolved
Lets consolidate some of these examples:
These examples can be in one file, for example, |
We will also need to add some more information to each example and when to use each. When should a user use |
This component is looking really good! Thanks for the contribution! |
Summary
Fixes: #1175
Resolves: The need for an Information Highlight component. Moves the existing Information Highlight out of
modules/docs
and intomodules/preview-react
. Updates the existing design of Information Highlight to match the most recent specs and adding ahigh
andlow
emphasis options.Release Category
Components
Checklist
ready for review
has been added to PRFor the Reviewer
Where Should the Reviewer Start?
/modules/react-preview/information-highlight/
Areas for Feedback? (optional)
Testing Manually
yarn start to verify story book builds correctly, check out the new information highlight sections under preview, and testing preview
look at https://workday.github.io/canvas-kit/?path=/docs/tokens-tokens--docs in the local story book built by yarn start and verify the information highlight for tokens still builds and matches desired specs
Screenshots or GIFs (if applicable)
There are 6 style options for information highlight that come from a combination of two emphases and three variants. all six options have a colored side bar for the variant
High Emphasis Variants
Information Highlights also accept custom icons and properly tailor them for the variant and emphasis
They can also be built in a variety of ways with or without certain fields, the full extent of this can be seen in the visual testing
Thank You Gif (optional)