Skip to content

Conversation

@behowell
Copy link
Contributor

@behowell behowell commented Mar 14, 2023

Previous Behavior

ProgressBar's indeterminate animation was not linear, and there was a gap between when the bar went past the end, and when it looped around again.

New Behavior

Change ProgressBar's indeterminate animation to be linear, and start/end with the bar just past the ends of the track. Also remove the special RTL styles; the normal flipping done by Griffel works for this.

Preview of behavior:
https://fluentuipr.z22.web.core.windows.net/pull/27201/public-docsite-v9/storybook/index.html?path=/docs/components-progressbar--default#indeterminate

@behowell behowell self-assigned this Mar 14, 2023
@github-actions github-actions bot added this to the March Project Cycle Q1 2023 milestone Mar 14, 2023
@size-auditor
Copy link

size-auditor bot commented Mar 14, 2023

Asset size changes

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

Baseline commit: 32e934b7443ca457be0e760c6380ec20f03976c3 (build)

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-progress
ProgressBar
15.965 kB
5.701 kB
15.846 kB
5.658 kB
-119 B
-43 B
react-progress
ProgressField
26.415 kB
8.872 kB
26.289 kB
8.819 kB
-126 B
-53 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
67.03 kB
18.099 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
206.317 kB
57.147 kB
react-components
react-components: FluentProvider & webLightTheme
37.861 kB
12.034 kB
react-portal-compat
PortalCompatProvider
6.324 kB
2.129 kB
🤖 This report was generated against 32e934b7443ca457be0e760c6380ec20f03976c3

@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 703bb75:

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

@behowell behowell marked this pull request as ready for review March 14, 2023 17:31
@behowell behowell requested review from a team and tomi-msft as code owners March 14, 2023 17:31
@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1331 1305 5000
Button mount 945 931 5000
Field mount 1937 1960 5000
FluentProvider mount 1572 1558 5000
FluentProviderWithTheme mount 586 587 10
FluentProviderWithTheme virtual-rerender 541 547 10
FluentProviderWithTheme virtual-rerender-with-unmount 573 575 10
InfoButton mount 528 522 5000
MakeStyles mount 1957 1954 50000
Persona mount 2858 2892 5000
SpinButton mount 2309 2303 5000

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@behowell behowell merged commit 5420a75 into microsoft:master Mar 14, 2023
@behowell behowell deleted the progress/indeterminate-animation branch March 14, 2023 17:41
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Mar 15, 2023
* master: (141 commits)
  chore: prerequisite changes before migrating v9 packages to SWC based transpilation (microsoft#26965)
  feat: Add InfoLabel component (microsoft#27118)
  fix(tools): update migrate-converged generator to add node field to package.json exports map (microsoft#27152)
  applying package updates
  fix: Embed play/pause indicator should render correctly in high contrast mode (microsoft#27213)
  feat(tokens): Add colorNeutralBackgroundAlpha and colorNeutralStrokeAlpha tokens (microsoft#27034)
  chore: Prepare release 0.66.4 (microsoft#27163)
  fix(react-datepicker-compat): Fix text entry issues with input (microsoft#27204)
  fix: Smooth out animation of indeterminate progress bar (microsoft#27201)
  Add cxe-red as a codeowner of react-file-type-icons (microsoft#27147)
  Added documentation about custom style hooks (microsoft#27087)
  Custom style react-text (microsoft#27078)
  Custom style react-image (microsoft#27066)
  Add JSDoc for tabster focus indicator selector (microsoft#27041)
  Theme designer: Move colors to local files (microsoft#27191)
  docs(react-card): move card out of preview (microsoft#27185)
  Include values in typography table (microsoft#27189)
  feat: accept a className in `mountNode` in `Portal` (microsoft#27008)
  RFC: Extend `mountNode` prop in `Portal` (microsoft#27009)
  applying package updates
  ...
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Mar 15, 2023
* master: (141 commits)
  chore: prerequisite changes before migrating v9 packages to SWC based transpilation (microsoft#26965)
  feat: Add InfoLabel component (microsoft#27118)
  fix(tools): update migrate-converged generator to add node field to package.json exports map (microsoft#27152)
  applying package updates
  fix: Embed play/pause indicator should render correctly in high contrast mode (microsoft#27213)
  feat(tokens): Add colorNeutralBackgroundAlpha and colorNeutralStrokeAlpha tokens (microsoft#27034)
  chore: Prepare release 0.66.4 (microsoft#27163)
  fix(react-datepicker-compat): Fix text entry issues with input (microsoft#27204)
  fix: Smooth out animation of indeterminate progress bar (microsoft#27201)
  Add cxe-red as a codeowner of react-file-type-icons (microsoft#27147)
  Added documentation about custom style hooks (microsoft#27087)
  Custom style react-text (microsoft#27078)
  Custom style react-image (microsoft#27066)
  Add JSDoc for tabster focus indicator selector (microsoft#27041)
  Theme designer: Move colors to local files (microsoft#27191)
  docs(react-card): move card out of preview (microsoft#27185)
  Include values in typography table (microsoft#27189)
  feat: accept a className in `mountNode` in `Portal` (microsoft#27008)
  RFC: Extend `mountNode` prop in `Portal` (microsoft#27009)
  applying package updates
  ...
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.

3 participants