Skip to content
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

Lint: fix fluent v9 warnings #28889

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

spmonahan
Copy link
Contributor

Previous Behavior

There were lint warnings for Fluent v9 controls.

New Behavior

No lint warnings for Fluent v9 controls.

Related Issue(s)

Noticed as part of #28145

@spmonahan spmonahan requested review from a team as code owners August 16, 2023 19:20
@github-actions github-actions bot added this to the August Project Cycle Q4 2023 milestone Aug 16, 2023
@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
InfoButton mount 12 21 5000 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 630 641 5000
Button mount 312 320 5000
Field mount 1120 1123 5000
FluentProvider mount 682 697 5000
FluentProviderWithTheme mount 80 91 10
FluentProviderWithTheme virtual-rerender 82 79 10
FluentProviderWithTheme virtual-rerender-with-unmount 76 79 10
InfoButton mount 12 21 5000 Possible regression
MakeStyles mount 839 906 50000
Persona mount 1738 1730 5000
SpinButton mount 1409 1379 5000

@codesandbox-ci
Copy link

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 3cb6b44:

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

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-accordion
Accordion (including children components)
88.592 kB
26.885 kB
react-alert
Alert
81.836 kB
22.031 kB
react-avatar
Avatar
47.01 kB
14.502 kB
react-avatar
AvatarGroup
16.116 kB
6.431 kB
react-avatar
AvatarGroupItem
61.789 kB
18.912 kB
react-combobox
Combobox (including child components)
87.075 kB
28.263 kB
react-combobox
Dropdown (including child components)
85.435 kB
27.903 kB
react-components
react-components: Button, FluentProvider & webLightTheme
66.614 kB
18.512 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
203.017 kB
57.615 kB
react-components
react-components: FluentProvider & webLightTheme
37.787 kB
12.387 kB
react-datepicker-compat
DatePicker Compat
207.101 kB
57.398 kB
react-infobutton
InfoButton
125.224 kB
39.235 kB
react-infobutton
InfoLabel
128.894 kB
40.413 kB
react-menu
Menu (including children components)
135.069 kB
41.401 kB
react-menu
Menu (including selectable components)
137.755 kB
41.898 kB
react-persona
Persona
53.905 kB
16.371 kB
react-popover
Popover
114.577 kB
35.925 kB
react-portal-compat
PortalCompatProvider
6.48 kB
2.203 kB
react-positioning
usePositioning
25.111 kB
9.1 kB
react-provider
FluentProvider
18.332 kB
6.817 kB
react-table
DataGrid
152.77 kB
42.242 kB
react-table
Table (Primitives only)
39.638 kB
12.129 kB
react-table
Table as DataGrid
126.224 kB
33.612 kB
react-table
Table (Selection only)
71.594 kB
18.91 kB
react-table
Table (Sort only)
70.213 kB
18.511 kB
react-tags-preview
InteractionTag
11.031 kB
4.528 kB
react-tags-preview
Tag
25.407 kB
8.398 kB
react-tags-preview
TagGroup
69.607 kB
20.482 kB
react-tooltip
Tooltip
47.916 kB
16.838 kB
🤖 This report was generated against ed6746714cdd00f88e292e04d87d38692c838a94

@size-auditor
Copy link

size-auditor bot commented Aug 16, 2023

Asset size changes

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

Baseline commit: ed6746714cdd00f88e292e04d87d38692c838a94 (build)

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@spmonahan spmonahan merged commit 8696dd1 into microsoft:master Aug 17, 2023
21 checks passed
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 21, 2023
* master:
  fix(react-drawer): rename values of position prop from left/right to start/end (microsoft#28905)
  Breadcrumb design team fixes (microsoft#28883)
  applying package updates
  chore(react-search-preview): migrate to new slots API (microsoft#28862)
  docs: Updating version of CDN used and replacing usage of via.placeholder.com with SVG from CDN (microsoft#28895)
  fix(DatePicker, react-datepicker-compat): Make year picker react to go to today button (microsoft#28907)
  fix(DatePicker): readOnlyTextField styles should win over default TextField's (microsoft#28891)
  chore: fix lint warnings for @fluentui/react (microsoft#28888)
  Lint: fix fluent v9 warnings (microsoft#28889)
  doc: add drag & drop example (microsoft#28821)
@@ -0,0 +1,7 @@
{
"type": "patch",
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion for future: IMO this should have been type none , no release needs to be triggered based on these changes

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.

7 participants