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

Table周りの破壊的変更 #160

Merged
merged 4 commits into from
Aug 20, 2020
Merged

Table周りの破壊的変更 #160

merged 4 commits into from
Aug 20, 2020

Conversation

youchann
Copy link
Contributor

@youchann youchann commented Aug 20, 2020

close: #125

ついでに https://github.com/voyagegroup/fluct_XDC/issues/53 も対応。

あとは、<DataTable />のpropsの構造を変えた。

@youchann youchann added the ガーデニング ガーデニングデーに対応する優先度の低いやつ label Aug 20, 2020
@youchann youchann self-assigned this Aug 20, 2020
Comment on lines -130 to -131
// MEMO: nameを廃止して、headerCellのみにすることも可能
// 他の破壊的変更に合わせて行うのが良さそう
Copy link
Contributor Author

Choose a reason for hiding this comment

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

nameはなんだかんだkeypropsやsortキーとして用いるので、必要そう。

</RequiredBadge>
)}
</Flex>
<Typography component="div" weight="bold" size="md" lineHeight="normal">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

そういえばなんでlineHeightはdefaultで1.4なんだろう:thinking:

Comment on lines +26 to +38
<Table.HeaderCell width="177px">
<Flex
display="flex"
justifyContent="space-between"
alignItems="center"
>
<Typography component="div" weight="bold" size="md">
タイトル
</Typography>
<Badge color="danger" fontWeight="bold">
必須
</Badge>
</Flex>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

こんな感じで中身を自由に定義できるようにした。

@youchann youchann assigned noronaoki and unassigned noronaoki Aug 20, 2020
@youchann
Copy link
Contributor Author

@noronaoki
voyagegroup/fluct_XDC#53
↑対応したので確認お願いします:bow:

Copy link
Contributor

@maktak1995 maktak1995 left a comment

Choose a reason for hiding this comment

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

LGTMです!

@youchann youchann merged commit 7b8ea18 into master Aug 20, 2020
@youchann youchann deleted the add-some-disruptive-change branch August 20, 2020 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ガーデニング ガーデニングデーに対応する優先度の低いやつ
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<Table.HeaderCell />の中身に柔軟性を持たせる
3 participants