Skip to content

feat: Implement TablePrimaryCell and TableCellActions#24232

Merged
ling1726 merged 10 commits intomicrosoft:masterfrom
ling1726:feat/table-primary-cell
Aug 5, 2022
Merged

feat: Implement TablePrimaryCell and TableCellActions#24232
ling1726 merged 10 commits intomicrosoft:masterfrom
ling1726:feat/table-primary-cell

Conversation

@ling1726
Copy link
Contributor

@ling1726 ling1726 commented Aug 4, 2022

Fixes #24225
Addresses #23983
msedge_EXoz5LFCjr
msedge_iQ7IllMRS5

@ling1726 ling1726 marked this pull request as ready for review August 4, 2022 18:05
@ling1726 ling1726 requested review from a team as code owners August 4, 2022 18:05
@github-actions github-actions bot added this to the July Project Cycle Q3 2022 milestone Aug 4, 2022
@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 4, 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 8b68f0c:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 4, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
192.699 kB
52.786 kB
react-components
react-components: FluentProvider & webLightTheme
32.688 kB
10.736 kB
🤖 This report was generated against e7597d1df35bd37a8bca78c87e385ac5017d0409

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 4, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1708 1724 5000
Button mount 1242 1191 5000
FluentProvider mount 1893 1996 5000
FluentProviderWithTheme mount 699 710 10
FluentProviderWithTheme virtual-rerender 664 655 10
FluentProviderWithTheme virtual-rerender-with-unmount 702 699 10
MakeStyles mount 2238 2255 50000
SpinButton mount 3320 3340 5000

@size-auditor
Copy link

size-auditor bot commented Aug 4, 2022

Asset size changes

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

Baseline commit: e7597d1df35bd37a8bca78c87e385ac5017d0409 (build)

@ling1726 ling1726 changed the title Feat/table primary cell feat: Implement TablePrimaryCell and TableCellActions Aug 4, 2022
Copy link
Contributor

@bsunderhus bsunderhus left a comment

Choose a reason for hiding this comment

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

LGTM!

import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
import { TableCellSlots } from '../TableCell/TableCell.types';

export type TablePrimaryCellSlots = {
Copy link
Contributor

Choose a reason for hiding this comment

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

root?

Copy link
Contributor Author

@ling1726 ling1726 Aug 5, 2022

Choose a reason for hiding this comment

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

I've extended from TableCellSlots

@ling1726 ling1726 merged commit 9253171 into microsoft:master Aug 5, 2022
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.

Table: Create primary column primitive

5 participants