-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
fix: TableHeaderCell design fixes #25712
Conversation
ling1726
commented
Nov 18, 2022
- Sort arrow is 12px
- Sort arrow has a xxs top padding for alignment
- Gap between header text and sort icon is xs
- Addresses [Bug]: Table visual bug bash #25706
- Sort arrow is 12px - Sort arrow has a xxs top padding for alignment - Gap between header text and sort icon is xs
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 3951937c37df0de5d94f0f749d87030e23da1099 (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 3e526f0:
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 1274 | 1275 | 5000 | |
Button | mount | 913 | 907 | 5000 | |
FluentProvider | mount | 1500 | 1491 | 5000 | |
FluentProviderWithTheme | mount | 577 | 579 | 10 | |
FluentProviderWithTheme | virtual-rerender | 551 | 545 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 577 | 595 | 10 | |
MakeStyles | mount | 1951 | 1963 | 50000 | |
SpinButton | mount | 2345 | 2335 | 5000 |
🕵 fluentuiv9 Open the Visual Regressions report to inspect the 20 screenshots✅ There was 0 screenshots added, 0 screenshots removed, 1731 screenshots unchanged, 0 screenshots with different dimensions and 20 screenshots with visible difference. unknown 20 screenshots
|
ascending: <ArrowUpRegular fontSize={12} />, | ||
descending: <ArrowDownRegular fontSize={12} />, |
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.
An icon could be overridden, correct? So...
Before
<TableHeaderCell sortIcon={<FooIcon />} />
After
<TableHeaderCell sortIcon={<FooIcon fontSize={12} />} />
Should the size be set via styles?
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.
If an icon is overridden, then I would expect the user to take full responsibility of sizing, since at that point they are committed to using something that is not our guidance, since we explicitly provide a default icon here
🕵 fluentuiv8 Open the Visual Regressions report to inspect the 2 screenshots✅ There was 0 screenshots added, 2 screenshots removed, 1037 screenshots unchanged, 0 screenshots with different dimensions and 0 screenshots with visible difference. unknown 2 screenshots
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
BaseButton | mount | 1213 | 1214 | 5000 | |
Breadcrumb | mount | 2820 | 2831 | 1000 | |
Checkbox | mount | 2629 | 2643 | 5000 | |
CheckboxBase | mount | 2364 | 2390 | 5000 | |
ChoiceGroup | mount | 4305 | 4266 | 5000 | |
ComboBox | mount | 1172 | 1170 | 1000 | |
CommandBar | mount | 9337 | 9328 | 1000 | |
ContextualMenu | mount | 10291 | 10447 | 1000 | |
DefaultButton | mount | 1383 | 1354 | 5000 | |
DetailsRow | mount | 3415 | 3359 | 5000 | |
DetailsRowFast | mount | 3360 | 3376 | 5000 | |
DetailsRowNoStyles | mount | 3234 | 3240 | 5000 | |
Dialog | mount | 2981 | 2955 | 1000 | |
DocumentCardTitle | mount | 583 | 592 | 1000 | |
Dropdown | mount | 3170 | 3172 | 5000 | |
FocusTrapZone | mount | 1944 | 1954 | 5000 | |
FocusZone | mount | 1908 | 1955 | 5000 | |
GroupedList | mount | 1850 | 2057 | 2 | |
GroupedList | virtual-rerender | 1117 | 1094 | 2 | |
GroupedList | virtual-rerender-with-unmount | 1624 | 1620 | 2 | |
GroupedListV2 | mount | 570 | 584 | 2 | |
GroupedListV2 | virtual-rerender | 543 | 543 | 2 | |
GroupedListV2 | virtual-rerender-with-unmount | 555 | 567 | 2 | |
IconButton | mount | 1817 | 1783 | 5000 | |
Label | mount | 753 | 749 | 5000 | |
Layer | mount | 4204 | 4178 | 5000 | |
Link | mount | 854 | 865 | 5000 | |
MenuButton | mount | 1647 | 1640 | 5000 | |
MessageBar | mount | 2328 | 2316 | 5000 | |
Nav | mount | 3057 | 3082 | 1000 | |
OverflowSet | mount | 1409 | 1404 | 5000 | |
Panel | mount | 2530 | 2546 | 1000 | |
Persona | mount | 1256 | 1248 | 1000 | |
Pivot | mount | 1517 | 1513 | 1000 | |
PrimaryButton | mount | 1500 | 1503 | 5000 | |
Rating | mount | 6990 | 6950 | 5000 | |
SearchBox | mount | 1515 | 1517 | 5000 | |
Shimmer | mount | 2887 | 2923 | 5000 | |
Slider | mount | 2091 | 2134 | 5000 | |
SpinButton | mount | 4251 | 4215 | 5000 | |
Spinner | mount | 840 | 836 | 5000 | |
SplitButton | mount | 2873 | 2838 | 5000 | |
Stack | mount | 862 | 877 | 5000 | |
StackWithIntrinsicChildren | mount | 2362 | 2364 | 5000 | |
StackWithTextChildren | mount | 5067 | 5031 | 5000 | |
SwatchColorPicker | mount | 9542 | 9532 | 5000 | |
TagPicker | mount | 2310 | 2366 | 5000 | |
TeachingBubble | mount | 78366 | 77589 | 5000 | |
Text | mount | 812 | 817 | 5000 | |
TextField | mount | 1544 | 1554 | 5000 | |
ThemeProvider | mount | 1444 | 1456 | 5000 | |
ThemeProvider | virtual-rerender | 1141 | 1144 | 5000 | |
ThemeProvider | virtual-rerender-with-unmount | 2000 | 1998 | 5000 | |
Toggle | mount | 1134 | 1147 | 5000 | |
buttonNative | mount | 545 | 550 | 5000 |
* fix: TableHeaderCell design fixes - Sort arrow is 12px - Sort arrow has a xxs top padding for alignment - Gap between header text and sort icon is xs * changefile * revert unnecessary