| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(comments): load all comments on a post | Armand Philippot | 2022-08-21 | 3 | -4/+10 |
| | | | | | | | | | | 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 | 4 | -5/+238 |
| | | | | | | | | 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. | ||||
| * | chore: use image title as figure label if no caption is provided | Armand Philippot | 2022-06-07 | 1 | -1/+6 |
| | | |||||
| * | fix: ensure all topics/thematics have the base url | Armand Philippot | 2022-05-23 | 1 | -1/+1 |
| | | |||||
| * | refactor: reduce the number of data transformation | Armand Philippot | 2022-05-23 | 3 | -9/+4 |
| | | |||||
| * | chore: use persistent layout | Armand Philippot | 2022-05-17 | 1 | -0/+21 |
| | | | | | | It prevents to rerender the common components between pages (header, footer...). | ||||
| * | chore: adjust and complete missing styles | Armand Philippot | 2022-05-16 | 2 | -2/+6 |
| | | | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements | ||||
| * | chore: add Project single pages | Armand Philippot | 2022-05-13 | 2 | -8/+14 |
| | | |||||
| * | chore: add a Projects page | Armand Philippot | 2022-05-05 | 1 | -1/+9 |
| | | |||||
| * | chore: add a LegalNotice page | Armand Philippot | 2022-05-03 | 3 | -8/+34 |
| | | |||||
| * | chore: fetch posts for rss feed | Armand Philippot | 2022-05-02 | 2 | -0/+189 |
| | | |||||
| * | chore: remove old pages, components, helpers and types | Armand Philippot | 2022-04-29 | 11 | -575/+0 |
| | | | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch. | ||||
| * | refactor: load prism plugins without babel | Armand Philippot | 2022-03-24 | 1 | -0/+51 |
| | | |||||
| * | refactor: update graphql queries (#14) | Armand Philippot | 2022-03-09 | 3 | -16/+10 |
| | | | | | | | | | | | | | | | | | | | * 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 | 2 | -2/+17 |
| | | | | | | | | | | * chore: add a Pagination component * chore: add blog pages * chore: fallback to page number based navigation if JS disabled * chore: update translation | ||||
| * | refactor: split posts meta into smaller components | Armand Philippot | 2022-03-01 | 1 | -0/+2 |
| | | |||||
| * | chore(homepage): use next/image for images and specify width/height | Armand Philippot | 2022-02-22 | 1 | -0/+6 |
| | | |||||
| * | refactor: remove unused graphql fields | Armand Philippot | 2022-02-14 | 1 | -15/+0 |
| | | |||||
| * | chore: display initial posts, thematics & topics | Armand Philippot | 2022-02-14 | 2 | -1/+7 |
| | | | | | | By fetching the data in getStaticProps, I can display the data even for users with Javascript disabled. | ||||
| * | chore: improve comment form user experience | Armand Philippot | 2022-02-14 | 1 | -0/+2 |
| | | |||||
| * | fix: update comments list when a new comment is send | Armand Philippot | 2022-02-14 | 3 | -3/+13 |
| | | | | | | 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 | 2 | -4/+13 |
| | | |||||
| * | fix: handle getStaticPaths fallback | Armand Philippot | 2022-02-02 | 1 | -0/+4 |
| | | | | | | | | | I had errors with next build because of fallback. I need to return early if the path does not exists, if not Next complains about undefined variables. I don't think it was related but I also fix the paths format in getStaticPaths, I forgot the params object in some dynamic routes. | ||||
| * | fix(project): make sure the project cover is displayed | Armand Philippot | 2022-01-27 | 1 | -10/+11 |
| | | | | | | | | | Next.js does not support the dynamic import of images. Sometimes the images was displayed and other times the loading did not finish. So even if I would like to keep the content in a same place, I choose to put the projects covers inside the public directory. Then I use a hasCover boolean to determine if the project cover need to be printed. | ||||
| * | chore: add reading time in posts meta | Armand Philippot | 2022-01-25 | 3 | -6/+26 |
| | | |||||
| * | chore: display total found posts in page meta | Armand Philippot | 2022-01-25 | 2 | -0/+2 |
| | | |||||
| * | refactor(project): replace repo api call method with hook and swr | Armand Philippot | 2022-01-24 | 1 | -0/+2 |
| | | | | | | | | | | | 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 | 3 | -34/+30 |
| | | | | | | 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/+5 |
| | | |||||
| * | chore: add single project view | Armand Philippot | 2022-01-20 | 1 | -2/+11 |
| | | |||||
| * | chore: add a page for projects | Armand Philippot | 2022-01-20 | 1 | -0/+17 |
| | | |||||
| * | chore: add structured data using schema.org and JSON-LD | Armand Philippot | 2022-01-19 | 1 | -0/+2 |
| | | | | | I also added the featured image on single article. | ||||
| * | chore: update sidebar and widgets styles | Armand Philippot | 2022-01-15 | 1 | -0/+4 |
| | | | | | | | | | | I'm now using a widget that can be expanded/collapsed. It also allows me to handle more effectively widgets overflow and to avoid styles repetitions. However, with stylelint rule "no-descending-specificity", I'm not sure if the stylesheets are really logical... Maybe I should deactivate this rule. | ||||
| * | chore: add title and meta desc to subjects and thematics | Armand Philippot | 2022-01-11 | 1 | -1/+3 |
| | | |||||
| * | chore(meta): display subjects instead of thematics on Thematic pages | Armand Philippot | 2022-01-11 | 1 | -2/+3 |
| | | |||||
| * | chore: add a widget to list all blog topics | Armand Philippot | 2022-01-07 | 2 | -4/+12 |
| | | |||||
| * | chore: add a widget to list all blog thematics | Armand Philippot | 2022-01-07 | 2 | -0/+8 |
| | | |||||
| * | refactor: reuse PostMeta components on single articles/pages | Armand Philippot | 2022-01-06 | 1 | -0/+8 |
| | | |||||
| * | chore: display subjects list under articles | Armand Philippot | 2022-01-03 | 2 | -2/+15 |
| | | |||||
| * | chore: add a button-like component for links | Armand Philippot | 2021-12-29 | 1 | -0/+2 |
| | | |||||
| * | chore: display comments as a tree | Armand Philippot | 2021-12-27 | 1 | -0/+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 | 2 | -30/+1 |
| | | | | | | 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 | 2 | -14/+0 |
| | | | | | | I cannot import custom blocks through WP GraphQL, so I prefer to use MDX file. This way I cannot import custom components. | ||||
| * | build: add a typescript declaration file for MDX | Armand Philippot | 2021-12-24 | 1 | -0/+6 |
| | | | | | | I need to inform Typescript than I am exporting a meta constant from MDX files. | ||||
| * | chore: add a table of contents | Armand Philippot | 2021-12-21 | 1 | -0/+7 |
| | | |||||
| * | refactor: rewrite types and services | Armand Philippot | 2021-12-20 | 10 | -194/+224 |
| | | | | | | | | 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 | -3/+38 |
| | | |||||
| * | chore: create mutation to add a new comment on posts | Armand Philippot | 2021-12-17 | 1 | -0/+22 |
| | | |||||
| * | chore: create mutation to send mail from contact form | Armand Philippot | 2021-12-17 | 1 | -0/+19 |
| | | |||||
| * | chore: add meta to single posts | Armand Philippot | 2021-12-17 | 1 | -0/+10 |
| | | |||||
