Skip to content

Conversation

JoshBowdenConcepts
Copy link
Contributor

Summary

Creating a FeatureTrio example within the kitchen sink on Storybook. This example should show users how they can create a FeatureTrio using our components with ease.

List of notable changes:

  • added example of FeatureTrio within the kitchen sink

What should reviewers focus on?

  • The CSS needed to create this example and the best approach for the components that it uses.
  • Understanding the difficulties with each part of the FeatureTrio and what could be improved.

Steps to test:

  1. Open storybook in CI-deployed preview environment
  2. Go to KitchenSink story in Storybook
  3. Verify that the Feature Trio component behaves as described

Supporting resources (related issues, external links, etc):

Contributor checklist:

  • All new and existing CI checks pass
  • Tests prove that the feature works and covers both happy and unhappy paths
  • Any drop in coverage, breaking changes or regressions have been documented above
  • New visual snapshots have been generated / updated for any UI changes
  • All developer debugging and non-functional logging has been removed
  • Related issues have been referenced in the PR description

Reviewer checklist:

  • Check that pull request and proposed changes adhere to our contribution guidelines and code of conduct
  • Check that tests prove the feature works and covers both happy and unhappy paths
  • Check that there aren't other open Pull Requests for the same update/change

Screenshots:

image

- Created pattern example in KitchenSink
- Get feedback on CSS and the potential changes to components
@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2022

⚠️ No Changeset found

Latest commit: 647b659

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2022

🟢 No design token changes found

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2022

🟢 No visual differences found

Our visual comparison tests did not find any differences in the UI.

@JoshBowdenConcepts JoshBowdenConcepts temporarily deployed to github-pages December 5, 2022 15:28 Inactive
<Stack direction="horizontal" padding="spacious" gap="spacious" style={{textAlign: 'center'}}>
<style>
{`
.FeatureTrio {
Copy link
Collaborator

Choose a reason for hiding this comment

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

as this is just an example in this layout, can you inline this for now?

/>
<Heading as="h6">24/7 support</Heading>
<Text size="300">Get help whenever you need it from out always-on team</Text>
<Link>See support options</Link>
Copy link
Collaborator

Choose a reason for hiding this comment

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

should this have a href?

}

.FeatureTrio a > span {
color: #A475F9
Copy link
Collaborator

Choose a reason for hiding this comment

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

The example that we provide for feature-trio doesn't need to apply the purple link color from the screenshot, as that was just an example. Can we remove this? If we did enable customisation, it should also be done through css variables rather than direct hex override.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was also to show the difficulty in changing the color for the link component. happy to remove in this example but this should be addressed I would think if the image for the FeatureTrio is an accurate representation of what we might need to create.

}

.FeatureTrio img {
box-shadow: var(--brand-River-visual-shadow);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't think our example needs to have a box shadow. Recommend we remove this. cc. @danielguillan.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have a note for our meeting on this as well but without one the color is pretty light and hard to see on some monitors. (like mine)

@JoshBowdenConcepts JoshBowdenConcepts temporarily deployed to github-pages December 5, 2022 17:24 Inactive
@JoshBowdenConcepts JoshBowdenConcepts temporarily deployed to github-pages December 5, 2022 17:32 Inactive
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