aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/CommentsList
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove old pages, components, helpers and typesArmand Philippot2022-04-292-83/+0
| | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch.
* refactor: use formatjs swc pluginArmand Philippot2022-03-231-0/+3
| | | | | I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id.
* refactor: update graphql queries (#14)Armand Philippot2022-03-091-1/+1
| | | | | | | | | | | | | | | | | | * refactor: replace postBy query postBy is now deprecated in WPGraphQL v1.7 * refactor: update post comments query PostBy is deprecated and it is now possible to use the post ID to query comments. * refactor: update get topic by slug query topicBy is deprecated * refactor: update get thematic by slug query thematicBy is deprecated
* fix: update comments list when a new comment is sendArmand Philippot2022-02-141-3/+24
| | | | | The comments list was static before. If an user posted a comment, even after it was approved, the comments list was keeping the old state.
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-4/+16
|
* chore(comments): handle comment replyArmand Philippot2022-01-151-2/+10
|
* chore: improve comment sectionArmand Philippot2022-01-072-1/+11
| | | | I also adjust styles for all forms and primary buttons.
* chore: display comments list on postsArmand Philippot2021-12-172-0/+29