| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(types): move and rename GraphQL types | Armand Philippot | 2022-08-20 | 3 | -11/+8 |
| | | | | | | | | 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(article): prevent TypeError on build | Armand Philippot | 2022-07-23 | 2 | -8/+25 |
| | | | | | | | By switching to custom hooks for revalidating articles and comments, everything was working on development mode but articles failed to build for production. | ||||
| * | refactor(article): wrap useSWR with a custom hook to revalidate article | Armand Philippot | 2022-07-22 | 2 | -4/+28 |
| | | |||||
| * | fix(comments): refresh comments on changes or new comment | Armand Philippot | 2022-07-22 | 1 | -0/+33 |
| | | |||||
| * | fix(settings): close tooltip when modal is closing | Armand Philippot | 2022-06-08 | 2 | -46/+52 |
| | | | | | | The event was not captured so the tooltip remained open when the settings was closed. It prevented to click on the toolbar buttons. | ||||
| * | chore: replace the toggle component | Armand Philippot | 2022-06-01 | 1 | -0/+19 |
| | | |||||
| * | build(deps): bump all dependencies | Armand Philippot | 2022-05-25 | 1 | -21/+0 |
| | | | | | | | | I moved the website picture from useSettings to the layout component since it is only used here. This reduce the number of Jest errors. However, there's still some issues with some images import... | ||||
| * | chore: close search form when launching search | Armand Philippot | 2022-05-24 | 1 | -0/+12 |
| | | |||||
| * | chore: give autofocus to the toolbar search form | Armand Philippot | 2022-05-24 | 1 | -0/+39 |
| | | |||||
| * | fix: close Ackee tooltip on button click | Armand Philippot | 2022-05-21 | 1 | -2/+5 |
| | | | | | | | | The tooltip was closing and reopening on click because of a conflict between the button event and the hook useClickOutside. By checking that the event target is not the button, the tooltip is now closing as expected. | ||||
| * | chore: handle blog pagination when JS is disabled | Armand Philippot | 2022-05-20 | 2 | -1/+35 |
| | | |||||
| * | refactor: rewrite Prism hooks and providers | Armand Philippot | 2022-05-19 | 7 | -207/+253 |
| | | | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable. | ||||
| * | chore: handle settings change | Armand Philippot | 2022-05-18 | 5 | -0/+125 |
| | | |||||
| * | chore: close toolbar modals on click/focus outside | Armand Philippot | 2022-05-18 | 1 | -0/+43 |
| | | |||||
| * | chore: add branding animation | Armand Philippot | 2022-05-18 | 1 | -0/+29 |
| | | |||||
| * | chore: listen scroll to hide/show back to top button | Armand Philippot | 2022-05-17 | 1 | -0/+15 |
| | | |||||
| * | chore: adjust and complete missing styles | Armand Philippot | 2022-05-16 | 1 | -0/+60 |
| | | | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements | ||||
| * | refactor: use custom hook for breadcrumb items and schema | Armand Philippot | 2022-05-16 | 1 | -0/+106 |
| | | |||||
| * | chore: add Search page | Armand Philippot | 2022-05-15 | 2 | -1/+25 |
| | | |||||
| * | chore: handle blog pagination | Armand Philippot | 2022-05-13 | 1 | -0/+116 |
| | | |||||
| * | chore: add the Blog index page | Armand Philippot | 2022-05-13 | 1 | -0/+58 |
| | | |||||
| * | chore: add Project single pages | Armand Philippot | 2022-05-13 | 2 | -1/+31 |
| | | |||||
| * | chore: add a Contact page | Armand Philippot | 2022-05-07 | 1 | -1/+7 |
| | | |||||
| * | chore: add homepage | Armand Philippot | 2022-05-03 | 1 | -0/+112 |
| | | |||||
| * | chore: remove old pages, components, helpers and types | Armand Philippot | 2022-04-29 | 2 | -127/+0 |
| | | | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch. | ||||
| * | chore: add a PageLayout component | Armand Philippot | 2022-04-25 | 1 | -0/+19 |
| | | |||||
| * | chore: add a TableOfContents component | Armand Philippot | 2022-04-22 | 1 | -0/+153 |
| | | |||||
| * | chore: add a Code component | Armand Philippot | 2022-04-19 | 1 | -0/+115 |
| | | |||||
| * | chore(toc): exclude comments section for headings list | Armand Philippot | 2022-02-12 | 1 | -1/+1 |
| | | |||||
| * | 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. | ||||
| * | 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). | ||||
| * | refactor: avoid useless assignement before return statement | Armand Philippot | 2022-01-04 | 1 | -5/+2 |
| | | |||||
| * | 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 | 1 | -0/+100 |
