| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(comments): load all comments on a post | Armand Philippot | 2022-08-21 | 1 | -20/+7 |
| | | | | | | | | | | 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 | -12/+25 |
| | | | | | | | | 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: use image title as figure label if no caption is provided | Armand Philippot | 2022-06-07 | 1 | -0/+1 |
| | | |||||
| * | 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: ensure all topics/thematics have the base url | Armand Philippot | 2022-05-23 | 1 | -10/+6 |
| | | |||||
| * | refactor(schema): use helpers function to avoid repeat between pages | Armand Philippot | 2022-05-23 | 1 | -0/+224 |
| | | |||||
| * | refactor: reduce the number of data transformation | Armand Philippot | 2022-05-23 | 1 | -17/+32 |
| | | |||||
| * | 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 | 9 | -254/+294 |
| | | | | | | 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 | 6 | -1/+126 |
| | | |||||
| * | 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 | 2 | -1/+64 |
| | | | | | | | * 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: add Thematic page | Armand Philippot | 2022-05-13 | 1 | -1/+46 |
| | | |||||
| * | chore: handle blog pagination | Armand Philippot | 2022-05-13 | 2 | -2/+127 |
| | | |||||
| * | chore: add the Blog index page | Armand Philippot | 2022-05-13 | 1 | -0/+58 |
| | | |||||
| * | chore: add Project single pages | Armand Philippot | 2022-05-13 | 5 | -51/+108 |
| | | |||||
| * | refactor: rewrite DescriptionList and Meta components | Armand Philippot | 2022-05-09 | 1 | -15/+0 |
| | | | | | | | The meta can have different layout. The previous implementation was not enough to easily change the layout. Also, I prefer to restrict the meta types and it prevents me to repeat myself for the labels. | ||||
| * | chore: add a Contact page | Armand Philippot | 2022-05-07 | 2 | -1/+8 |
| | | |||||
| * | chore: add a Projects page | Armand Philippot | 2022-05-05 | 1 | -0/+85 |
| | | |||||
| * | chore: add a LegalNotice page | Armand Philippot | 2022-05-03 | 1 | -5/+5 |
| | | |||||
| * | chore: add homepage | Armand Philippot | 2022-05-03 | 1 | -0/+112 |
| | | |||||
| * | chore: fetch posts for rss feed | Armand Philippot | 2022-05-02 | 5 | -19/+156 |
| | | |||||
| * | chore: remove old pages, components, helpers and types | Armand Philippot | 2022-04-29 | 9 | -602/+5 |
| | | | | | | 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 | 2 | -3/+44 |
| | | |||||
| * | chore: add a Layout component | Armand Philippot | 2022-04-22 | 1 | -1/+1 |
| | | | | | It defines the different components used by all other layouts. | ||||
| * | 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 |
| | | |||||
| * | refactor: load prism plugins without babel | Armand Philippot | 2022-03-24 | 2 | -13/+16 |
| | | |||||
| * | refactor: update graphql queries (#14) | Armand Philippot | 2022-03-09 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | * 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/+16 |
| | | | | | | | | | | * 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 | 2 | -8/+17 |
| | | | | | | | 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. | ||||
| * | feat: improve Ackee tracking (#11) | Armand Philippot | 2022-02-23 | 1 | -0/+57 |
| | | | | | | | | | | | | | | | | | | * build(deps): add use-ackee hook package * chore: create a context provider for Ackee The provider allows users to change the 'detailed' settings. * chore: add a select menu to choose which info to share with Ackee * chore: add a tooltip for askee settings * chore: replace default select styles with custom styles * chore: register user choice in localstorage * chore: replace Matomo with Ackee in legal notice | ||||
| * | feat: replace Matomo with Ackee | Armand Philippot | 2022-02-21 | 1 | -4/+5 |
| | | | | | | I do not use all Matomo features so I was searching a lightweight analytics tools. I will give a try to Ackee. | ||||
| * | feat: add HTTP security headers | Armand Philippot | 2022-02-15 | 2 | -5/+5 |
| | | | | | | I also renamed and changed the format of some environment variables so I can reuse them inside the CSP security header. | ||||
| * | 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 |
| | | |||||
