| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(projects): load content dynamically and refresh table of contents | Armand Philippot | 2022-09-21 | 3 | -3/+47 |
| | | | | | | | | The previous way of handling content import was causing issue. So I use dynamic import instead. However, the table of contents was not displayed because the wrapper is first empty. I added a mutation observer to refresh the table of contents when the body is updated. | ||||
| * | fix(types): add custom types to pageProps with translation | Armand Philippot | 2022-09-21 | 2 | -4/+15 |
| | | |||||
| * | build(deps): bump all dependencies | Armand Philippot | 2022-09-21 | 2 | -1566/+1592 |
| | | |||||
| * | chore(content): fix typo and complete some contents on Home & CV | Armand Philippot | 2022-09-21 | 1 | -0/+0 |
| | | |||||
| * | build(docker): clear yarn cache after the deps install | Armand Philippot | 2022-08-22 | 1 | -5/+1 |
| | | |||||
| * | build(deps): bump FormatJS to 5.0.9 | Armand Philippot | 2022-08-22 | 2 | -16/+16 |
| | | | | | The v5.0.8 was missing the bin folders in node_modules. | ||||
| * | chore(release): 2.0.0v2.0.0 | Armand Philippot | 2022-08-21 | 2 | -2/+32 |
| | | |||||
| * | build(deps): bump FormatJS, next-sitemap and Stylelint | Armand Philippot | 2022-08-21 | 2 | -109/+216 |
| | | |||||
| * | chore: update CV | Armand Philippot | 2022-08-21 | 1 | -0/+0 |
| | | |||||
| * | chore: add DigDir project | Armand Philippot | 2022-08-21 | 2 | -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. | ||||
| * | build(deps): upgrade all dependencies | Armand Philippot | 2022-08-20 | 2 | -1035/+981 |
| | | |||||
| * | 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 |
| | | |||||
| * | build(deps): upgrade dependencies (Next v12.2.3) | Armand Philippot | 2022-07-22 | 3 | -1778/+1763 |
| | | | | | | The Next config has also been updated: the experimental config `outputStandalone` is no longer experimental. | ||||
| * | build(deps): bump terser from 4.8.0 to 4.8.1 | dependabot[bot] | 2022-07-21 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> | ||||
| * | build(deps): bump dependencies | Armand Philippot | 2022-06-22 | 2 | -745/+736 |
| | | |||||
| * | chore(content): update CV | Armand Philippot | 2022-06-22 | 1 | -0/+0 |
| | | |||||
| * | build(deps): bump dependencies | Armand Philippot | 2022-06-09 | 2 | -527/+480 |
| | | |||||
| * | 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. | ||||
| * | build(sitemap): rename next-sitemap config file | Armand Philippot | 2022-06-07 | 1 | -0/+0 |
| | | |||||
| * | chore: improve accessibility (#20) | Armand Philippot | 2022-06-07 | 54 | -136/+458 |
| |\ | | | | | Improve images, code blocks, cards and progress bar accessibility. | ||||
| | * | 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 |
| |/ | |||||
| * | build(deps): bump dependencies | Armand Philippot | 2022-06-07 | 2 | -970/+971 |
| | | |||||
| * | test: add end to end tests (#19) | Armand Philippot | 2022-06-03 | 124 | -130/+1204 |
| |\ | | | | | | | In addition to Jest tests, I configure Cypress to test some pages and features. I also fix some Jest errors due to images import. | ||||
| | * | 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(e2e): add settings form test | Armand Philippot | 2022-06-03 | 1 | -0/+177 |
| | | | |||||
| | * | test(e2e): add other pages test | Armand Philippot | 2022-06-03 | 4 | -0/+27 |
| | | | | | | | | | | | Sometimes a build can be successful but the page is not working, so these tests allows me to check if the page is correctly loaded. | ||||
| | * | test(e2e): add contact page test | Armand Philippot | 2022-06-03 | 1 | -0/+41 |
| | | | |||||
| | * | test(e2e): add loading more button test for blog page | Armand Philippot | 2022-06-03 | 1 | -0/+44 |
| | | | |||||
| | * | build(test): add a pre-push hook to run unit tests | Armand Philippot | 2022-06-03 | 1 | -0/+4 |
| | | | |||||
| | * | docs: add a section about Testing | Armand Philippot | 2022-06-02 | 1 | -1/+27 |
| | | | |||||
| | * | test(e2e): add back to top button visibility test | Armand Philippot | 2022-06-02 | 1 | -0/+14 |
| | | | |||||
| | * | test(e2e): add search feature test | Armand Philippot | 2022-06-02 | 1 | -0/+41 |
| | | | |||||
| | * | test(e2e): add Footer navigation test | Armand Philippot | 2022-06-02 | 1 | -0/+12 |
| | | | |||||
| | * | test(e2e): add main navigation test | Armand Philippot | 2022-06-02 | 1 | -0/+62 |
| | | | |||||
| | * | test: install and configure cypress | Armand Philippot | 2022-06-02 | 110 | -128/+749 |
| |/ | | | | I also configure Jest to avoid conflicts between Cypress and Jest. | ||||
| * | fix: improve settings accessibility (#18) | Armand Philippot | 2022-06-02 | 7 | -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-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. | ||||
