-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: Add infoButton slot to Field (discarded implementation option) #27032
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
Conversation
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: c97e8d336e193c45189b4b7bcbdb599bde24d669 (build) |
📊 Bundle size reportUnchanged fixtures
|
|
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 7a8bb38:
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1324 | 1316 | 5000 | |
| Button | mount | 960 | 952 | 5000 | |
| Field | mount | 2063 | 2080 | 5000 | |
| FluentProvider | mount | 1611 | 1656 | 5000 | |
| FluentProviderWithTheme | mount | 641 | 632 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 599 | 602 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 630 | 625 | 10 | |
| InfoButton | mount | 570 | 573 | 5000 | |
| MakeStyles | mount | 1896 | 1914 | 50000 | |
| Persona | mount | 3036 | 3012 | 5000 | |
| SpinButton | mount | 2474 | 2439 | 5000 |
| hint={`The gap to the left is expected. With no Field label, the control is indented to vertically align with | ||
| other horizontal fields.`} | ||
| > | ||
| <Checkbox label="Checkbox in a horizontal field" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕵 fluentuiv9 Open the Visual Regressions report to inspect the 7 screenshots
✅ There was 7 screenshots added, 0 screenshots removed, 1862 screenshots unchanged, 0 screenshots with different dimensions and 0 screenshots with visible difference.
unknown 7 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| Field.infoButton+horizontal.default.chromium.png | 0 | Added |
| Field.infoButton+longLabel.default.chromium.png | 0 | Added |
| Field.infoButton+noLabel.default.chromium.png | 0 | Added |
| Field.infoButton+required.default.chromium.png | 0 | Added |
| Field.infoButton+size-large.default.chromium.png | 0 | Added |
| Field.infoButton+size-small.default.chromium.png | 0 | Added |
| Field.infoButton.default.chromium.png | 0 | Added |
|
Abandoning in favor of the approach used in #27030, due to the bundle size cost of referencing the InfoButton component directly from Field. |

Previous Behavior
New Behavior
Related Issue(s)