| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(comments): load all comments on a post | Armand Philippot | 2022-08-21 | 2 | -53/+128 |
| | | | | | | | | | | Previously, only the first 10 comments was loaded. So I update the fetching method to retrieve all the comments on a post. Also, I choose to order comments on client side because of a bug with WPGraphQL. Finally, I renamed the Comment type to SingleComment to avoid conflict with existing types. | ||||
| * | refactor(types): move and rename GraphQL types | Armand Philippot | 2022-08-20 | 7 | -363/+113 |
| | | | | | | | | The api file in services was not really readable. So I move the types and I also rewrite a little the fetch function. I also rename most of the type to avoid conflict with preexisting types (like Node) and to keep consistency. | ||||
| * | fix: ensure all topics/thematics have the base url | Armand Philippot | 2022-05-23 | 3 | -4/+4 |
| | | |||||
| * | refactor: reduce the number of data transformation | Armand Philippot | 2022-05-23 | 6 | -29/+1 |
| | | |||||
| * | chore: handle blog pagination when JS is disabled | Armand Philippot | 2022-05-20 | 3 | -1/+48 |
| | | |||||
| * | chore: handle settings change | Armand Philippot | 2022-05-18 | 1 | -3/+3 |
| | | |||||
| * | chore: adjust and complete missing styles | Armand Philippot | 2022-05-16 | 2 | -0/+22 |
| | | | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements | ||||
| * | chore: add Article pages | Armand Philippot | 2022-05-15 | 3 | -1/+183 |
| | | |||||
| * | chore: add Search page | Armand Philippot | 2022-05-15 | 4 | -9/+17 |
| | | |||||
| * | chore: add Topic pages | Armand Philippot | 2022-05-13 | 2 | -6/+136 |
| | | |||||
| * | chore: add Thematic page | Armand Philippot | 2022-05-13 | 2 | -2/+138 |
| | | |||||
| * | chore: add blog page widgets | Armand Philippot | 2022-05-13 | 5 | -1/+107 |
| | | |||||
| * | chore: handle blog pagination | Armand Philippot | 2022-05-13 | 1 | -21/+45 |
| | | |||||
| * | chore: add a Contact page | Armand Philippot | 2022-05-07 | 3 | -5/+72 |
| | | |||||
| * | chore: add homepage | Armand Philippot | 2022-05-03 | 1 | -3/+49 |
| | | |||||
| * | chore: fetch posts for rss feed | Armand Philippot | 2022-05-02 | 2 | -0/+105 |
| | | |||||
| * | refactor: rewrite API fetching method and GraphQL queries | Armand Philippot | 2022-05-02 | 5 | -0/+650 |
| | | |||||
| * | chore: remove old pages, components, helpers and types | Armand Philippot | 2022-04-29 | 3 | -642/+0 |
| | | | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch. | ||||
| * | refactor: update graphql queries (#14) | Armand Philippot | 2022-03-09 | 1 | -28/+24 |
| | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | feat: provide pagination for users with js disabled (#13) | Armand Philippot | 2022-03-09 | 1 | -1/+28 |
| | | | | | | | | | | * chore: add a Pagination component * chore: add blog pages * chore: fallback to page number based navigation if JS disabled * chore: update translation | ||||
| * | chore: use a different configuration depending on app env | Armand Philippot | 2022-03-04 | 1 | -1/+2 |
| | | | | | | | It will be useful with Docker. Instead of cloning the project with a different configuration, I can manage two different configuration thanks to dotenv and some checking inside the app. | ||||
| * | refactor: remove unused graphql fields | Armand Philippot | 2022-02-14 | 1 | -45/+1 |
| | | |||||
| * | fix: update comments list when a new comment is send | Armand Philippot | 2022-02-14 | 1 | -19/+41 |
| | | | | | | 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: improve RSS feed generation time | Armand Philippot | 2022-02-13 | 1 | -1/+16 |
| | | |||||
| * | chore: add reading time in posts meta | Armand Philippot | 2022-01-25 | 1 | -0/+24 |
| | | |||||
| * | chore: display total found posts in page meta | Armand Philippot | 2022-01-25 | 1 | -0/+1 |
| | | |||||
| * | refactor(project): replace repo api call method with hook and swr | Armand Philippot | 2022-01-24 | 1 | -15/+0 |
| | | | | | | | | | | | Instead of using post slug and an environment variable to fetch repo data, I use the given repo in each project MDX file. It allows me to fetch data from another user/organization if needed. To make it work, I no longer provide the full URL in MDX file. The new format is: "User/repo-slug". I also replaced the fetch method with SWR to improve caching and to avoid React complaining about cleanup useEffect. | ||||
| * | refactor: rename all subject occurrences into topic | Armand Philippot | 2022-01-23 | 1 | -32/+32 |
| | | | | | | I change the name in graphql endpoint, so I decided to repercute this change here. | ||||
| * | chore: add a project summary component | Armand Philippot | 2022-01-20 | 1 | -0/+15 |
| | | |||||
| * | chore: add a service to handle local storage | Armand Philippot | 2022-01-17 | 1 | -0/+26 |
| | | |||||
| * | fix(widget): remove items limit for ThematicsList and TopicsList | Armand Philippot | 2022-01-11 | 1 | -2/+7 |
| | | | | | | | | By default WPGraphQL gets only the 10 first items if first is not specified. So some subjects was not displayed. I also add an order by title to the query. So I no longer need to sort arrays inside components. | ||||
| * | chore: add a widget to list all blog topics | Armand Philippot | 2022-01-07 | 1 | -0/+19 |
| | | |||||
| * | chore: add a widget to list all blog thematics | Armand Philippot | 2022-01-07 | 1 | -0/+19 |
| | | |||||
| * | refactor: avoid useless assignement before return statement | Armand Philippot | 2022-01-04 | 2 | -17/+7 |
| | | |||||
| * | chore: display comments as a tree | Armand Philippot | 2021-12-27 | 1 | -1/+1 |
| | | | | | | | I was displaying comments without the parent/children link. Now, each child is displayed under its parent. I also remove the reply button for children to avoid too many child depth. | ||||
| * | chore: replace CV content with mdx content | Armand Philippot | 2021-12-24 | 1 | -28/+0 |
| | | | | | | Since I replace the other pages, there is no reason to fetch this page content through WP GraphQL. | ||||
| * | chore: replace homepage content with MDX content | Armand Philippot | 2021-12-24 | 1 | -19/+0 |
| | | | | | | I cannot import custom blocks through WP GraphQL, so I prefer to use MDX file. This way I cannot import custom components. | ||||
| * | chore: create search view | Armand Philippot | 2021-12-20 | 1 | -3/+12 |
| | | |||||
| * | refactor: rewrite types and services | Armand Philippot | 2021-12-20 | 11 | -880/+605 |
| | | | | | | | | I was repeating myself a lot in services. So I rewrited the different functions to improve readability and I extracted some formatting functions to put them in utils. I also rewrited/reorganized some types to keep consistent names. | ||||
| * | chore: add subject view | Armand Philippot | 2021-12-18 | 1 | -2/+184 |
| | | |||||
| * | chore: create mutation to add a new comment on posts | Armand Philippot | 2021-12-17 | 2 | -0/+69 |
| | | |||||
| * | chore: create mutation to send mail from contact form | Armand Philippot | 2021-12-17 | 1 | -0/+49 |
| | | |||||
| * | chore: add title and meta desc to posts | Armand Philippot | 2021-12-17 | 1 | -0/+1 |
| | | |||||
| * | chore: add meta to single posts | Armand Philippot | 2021-12-17 | 1 | -0/+9 |
| | | |||||
| * | chore: display comments list on posts | Armand Philippot | 2021-12-17 | 1 | -1/+4 |
| | | |||||
| * | chore: create thematic page view | Armand Philippot | 2021-12-16 | 1 | -0/+166 |
| | | | | | | | | For now I have to repeat some markup/styles, I cannot reuse PostsList component. WP GraphQL does not offer edges for ACF Post2Post or filters to get thematic posts with another way. I should create custom fields in backend to improve the posts fetching. | ||||
| * | chore: display featuredImage and meta on posts list | Armand Philippot | 2021-12-16 | 2 | -3/+6 |
| | | |||||
| * | chore: fix typo | Armand Philippot | 2021-12-16 | 1 | -4/+4 |
| | | |||||
| * | chore: create legal notice view | Armand Philippot | 2021-12-15 | 1 | -8/+20 |
| | | |||||
| * | chore: create CV view | Armand Philippot | 2021-12-15 | 1 | -0/+48 |
| | | |||||
