aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/comment
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): refine Article pagesArmand Philippot2023-12-012-3/+6
| | | | | | | | | | | * use rehype to update code blocks class names * fix widget heading level (after a level 1 it should always be a level 2 and not 3) * replace Spinner with LoadingPage and LoadingPageComments components to keep layout coherent * refactor useArticle and useComments hooks * fix URLs in JSON LD schema * add Cypress tests
* refactor(components): extract MetaItem from MetaListArmand Philippot2023-11-201-14/+12
| | | | | | * replace `items` prop on MetaList with `children` prop: it was too restrictive and the global options was not really useful. It is better too give control to the consumers.
* refactor(components): split Comment component into 3 componentsArmand Philippot2023-11-1115-0/+677
* add ApprovedComment, PendingComment and ReplyCommentForm components * let consumer handle reply form visibility * move structured data into article page (each article already has the comments data and already handle json ltd schema so I prefered to move the schema in the final consumer instead of adding a script element foreach comment)