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

chore(react-dialog): remove animation from test environments #29692

Conversation

bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Oct 30, 2023

New Behavior

Conditionally removes the usage of Transition component to disable animations on tests environments

Related Issue(s)

@bsunderhus bsunderhus self-assigned this Oct 30, 2023
@bsunderhus bsunderhus changed the title chore: remove animation from test environments chore(react-dialog): remove animation from test environments Oct 30, 2023
@bsunderhus bsunderhus marked this pull request as ready for review October 30, 2023 13:46
@bsunderhus bsunderhus requested a review from a team as a code owner October 30, 2023 13:46
@fabricteam
Copy link
Collaborator

fabricteam commented Oct 30, 2023

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
FluentProviderWithTheme virtual-rerender 61 58 10 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 632 687 5000
Button mount 317 318 5000
Field mount 1169 1132 5000
FluentProvider mount 720 715 5000
FluentProviderWithTheme mount 74 81 10
FluentProviderWithTheme virtual-rerender 61 58 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 69 79 10
MakeStyles mount 874 899 50000
Persona mount 1799 1752 5000
SpinButton mount 1415 1381 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 30, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
70.002 kB
20.161 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
207.417 kB
59.289 kB
react-components
react-components: FluentProvider & webLightTheme
42.286 kB
14 kB
react-dialog
Dialog (including children components)
94.473 kB
28.28 kB
react-portal-compat
PortalCompatProvider
6.651 kB
2.252 kB
🤖 This report was generated against 4c4558791182fbe2a62992e2ff76e4e048a42bf7

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 30, 2023

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 53199e7:

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

@size-auditor
Copy link

size-auditor bot commented Oct 30, 2023

Asset size changes

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

Baseline commit: 4c4558791182fbe2a62992e2ff76e4e048a42bf7 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 30, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@bsunderhus bsunderhus force-pushed the react-dialog/chore--remove-animation-from-test-environments branch from 07db9b4 to 53199e7 Compare October 31, 2023 12:42
@bsunderhus bsunderhus merged commit c4d00c3 into microsoft:master Oct 31, 2023
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 31, 2023
* master: (34 commits)
  Remove redundant pipeline yaml. It is now replaced iwth azure-pipelines-ci.yml and azure-pipelines-pr.yml (microsoft#29706)
  chore(TimePicker-compat): preview release with added stories and docs (microsoft#29677)
  Enable 1ES PT to be compliant for all production pipelines (microsoft#29702)
  chore: restrict  node versions to 18 ||| 20 (microsoft#29676)
  chore(TimePicker-compat): renames and code polish (microsoft#29695)
  chore: remove animation from test environments (microsoft#29692)
  applying package updates
  docs: fix defaultSelectedOptions for Dropdown and Combobox examples (microsoft#29700)
  revert accidentally pushed changes (microsoft#29696)
  Added scale factor to minHeight logic (microsoft#29653)
  Fixing the mistake in useArrowNavigationGroup - axis values in the doc (microsoft#29667)
  applying package updates
  🧪
  🧪
  🧪
  🧪
  🧪
  Rever accidentally pushed pipeline changes (microsoft#29685)
  applying package updates
  🧪
  ...
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.

[Bug]: v9 Dialog animations are causing integration tests to fail
3 participants