| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix: update comments list when a new comment is send | Armand Philippot | 2022-02-14 | 1 | -8/+6 |
| | | | | | | 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(matomo): use another dependency to track page views | Armand Philippot | 2022-02-14 | 2 | -7/+4 |
| | | | | | | | I though the previous package would track all visits with the provided but it seems that I need to add trackPageView on all pages. So I decided to use another package. | ||||
| * | chore: improve RSS feed generation time | Armand Philippot | 2022-02-13 | 1 | -10/+5 |
| | | |||||
| * | chore(toc): exclude comments section for headings list | Armand Philippot | 2022-02-12 | 1 | -1/+1 |
| | | |||||
| * | fix(prism): translate toolbar buttons on single article pages | Armand Philippot | 2022-02-10 | 1 | -49/+0 |
| | | | | | | The translation was not always loaded the first time. So I decided to put the prism attributes manually instead. | ||||
| * | chore(prism): translate color scheme toggle button | Armand Philippot | 2022-02-08 | 1 | -0/+21 |
| | | |||||
| * | refactor(prism): rename color scheme attributes and remove prefix | Armand Philippot | 2022-02-08 | 2 | -32/+25 |
| | | |||||
| * | fix: handle getStaticPaths fallback | Armand Philippot | 2022-02-02 | 1 | -0/+12 |
| | | | | | | | | | 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. | ||||
| * | chore: add a new settings to handle prism theme from toolbar | Armand Philippot | 2022-02-01 | 1 | -0/+162 |
| | | |||||
| * | chore: add Matomo | Armand Philippot | 2022-01-31 | 1 | -0/+7 |
| | | |||||
| * | chore: add a Prism plugin to set code blocks theme | Armand Philippot | 2022-01-31 | 1 | -0/+252 |
| | | |||||
| * | chore(baseline): handle baseline translation manually | Armand Philippot | 2022-01-30 | 2 | -2/+5 |
| | | | | | | | I cannot use formatjs to translate the website baseline since I need an async function to load the message. If I use the getIntlInstance helper outside NextJS, webpack is complaining about fs and path. | ||||
| * | refactor(config): move config from config dir to utils | Armand Philippot | 2022-01-29 | 3 | -7/+23 |
| | | |||||
| * | chore: replace lingui functions with react-intl | Armand Philippot | 2022-01-29 | 2 | -6/+39 |
| | | |||||
| * | chore(i18n): replace i18n provider and helpers | Armand Philippot | 2022-01-29 | 1 | -75/+17 |
| | | |||||
| * | fix: handle translation with lingui | Armand Philippot | 2022-01-28 | 1 | -22/+72 |
| | | | | | | | | | The previous method was not working so I tried a different approach. Translation is loaded but I'm still getting warnings: * Plurals for locale undefined aren't loaded * Text content did not match I can't figure how to fix them... | ||||
| * | chore: update project preview appearance | Armand Philippot | 2022-01-27 | 1 | -3/+3 |
| | | |||||
| * | chore: wrap dates with time tag | Armand Philippot | 2022-01-25 | 1 | -0/+16 |
| | | |||||
| * | chore: add reading time in posts meta | Armand Philippot | 2022-01-25 | 1 | -0/+8 |
| | | |||||
| * | refactor(project): replace repo api call method with hook and swr | Armand Philippot | 2022-01-24 | 1 | -0/+23 |
| | | | | | | | | | | | 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 | -26/+26 |
| | | | | | | I change the name in graphql endpoint, so I decided to repercute this change here. | ||||
| * | chore: add single project view | Armand Philippot | 2022-01-20 | 1 | -36/+50 |
| | | |||||
| * | chore: add a page for projects | Armand Philippot | 2022-01-20 | 1 | -0/+72 |
| | | |||||
| * | refactor(config): move defaultLocale as property of config.locales | Armand Philippot | 2022-01-19 | 2 | -2/+3 |
| | | | | | | I will need the country code, so I think it makes more sense to gather them inside the same property. | ||||
| * | 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: add all posts from CMS to feed | Armand Philippot | 2022-01-13 | 1 | -2/+10 |
| | | |||||
| * | chore: add different feed formats (feed.xml, atom.xml, feed.json) | Armand Philippot | 2022-01-13 | 1 | -2/+1 |
| | | |||||
| * | chore: generate feed | Armand Philippot | 2022-01-12 | 1 | -0/+54 |
| | | | | | | | I could loop until hasNextPage is false, but I'm not sure if it is the best solution. So, for now, only the first 100 posts will be added to the file. | ||||
| * | chore: add title and meta desc to subjects and thematics | Armand Philippot | 2022-01-11 | 1 | -2/+13 |
| | | |||||
| * | fix(toc): render on each route change and exclude aside titles | Armand Philippot | 2022-01-11 | 1 | -7/+20 |
| | | | | | | | On subject pages for example, the table of contents was not updated on route change. So I added router.asPath as dependency of useEffect. I also changed the query to exclude all titles in aside (ToC, widgets). | ||||
| * | chore(meta): display subjects instead of thematics on Thematic pages | Armand Philippot | 2022-01-11 | 1 | -0/+2 |
| | | |||||
| * | refactor: improve regex readability by grouping parts | Armand Philippot | 2022-01-04 | 1 | -1/+1 |
| | | |||||
| * | refactor: avoid useless assignement before return statement | Armand Philippot | 2022-01-04 | 2 | -11/+4 |
| | | |||||
| * | chore: add line numbers to all prism blocks and translate copy button | Armand Philippot | 2022-01-03 | 1 | -0/+51 |
| | | |||||
| * | chore: display subjects list under articles | Armand Philippot | 2022-01-03 | 1 | -1/+19 |
| | | |||||
| * | chore: display comments as a tree | Armand Philippot | 2021-12-27 | 1 | -1/+30 |
| | | | | | | | 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 | -23/+0 |
| | | | | | | Since I replace the other pages, there is no reason to fetch this page content through WP GraphQL. | ||||
| * | chore: add a table of contents | Armand Philippot | 2021-12-21 | 1 | -7/+1 |
| | | |||||
| * | chore: add a hook to build headings tree | Armand Philippot | 2021-12-21 | 2 | -0/+118 |
| | | |||||
| * | refactor: rewrite types and services | Armand Philippot | 2021-12-20 | 2 | -1/+229 |
| | | | | | | | | 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: display year between blog posts | Armand Philippot | 2021-12-16 | 1 | -0/+19 |
| | | |||||
| * | chore: load i18n translations using lingui provider | Armand Philippot | 2021-12-13 | 1 | -0/+35 |
