| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | chore: update CV | Armand Philippot | 2022-08-21 | 1 | -0/+0 |
| | | |||||
| * | chore: add DigDir project | Armand Philippot | 2022-08-21 | 1 | -0/+0 |
| | | |||||
| * | fix(projects): do not transform pre to Code component | Armand Philippot | 2022-08-21 | 1 | -1/+0 |
| | | | | | | Sometimes it is useful to display some preformatted data that are not code. | ||||
| * | fix(comments): load all comments on a post | Armand Philippot | 2022-08-21 | 10 | -91/+159 |
| | | | | | | | | | | 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 | 18 | -384/+380 |
| | | | | | | | | 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 | 3 | -11/+31 |
| | | | | | | | 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 | 3 | -9/+31 |
| | | |||||
| * | fix(comments): refresh comments on changes or new comment | Armand Philippot | 2022-07-22 | 2 | -3/+35 |
| | | |||||
| * | chore(content): update CV | Armand Philippot | 2022-06-22 | 1 | -0/+0 |
| | | |||||
| * | chore(toolbar): add missing animation on medium and large devices | Armand Philippot | 2022-06-09 | 1 | -0/+4 |
| | | |||||
| * | fix(media-queries): use pixel based media queries | Armand Philippot | 2022-06-09 | 2 | -6/+9 |
| | | | | | | | | | Everything was working fine with Firefox but it seems Chromium still has issues with `em` unit in media queries. The toolbar modals (search, settings and also main nav) was not displaying correctly on small devices. Some styles was missing. By switching to pixels based media queries, the bug seems fixed. | ||||
| * | fix(settings): avoid cropped tooltip on small devices | Armand Philippot | 2022-06-09 | 24 | -404/+260 |
| | | | | | | | I changed the settings disposition to make tooltip positioning easier. Jest complains about ref passed but everything seems to work as expected so I'm not sure it is relevant. Maybe a bug with cloneElement. | ||||
| * | fix(settings): close tooltip when modal is closing | Armand Philippot | 2022-06-08 | 7 | -73/+83 |
| | | | | | | The event was not captured so the tooltip remained open when the settings was closed. It prevented to click on the toolbar buttons. | ||||
| * | chore: add a label to progress bar | Armand Philippot | 2022-06-07 | 7 | -50/+58 |
| | | | | | | | The progress element is a form element, so a label is required to be accessible. Since I'm not using it without label, I transform the optional info parameter to a mandatory label parameter. | ||||
| * | chore: add an aria label to code blocks | Armand Philippot | 2022-06-07 | 3 | -0/+19 |
| | | | | | | Prism is adding a tabindex to code blocks, so I think an aria label can help screen reader users to identify the tabbed content. | ||||
| * | chore(cards): use post title as link label | Armand Philippot | 2022-06-07 | 8 | -49/+90 |
| | | |||||
| * | chore: use image title as figure label if no caption is provided | Armand Philippot | 2022-06-07 | 4 | -12/+14 |
| | | |||||
| * | chore: add aria hidden attribute to SVG icons | Armand Philippot | 2022-06-07 | 32 | -25/+277 |
| | | |||||
| * | test(unit): fix Jest errors due to images import | Armand Philippot | 2022-06-03 | 4 | -1/+6 |
| | | | | | | I mocked some SVG files and moves the branding photo to public directory. It is more a workaround than a real fix but it works so... | ||||
| * | test: install and configure cypress | Armand Philippot | 2022-06-02 | 96 | -96/+96 |
| | | | | | I also configure Jest to avoid conflicts between Cypress and Jest. | ||||
| * | fix: improve help button accessibility with aria-pressed | Armand Philippot | 2022-06-02 | 3 | -5/+13 |
| | | |||||
| * | fix: ensure radio buttons are accessible | Armand Philippot | 2022-06-02 | 4 | -53/+73 |
| | | | | | | It seems I cannot use the SVG title as label. So I removed the title and added a visually hidden span to set the radio buttons label. | ||||
| * | chore: replace the Ackee select by a toggle component | Armand Philippot | 2022-06-01 | 38 | -745/+716 |
| | | |||||
| * | chore: replace the toggle component | Armand Philippot | 2022-06-01 | 27 | -496/+534 |
| | | |||||
| * | chore: add a RadioGroup component | Armand Philippot | 2022-05-31 | 6 | -2/+348 |
| | | |||||
| * | chore: add a Fieldset component | Armand Philippot | 2022-05-31 | 5 | -0/+216 |
| | | |||||
| * | chore: replace Checkbox component with a BooleanField component | Armand Philippot | 2022-05-31 | 24 | -220/+789 |
| | | | | | | Checkbox and radio buttons are working the same way so I decided to group them in a same component. | ||||
| * | chore: fix some typographic issues | Armand Philippot | 2022-05-25 | 1 | -53/+53 |
| | | | | | | | | | Formatjs (ICU actually) uses single quotes as escape character so some French translation had issues because of apostrophe. I replaced the character used. I took the opportunity to use the correct characters for some other typographic rules (non-breaking spaces, suspension points…) | ||||
| * | fix(settings): reduce font-size on small devices | Armand Philippot | 2022-05-25 | 15 | -12/+142 |
| | | | | | | With French translation, words are a little longer so I reduce the font size on small devices to avoid line breaking. | ||||
| * | chore: update header photo | Armand Philippot | 2022-05-25 | 1 | -0/+0 |
| | | |||||
| * | fix: reset focus to top of the page on route change | Armand Philippot | 2022-05-25 | 1 | -2/+8 |
| | | |||||
| * | build(deps): bump all dependencies | Armand Philippot | 2022-05-25 | 3 | -26/+5 |
| | | | | | | | | 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: update contents | Armand Philippot | 2022-05-24 | 1 | -0/+0 |
| | | |||||
| * | chore: close search form when launching search | Armand Philippot | 2022-05-24 | 2 | -0/+14 |
| | | |||||
| * | chore: update translation | Armand Philippot | 2022-05-24 | 2 | -1056/+760 |
| | | |||||
| * | chore: handle article fallback and revalidation | Armand Philippot | 2022-05-24 | 1 | -25/+26 |
| | | | | | | | By using useSWR I can fetch the changes from the backend. By using fallback, I can access new articles without rebuilding the entire app. | ||||
| * | chore: give autofocus to the toolbar search form | Armand Philippot | 2022-05-24 | 6 | -48/+98 |
| | | |||||
| * | chore: add a search form on 404 page | Armand Philippot | 2022-05-24 | 1 | -0/+9 |
| | | |||||
| * | chore: add a search form when posts list prints no results | Armand Philippot | 2022-05-24 | 13 | -53/+164 |
| | | |||||
| * | test: fix theme toggle and comment tests | Armand Philippot | 2022-05-24 | 4 | -30/+7 |
| | | |||||
| * | chore(toolbar): change icons to close button when activated | Armand Philippot | 2022-05-24 | 10 | -20/+254 |
| | | |||||
| * | chore: adjust cards list spacing | Armand Philippot | 2022-05-23 | 3 | -2/+11 |
| | | |||||
| * | fix: ensure all topics/thematics have the base url | Armand Philippot | 2022-05-23 | 15 | -53/+46 |
| | | |||||
| * | refactor(schema): use helpers function to avoid repeat between pages | Armand Philippot | 2022-05-23 | 13 | -449/+468 |
| | | |||||
| * | refactor: reduce the number of data transformation | Armand Philippot | 2022-05-23 | 38 | -971/+456 |
| | | |||||
| * | chore: adjust dark mode styles | Armand Philippot | 2022-05-22 | 6 | -34/+288 |
| | | |||||
| * | fix(storybook): create a fake wrapper for Table of Contents story | Armand Philippot | 2022-05-22 | 1 | -1/+22 |
| | | |||||
| * | chore(storybook): use custom themes and add dark mode support | Armand Philippot | 2022-05-22 | 1 | -8/+8 |
| | | |||||
| * | fix: render all images unoptimized in Storybook | Armand Philippot | 2022-05-22 | 17 | -74/+62 |
| | | | | | | | There is a bug with next/image and Storybook. I was manually adding `unoptimized` to images. Instead we can use a workaround by adding an extra config in Storybook `preview.js` file. | ||||
| * | fix(comments): allow a depth of 2 instead of 1 | Armand Philippot | 2022-05-21 | 1 | -1/+1 |
| | | | | | | If I keep 1, some older comments are not displayed because the comments tree was deeper. | ||||
