-
Notifications
You must be signed in to change notification settings - Fork 0
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): rows grouping #1003
base: master
Are you sure you want to change the base?
Conversation
613185c
to
12e6764
Compare
Storybook for this build: https://ds.equisoft.io/pr-1003/ |
Webapp for this build: https://ds.equisoft.io/pr-1003/webapp/ |
090a905
to
5c2120d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'ai des erreurs de Typescript que j'arrive pas a resoudre, plus j'essaie de fixer ca et plus je recule. Le probleme est essentiellement l'incompatibilite des types generics, l'erreur est visbile dans data-table.stories.tsx
. J'aurais besoin de cerveau frais qui pourrais m'aider a resooudre ca.
@@ -136,7 +136,7 @@ export const WithFooter: Story = () => { | |||
|
|||
// Footer function for the 'numbers' column | |||
const footerSum = (): ReactElement => { | |||
const total = data.reduce((sum, row) => row.numbers + sum, 0); | |||
const total = (data as FooterData[]).reduce((sum, row) => row.numbers + sum, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'aimerais mieux qu'on ai pas a caster ici, ni les autres casting plus bas non plus
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Permettre d'afficher des rows sous des groups
Note: Les screenshots dans JIRA ont des background gris, mais c'est plutot blanche/transparent tel que dans Figma.