Skip to content

task(#2898): move components examples#410

Merged
twjeffery merged 1 commit into
alphafrom
brendan/2898-move-examples
Aug 5, 2025
Merged

task(#2898): move components examples#410
twjeffery merged 1 commit into
alphafrom
brendan/2898-move-examples

Conversation

@BumbleB2na
Copy link
Copy Markdown
Collaborator

Moved examples for components: table, hero-banner, icon-button, badge

@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 28, 2025

Deploy Preview for abgov-ui-component-docs ready!

Name Link
🔨 Latest commit a030550
🔍 Latest deploy log https://app.netlify.com/projects/abgov-ui-component-docs/deploys/6888cb15e0d2360008505533
😎 Deploy Preview https://deploy-preview-410--abgov-ui-component-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 34
Accessibility: 93
Best Practices: 100
SEO: 83
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread src/examples/badge/BadgeExamples.tsx Outdated
exampleTitle="Show status in a table"
figmaExample="https://www.figma.com/design/aIRjvBzpIUH0GbkffjbL04/%E2%9D%96-Patterns-library-%7C-DDD?node-id=6304-22364&t=X0IQW5flDDaj8Vyg-4">
</SandboxHeader>
figmaExample="https://www.figma.com/design/aIRjvBzpIUH0GbkffjbL04/%E2%9D%96-Patterns-library-%7C-DDD?node-id=6304-22364&t=X0IQW5flDDaj8Vyg-4"></SandboxHeader>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I know these lines are just automated changes, but this just seems far worse for readability. This goes for everywhere, because this was done in all files.

import { GoabBadge, GoabBlock } from "@abgov/react-components";
import { Sandbox } from "@components/sandbox";

export const ExtractMultipleTagsTogether = () => {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why are you using the word "Extract"? The example is literally what you have except "Show" instead of "Extract"

Comment thread src/examples/hero-banner-with-actions.tsx
@ArakTaiRoth ArakTaiRoth requested review from twjeffery and removed request for syedszeeshan July 28, 2025 23:03
@BumbleB2na BumbleB2na force-pushed the brendan/2898-move-examples branch from 9e3b148 to a030550 Compare July 29, 2025 13:22
@BumbleB2na BumbleB2na requested a review from ArakTaiRoth July 29, 2025 13:22
@ArakTaiRoth
Copy link
Copy Markdown
Collaborator

@twjeffery Needs you to review and merge

@twjeffery twjeffery merged commit cf2e624 into alpha Aug 5, 2025
7 checks passed
@twjeffery twjeffery deleted the brendan/2898-move-examples branch August 5, 2025 15:15
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.

Split out example files for Table, Hero Banner, Icon Button, and Badge components

3 participants