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

feat(table,storybook): add header grouping to table header #784

Merged
merged 5 commits into from
Apr 25, 2024

Conversation

mmorin-equisoft
Copy link
Contributor

@mmorin-equisoft mmorin-equisoft commented Mar 25, 2024

@mmorin-equisoft mmorin-equisoft force-pushed the dev/DS-933 branch 2 times, most recently from 653bcc6 to 01ff72b Compare March 25, 2024 20:14
@mmorin-equisoft mmorin-equisoft changed the title feat(table-header,storybook): add header grouping in data-table feat(table-header,storybook): add header grouping to table header Mar 25, 2024
@mmorin-equisoft mmorin-equisoft changed the title feat(table-header,storybook): add header grouping to table header feat(table,storybook): add header grouping to table header Mar 25, 2024
@mmorin-equisoft mmorin-equisoft marked this pull request as ready for review March 25, 2024 20:20
@mmorin-equisoft mmorin-equisoft requested a review from a team as a code owner March 25, 2024 20:20
Copy link

Storybook for this build: https://ds.equisoft.io/pr-784/

@savutsang
Copy link
Contributor

savutsang commented Mar 26, 2024

C'est un cas particulier ici car on a pas de Figma ni de Notion par rapport a ca (c'est bizarre sans les lignes verticales). J'imagine on veut demontrer que c'est un truc fesable mais ce n'est pas encore officiellement supporte/documente. Pour moi c'est good.

savutsang
savutsang previously approved these changes Mar 26, 2024
alexbrillant
alexbrillant previously approved these changes Apr 1, 2024
Copy link

@maboilard maboilard left a comment

Choose a reason for hiding this comment

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

J'ajouterais un séparateur entre les groupes de premier niveau (voir exemple ici) afin de bien délimiter l'information lorsqu'il y a des éléments alignés à droite.

J'ai aussi remarqué que la hauter du column header n'est pas la même que les rows mais ça semble être le cas un peu partout. Je vais donc créer un autre ticket pour régler ce bug.

À part ça, c'est all good pour moi! :)

maboilard
maboilard previously approved these changes Apr 17, 2024
Copy link

@maboilard maboilard left a comment

Choose a reason for hiding this comment

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

C'est good pour moi, bon boulot!

${({ hasRightBorder }) => hasRightBorder && css`
border-right: 1px solid ${({ theme }) => theme.greys.grey};
`}

&:before {
border-bottom: 1px solid ${({ theme }) => theme.greys.grey};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Je viens de me rendre compte qu'on pas fait la migration vers les design tokens. Est-ce que c'est volontaire?

Copy link
Contributor

Choose a reason for hiding this comment

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

Henri s'en occupe dans #851

Copy link
Contributor

@meriouma meriouma left a comment

Choose a reason for hiding this comment

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

Petits détails, sinon LGTM

${({ hasRightBorder }) => hasRightBorder && css`
border-right: 1px solid ${({ theme }) => theme.greys.grey};
`}

&:before {
border-bottom: 1px solid ${({ theme }) => theme.greys.grey};
Copy link
Contributor

Choose a reason for hiding this comment

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

Henri s'en occupe dans #851

packages/react/src/components/table/table-header.tsx Outdated Show resolved Hide resolved
packages/react/src/components/table/utils/table-utils.ts Outdated Show resolved Hide resolved
@mmorin-equisoft mmorin-equisoft force-pushed the dev/DS-933 branch 2 times, most recently from 3ad9723 to 852d87d Compare April 25, 2024 13:00
Copy link
Contributor

@meriouma meriouma left a comment

Choose a reason for hiding this comment

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

Je te laisse voir avec Henri l'ordre dans lequel vous voulez merger vos affaires et pour vous assurer que le token est changé pour un nouveau.

@mmorin-equisoft mmorin-equisoft merged commit 7b35956 into master Apr 25, 2024
20 checks passed
@mmorin-equisoft mmorin-equisoft deleted the dev/DS-933 branch April 25, 2024 14:53
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