Skip to content

Conversation

@ling1726
Copy link
Contributor

  • Cleanup docstrings
  • Adds main component description
  • Adds descriptions to relevant examples
  • Adds subcomponent props
  • Reorders examples

- Cleanup docstrings
- Adds main component description
- Adds descriptions to relevant examples
- Adds subcomponent props
- Reorders examples
@size-auditor
Copy link

size-auditor bot commented Nov 25, 2022

Asset size changes

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

Baseline commit: 56a61fc731fa4ca6440eb78629c1e38b26154ffa (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Nov 25, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
62.975 kB
17.687 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
190.411 kB
53.077 kB
react-components
react-components: FluentProvider & webLightTheme
33.48 kB
11.037 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
🤖 This report was generated against 56a61fc731fa4ca6440eb78629c1e38b26154ffa

@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 9d2768b:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Nov 25, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1306 1321 5000
Button mount 945 942 5000
FluentProvider mount 1569 1581 5000
FluentProviderWithTheme mount 627 623 10
FluentProviderWithTheme virtual-rerender 590 583 10
FluentProviderWithTheme virtual-rerender-with-unmount 627 616 10
MakeStyles mount 1914 1911 50000
SpinButton mount 2495 2552 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Nov 25, 2022

🕵 fluentuiv9 Open the Visual Regressions report to inspect the 2 screenshots

✅ There was 0 screenshots added, 0 screenshots removed, 1749 screenshots unchanged, 0 screenshots with different dimensions and 2 screenshots with visible difference.

unknown 2 screenshots
Image Name Diff(in Pixels) Image Type
Avatar Converged.size+active+badge.normal.chromium.png 7 Changed
Avatar Converged.size+active+ring-shadow.normal.chromium.png 11 Changed

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 25, 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 05ab7ad:

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

</Table>
);
};

Copy link
Member

Choose a reason for hiding this comment

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

TableCellActions overlaps TableCellLayout. Is that expected?
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Submitted a bug for this #25789

);
};

CellNavigation.parameters = {
Copy link
Member

Choose a reason for hiding this comment

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

not related to the PR, but the fact that storybook shows only the exported component source code makes the examples really hard to read - I do not know what the columns and items are, where you import useArrowNavigationGroup from... :/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah we've had an open issue on it for a while #20046

</Table>
);
};

Copy link
Member

Choose a reason for hiding this comment

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

Please double check keyboard navigation - I can select the row checkbox by both Enter and Space but Space scrolls.
For the uber checkbox for all lines I can only select it using Space (without scroll) cannot select it using Enter.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, I've made it behave consistently to uber checkbox and added preventDefault to stop the scrolling

Copy link
Member

@miroslavstastny miroslavstastny left a comment

Choose a reason for hiding this comment

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

lgtm

@ling1726 ling1726 enabled auto-merge (squash) November 25, 2022 17:23
@ling1726 ling1726 merged commit f7d7f82 into microsoft:master Nov 25, 2022
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Nov 29, 2022
* master: (34 commits)
  chore(react-tooltip): migrate to new package structure (microsoft#25818)
  chore(react-field): migrate to new package structure (microsoft#25817)
  Update vr screenshotdiff lib to accept vr host url as param (microsoft#25772)
  feat(scripts): enable strict checking for additional sub-folders(packages) v4 (microsoft#25710)
  fix(tools): bump norhtstar packages v9 deps on dep mismatch resolution (microsoft#25806)
  feat: remove react-storybook and replace its functionality via standard react-storybook-addon package (microsoft#25786)
  applying package updates
  chore(react-spinbutton): migrate to new package structure (microsoft#25813)
  chore(react-spinner): migrate to new package structure (microsoft#25814)
  chore(react-provider): migrate to new package structure (microsoft#25809)
  chore(react-radio, shared-contexts): migrate to new package structure (microsoft#25810)
  chore(react-theme): migrate to new package structure (microsoft#25812)
  docs: add Fluent UI Insights EP04 to README (microsoft#25775)
  chore(react-migration-v8-v9): use same build process/setup as v9/ts-solution packages (microsoft#25679)
  docs: Improves `Table` documentation (microsoft#25787)
  feat: improve react-18 tests (microsoft#25758)
  docs: Add examples for DataGrid (microsoft#25783)
  chore(react-tree): scaffold TreeItemLayout (microsoft#25781)
  perf: make ts-minbar test compilation faster and asset preparation simpler (microsoft#25754)
  chore: creates TreeItem and basic Tree (microsoft#25742)
  ...
Hotell pushed a commit to Hotell/fluentui that referenced this pull request Feb 9, 2023
* docs: Improves `Table` documentation

- Cleanup docstrings
- Adds main component description
- Adds descriptions to relevant examples
- Adds subcomponent props
- Reorders examples

* changefile

* suggestions

* suggestions

* Add story for DataGrid implementation
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