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

fix(react-component): Remove unstable notice from stable components' readmes #25236

Merged
merged 5 commits into from
Oct 24, 2022

Conversation

miroslavstastny
Copy link
Member

Current Behavior

react-components package as well as other stable components contain unstable notice in readme:

These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.

That message is not correct and confuses partners.

New Behavior

  • The message has been removed from react-components and all stable packages.
  • I've also updated the project URLs in the readmes to match the current template.
  • All changes marked as none to avoid useless release.

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 14, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
global-context
createContext
533 B
341 B
global-context
createContextSelector
554 B
348 B
priority-overflow
createOverflowManager
3.153 kB
1.299 kB
react-accordion
Accordion (including children components)
79.083 kB
24.079 kB
react-alert
Alert
84.688 kB
21.233 kB
react-avatar
Avatar
48.874 kB
13.864 kB
react-avatar
AvatarGroup
14.996 kB
6.013 kB
react-avatar
AvatarGroupItem
68.842 kB
19.205 kB
react-badge
Badge
22.646 kB
7.228 kB
react-badge
CounterBadge
23.536 kB
7.512 kB
react-badge
PresenceBadge
24.096 kB
7.09 kB
react-button
Button
36.849 kB
9.907 kB
react-button
CompoundButton
43.874 kB
11.123 kB
react-button
MenuButton
39.543 kB
10.807 kB
react-button
SplitButton
46.989 kB
12.192 kB
react-button
ToggleButton
52.716 kB
11.381 kB
react-card
Card - All
67.216 kB
19.304 kB
react-card
Card
62.898 kB
18.22 kB
react-card
CardFooter
8.607 kB
3.622 kB
react-card
CardHeader
9.65 kB
3.962 kB
react-card
CardPreview
8.708 kB
3.678 kB
react-combobox
Combobox (including child components)
75.141 kB
24.428 kB
react-combobox
Dropdown (including child components)
74.869 kB
24.385 kB
react-components
react-components: Button, FluentProvider & webLightTheme
62.94 kB
17.663 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.488 kB
52.587 kB
react-components
react-components: FluentProvider & webLightTheme
33.446 kB
11.033 kB
react-dialog
Dialog (including children components)
82.626 kB
24.504 kB
react-divider
Divider
16.505 kB
5.925 kB
react-image
Image
10.826 kB
4.286 kB
react-infobutton
InfoButton
7.742 kB
3.265 kB
react-input
Input
23.808 kB
7.729 kB
react-label
Label
9.384 kB
3.883 kB
react-link
Link
11.852 kB
4.888 kB
react-menu
Menu (including children components)
116.668 kB
35.792 kB
react-menu
Menu (including selectable components)
119.737 kB
36.316 kB
react-overflow
hooks only
11.004 kB
4.188 kB
react-persona
Persona
53.992 kB
15.25 kB
react-popover
Popover
102.864 kB
31.542 kB
react-portal
Portal
10.628 kB
3.899 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
react-positioning
usePositioning
19.724 kB
7.415 kB
react-progress
Progress
12.789 kB
4.927 kB
react-provider
FluentProvider
15.807 kB
5.909 kB
react-radio
Radio
36.436 kB
12.126 kB
react-radio
RadioGroup
14.294 kB
5.723 kB
react-select
Select
20.892 kB
7.367 kB
react-slider
Slider
31.805 kB
10.085 kB
react-spinbutton
SpinButton
44.228 kB
12.454 kB
react-spinner
Spinner
20.023 kB
6.461 kB
react-switch
Switch
33.388 kB
10.578 kB
react-text
Text - Default
11.828 kB
4.627 kB
react-text
Text - Wrappers
15.138 kB
5.064 kB
react-textarea
Textarea
25.064 kB
8.158 kB
react-theme
Single theme token import
69 B
89 B
react-theme
Teams: all themes
29.65 kB
6.444 kB
react-theme
Teams: Light theme
17.486 kB
5.057 kB
react-tooltip
Tooltip
41.718 kB
14.687 kB
react-utilities
SSRProvider
180 B
159 B
🤖 This report was generated against eff4a290cbb0ca8fd7023be1e46b2719564743e6

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 14, 2022

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 2edff58:

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

@size-auditor
Copy link

size-auditor bot commented Oct 14, 2022

Asset size changes

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

Baseline commit: eff4a290cbb0ca8fd7023be1e46b2719564743e6 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 14, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1289 1292 5000
Button mount 952 930 5000
FluentProvider mount 1537 1544 5000
FluentProviderWithTheme mount 585 566 10
FluentProviderWithTheme virtual-rerender 544 557 10
FluentProviderWithTheme virtual-rerender-with-unmount 585 580 10
MakeStyles mount 1986 1945 50000
SpinButton mount 2402 2376 5000

Comment on lines 5 to 8
## STATUS: WIP 🚧

These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.

Copy link
Member

Choose a reason for hiding this comment

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

This one should not be removed, react-persona is still unstable.

Copy link
Member Author

Choose a reason for hiding this comment

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

reverted

@miroslavstastny miroslavstastny merged commit 6ced976 into microsoft:master Oct 24, 2022
@miroslavstastny miroslavstastny deleted the fix/readme branch October 24, 2022 08:56
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
…readmes (microsoft#25236)

* fix(react-component): Remove unstable notice from stable components' readmes

* Update project links in readmes

* change files

* revert react-persona, still unstable

* revert react-persona, still unstable (change file)
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