summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test(e2e): add main navigation testArmand Philippot2022-06-021-0/+62
|
* test: install and configure cypressArmand Philippot2022-06-02110-128/+749
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* fix: improve settings accessibility (#18)Armand Philippot2022-06-027-58/+86
|\ | | | | | | | | The settings modal had some accessibility issues: * the SVG title was not used as radio button label, * the state of the help button was only visual.
| * fix: improve help button accessibility with aria-pressedArmand Philippot2022-06-023-5/+13
| |
| * fix: ensure radio buttons are accessibleArmand Philippot2022-06-024-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.
* build(deps): bump dependenciesArmand Philippot2022-06-012-756/+796
|
* chore(a11y): improve website settings accessibility (#17)Armand Philippot2022-06-0172-1408/+2557
|\ | | | | The previous switch buttons (using checkbox) was not a11y compliant. So I change my approach to use radio buttons and to clearly separate the two different states. I also convert the Ackee select setting to improve consistency between settings.
| * chore: replace the Ackee select by a toggle componentArmand Philippot2022-06-0138-745/+716
| |
| * chore: replace the toggle componentArmand Philippot2022-06-0127-496/+534
| |
| * chore: add a RadioGroup componentArmand Philippot2022-05-316-2/+348
| |
| * chore: add a Fieldset componentArmand Philippot2022-05-315-0/+216
| |
| * chore: replace Checkbox component with a BooleanField componentArmand Philippot2022-05-3124-220/+789
| | | | | | | | | | Checkbox and radio buttons are working the same way so I decided to group them in a same component.
| * build(deps): bump dependenciesArmand Philippot2022-05-272-145/+154
|/
* chore: fix some typographic issuesArmand Philippot2022-05-251-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…)
* build(docker): increase CPU and Memory limitsArmand Philippot2022-05-251-8/+8
| | | | | Some images failed to load and the staging build was randomly crashing with exit code 137 (memory issue).
* fix(settings): reduce font-size on small devicesArmand Philippot2022-05-2515-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 photoArmand Philippot2022-05-251-0/+0
|
* fix: reset focus to top of the page on route changeArmand Philippot2022-05-251-2/+8
|
* build(deps): bump all dependenciesArmand Philippot2022-05-255-3061/+2391
| | | | | | | 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...
* refactor: use storybook and atomic design (#16)Armand Philippot2022-05-24614-13051/+36543
|\ | | | | BREAKING CHANGE: rewrite most of the Typescript types, so the content format (the meta in particular) needs to be updated.
| * chore: update contentsArmand Philippot2022-05-241-0/+0
| |
| * chore: close search form when launching searchArmand Philippot2022-05-242-0/+14
| |
| * chore: update translationArmand Philippot2022-05-242-1056/+760
| |
| * chore: handle article fallback and revalidationArmand Philippot2022-05-241-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 formArmand Philippot2022-05-246-48/+98
| |
| * docs: add Storybook in Development stepsArmand Philippot2022-05-241-0/+17
| |
| * chore: add a search form on 404 pageArmand Philippot2022-05-241-0/+9
| |
| * chore: add a search form when posts list prints no resultsArmand Philippot2022-05-2413-53/+164
| |
| * test: fix theme toggle and comment testsArmand Philippot2022-05-244-30/+7
| |
| * chore(toolbar): change icons to close button when activatedArmand Philippot2022-05-2410-20/+254
| |
| * chore: adjust cards list spacingArmand Philippot2022-05-233-2/+11
| |
| * fix: ensure all topics/thematics have the base urlArmand Philippot2022-05-2315-53/+46
| |
| * refactor(schema): use helpers function to avoid repeat between pagesArmand Philippot2022-05-2313-449/+468
| |
| * refactor: reduce the number of data transformationArmand Philippot2022-05-2338-971/+456
| |
| * chore: adjust dark mode stylesArmand Philippot2022-05-226-34/+288
| |
| * fix(storybook): create a fake wrapper for Table of Contents storyArmand Philippot2022-05-221-1/+22
| |
| * chore(storybook): use custom themes and add dark mode supportArmand Philippot2022-05-2210-13/+184
| |
| * fix: render all images unoptimized in StorybookArmand Philippot2022-05-2218-74/+80
| | | | | | | | | | | | 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 1Armand Philippot2022-05-211-1/+1
| | | | | | | | | | If I keep 1, some older comments are not displayed because the comments tree was deeper.
| * chore: complete Storybook storiesArmand Philippot2022-05-2145-237/+362
| |
| * build(deps): upgrade Storybook to v6.5.3Armand Philippot2022-05-212-793/+976
| |
| * fix: close Ackee tooltip on button clickArmand Philippot2022-05-214-21/+44
| | | | | | | | | | | | | | 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.
| * fix: update CSP for media srcArmand Philippot2022-05-211-2/+2
| | | | | | | | Some webm video was not loaded because of Content Security Policy.
| * chore: update some stylesArmand Philippot2022-05-2112-52/+51
| | | | | | | | | | | | | | * Improve wp-blocks-columns, wp-block-quote and some images * Make Sharing widget consistent between pages * Remove margin option from lists * Fix Topic logo alignement
| * chore: update images stylesArmand Philippot2022-05-208-33/+111
| |
| * chore: udpate code blocks styleArmand Philippot2022-05-204-570/+269
| |
| * chore: handle blog pagination when JS is disabledArmand Philippot2022-05-2013-35/+472
| |
| * refactor: rewrite Prism hooks and providersArmand Philippot2022-05-1914-291/+346
| | | | | | | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable.
| * chore: add total articles on thematic pagesArmand Philippot2022-05-181-0/+1
| |
| * chore: fix minor styles/typescript issues introduced during refactoringArmand Philippot2022-05-185-4/+10
| |