aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/comments-list.stories.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite CommentsList componentArmand Philippot2023-11-111-78/+0
| | | | | | * use ApprovedCommentProps to make CommentData type * add the author name of the parent on reply form heading * add tests
* refactor(components): rewrite CommentForm componentArmand Philippot2023-11-111-15/+2
| | | | | | * remove `Notice` prop to handle it directly in the form * replace `saveComment` prop with `onSubmit` * use `useForm` hook to handle the form
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-5/+5
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* refactor: reduce the number of data transformationArmand Philippot2022-05-231-57/+2
|
* fix: render all images unoptimized in StorybookArmand Philippot2022-05-221-10/+0
| | | | | | There is a bug with next/image and Storybook. I was manually adding `unoptimized` to images. Instead we can use a workaround by adding an extra config in Storybook `preview.js` file.
* chore: complete Storybook storiesArmand Philippot2022-05-211-1/+3
|
* chore: add Article pagesArmand Philippot2022-05-151-10/+20
|
* chore: add a CommentsList componentArmand Philippot2022-04-221-0/+144