Skip to content

Conversation

@ling1726
Copy link
Contributor

Adds deprecation signals across the Alert codebase. Also removes the stories from the official docs.

The Alert component and its exports need to stay where they are since we strictly follow semver.

Adds deprecation signals across the Alert codebase. Also removes the
stories from the official docs.

The Alert component and its exports need to stay where they are since we
strictly follow semver.
@ling1726 ling1726 marked this pull request as ready for review October 23, 2023 12:12
@ling1726 ling1726 requested a review from a team as a code owner October 23, 2023 12:12
@fabricteam
Copy link
Collaborator

fabricteam commented Oct 23, 2023

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 644 637 5000
Button mount 312 312 5000
Field mount 1156 1107 5000
FluentProvider mount 716 710 5000
FluentProviderWithTheme mount 85 90 10
FluentProviderWithTheme virtual-rerender 78 66 10
FluentProviderWithTheme virtual-rerender-with-unmount 81 74 10
MakeStyles mount 855 877 50000
Persona mount 1744 1736 5000
SpinButton mount 1403 1392 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 23, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-alert
Alert
84.293 kB
23.456 kB
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-portal-compat
PortalCompatProvider
6.651 kB
2.252 kB
🤖 This report was generated against 61d4a2910a5039af8b8509422ecfe58bc636191c

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 24, 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 bcce507:

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

@size-auditor
Copy link

size-auditor bot commented Oct 24, 2023

Asset size changes

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

Baseline commit: 61d4a2910a5039af8b8509422ecfe58bc636191c (build)

@khmakoto khmakoto requested a review from a team as a code owner October 24, 2023 22:18
@ling1726 ling1726 merged commit d4ad8bc into microsoft:master Oct 25, 2023
@Hotell
Copy link
Contributor

Hotell commented Oct 25, 2023

we had a convo this morning with @sopranopillow regarding deprecating.

here is summary of steps:

  • deprecate all versions of this package on npm except last one. why except last one? because if deprecate all of them every react-components suite would get warnings to users which is something we would like to avoid

marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 26, 2023
* master:
  chore: migrate to nx 16.10 (microsoft#29617)
  fix(react-drawer): accessibility tweaks (microsoft#29627)
  Fixing few legend colors not visible in dark mode (microsoft#29652)
  applying package updates
  Fixing dark mode bug for xAxis for Vertical Stacked bar chart (microsoft#29427)
  chore: Refactor RadioGroup stories to use Field, and remove individual storybook page for Radio (microsoft#29268)
  docs: fix description of SelectInitialValue story (microsoft#26493)
  chore: fix specs location (microsoft#29642)
  feat(scripts-task): implement initial verify-packaging task (microsoft#29595)
  feat(tools): replace npmignore with package.json#files for robust control over what we ship to npm (microsoft#29616)
  fix(workspace-plugin): fix storybook and vr-test issues wihtin prepare-initial-release generator (microsoft#29577)
  feat(react-breadcrumb): removed non-interactive item  (microsoft#29623)
  fix(react-motion): prevent from breaking the rule of hooks (microsoft#29628)
  fix(react-toast): invoke useCustomStyleHook_unstable() (microsoft#29632)
  feat: Deprecate Alert component (microsoft#29615)
  chore(react-infobutton, react-components): Deprecate InfoButton and InfoLabel from react-infobutton (microsoft#29605)
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.

5 participants