Skip to content

Link: Adding hrefs to all non-button stories#22774

Merged
khmakoto merged 3 commits intomicrosoft:masterfrom
khmakoto:linkHrefs
May 2, 2022
Merged

Link: Adding hrefs to all non-button stories#22774
khmakoto merged 3 commits intomicrosoft:masterfrom
khmakoto:linkHrefs

Conversation

@khmakoto
Copy link
Member

@khmakoto khmakoto commented May 2, 2022

Current Behavior

Link stories didn't have hrefs which made them render as buttons.

New Behavior

Link stories now have hrefs (except for the render as button one) which makes them render as a tags and more correctly reflect their usage.

Related Issue(s)

Fixes 13993

khmakoto and others added 2 commits May 2, 2022 15:57
…ories.tsx

Co-authored-by: Micah Godbolt <micahgodbolt@gmail.com>
…ories.tsx

Co-authored-by: Micah Godbolt <micahgodbolt@gmail.com>
@codesandbox-ci
Copy link

codesandbox-ci bot commented May 2, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 55d6176:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

📊 Bundle size report

🤖 This report was generated against ace1c2193cbff237cb4cda006dad4ed7f8eb1e74

@fabricteam
Copy link
Collaborator

fabricteam commented May 2, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 912 880 5000
Button mount 571 565 5000
FluentProvider mount 1841 1823 5000
FluentProviderWithTheme mount 285 299 10
FluentProviderWithTheme virtual-rerender 236 223 10
FluentProviderWithTheme virtual-rerender-with-unmount 318 309 10
MakeStyles mount 1592 1488 50000

@size-auditor
Copy link

size-auditor bot commented May 2, 2022

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: d029c9cf0f0f5fc92d01208a93131ec7b170172c (build)

@khmakoto khmakoto enabled auto-merge (squash) May 2, 2022 23:13
@khmakoto khmakoto merged commit 708c608 into microsoft:master May 2, 2022
@khmakoto khmakoto deleted the linkHrefs branch May 2, 2022 23:13
marwan38 pushed a commit to marwan38/fluentui that referenced this pull request Jun 13, 2022
* Link: Adding hrefs to all non-button stories.

* Update packages/react-components/react-link/src/stories/LinkInline.stories.tsx

Co-authored-by: Micah Godbolt <micahgodbolt@gmail.com>

* Update packages/react-components/react-link/src/stories/LinkInline.stories.tsx

Co-authored-by: Micah Godbolt <micahgodbolt@gmail.com>

Co-authored-by: KHMakoto <humberto_makoto@hotmail.com>
Co-authored-by: Micah Godbolt <micahgodbolt@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants