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

docs(storybook): update data table #841

Merged
merged 7 commits into from
Sep 10, 2024
Merged

docs(storybook): update data table #841

merged 7 commits into from
Sep 10, 2024

Conversation

Genmoree
Copy link
Contributor

No description provided.

@Genmoree Genmoree requested a review from a team as a code owner April 18, 2024 17:48
Copy link

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

LarryMatte
LarryMatte previously approved these changes Apr 19, 2024
@@ -0,0 +1,54 @@
import { Table } from '@equisoft/design-elements-react';
Copy link
Contributor

@savutsang savutsang Jun 18, 2024

Choose a reason for hiding this comment

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

Il y a le story "Optimization" qui contient du text, il faudrait le mettre dans MDX sinon on ne le voit plus.

image

<p style={{ marginBottom: '2rem' }}>
Additionally, if your columns use some dependencies, you can pass them via useRef instead, so you
don't have to recreate the columns object everytime the dependencies changes.
</p>
<Button type="button" buttonType='secondary' onClick={() => setAllowEditing(!allowEditing)}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Le visuel CSS du onClick du bouton est un peu câché par le tableau. Peut-être le décaler un peu vers le haut rendrais ça plus clean ?
Capture d’écran, le 2024-08-16 à 13 26 41

Copy link
Contributor

Choose a reason for hiding this comment

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

C'est corrigé!

*
* Additionally, if your columns use some dependencies, you can pass them via useRef instead, so you don't have to
* recreate the columns object everytime the dependencies changes.
*/
export const Optimization: Story = () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Pourquoi on appel ça Optimization alors qu'il serait plus logique selon moi d'appeler ça Editable, Editing, etc. 🤔
Qu'est-ce que vous en pensez ?

Copy link
Contributor

Choose a reason for hiding this comment

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

L'objectif semblait de mettre en évidence l'optimisation expliquée dans le texte. Faudrait peut-être revoir le nommage et les stories elles-mêmes dans un 2e temps.

Copy link

github-actions bot commented Sep 9, 2024

Webapp for this build: https://ds.equisoft.io/pr-841/webapp/

@LarryMatte LarryMatte merged commit f338261 into master Sep 10, 2024
22 checks passed
@LarryMatte LarryMatte deleted the dev/DS-1064 branch September 10, 2024 13:36
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