aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build(deps): add cSpell to lint and fix spelling errorsArmand Philippot2023-09-219-31/+709
|
* chore(pages): update CVArmand Philippot2023-09-201-0/+0
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-20378-1795/+1534
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* build(deps): bump all dependenciesArmand Philippot2023-09-1921-7660/+6151
| | | | | * MDX type has changed so some components props had to be updated * Since Storybook now supports TS, I renamed the main/preview files
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-19315-899/+853
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* build(deps): bump @adobe/css-tools from 4.0.2 to 4.3.1dependabot[bot]2023-08-301-3/+3
| | | | | | | | | | | | | Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.0.2 to 4.3.1. - [Changelog](https://github.com/adobe/css-tools/blob/main/History.md) - [Commits](https://github.com/adobe/css-tools/commits) --- updated-dependencies: - dependency-name: "@adobe/css-tools" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump word-wrap from 1.2.3 to 1.2.4dependabot[bot]2023-07-191-3/+3
| | | | | | | | | | | | | Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump semver from 5.7.1 to 5.7.2dependabot[bot]2023-07-111-7/+14
| | | | | | | | | | | | | | Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump stylelint from 14.16.1 to 15.10.1dependabot[bot]2023-07-102-84/+196
| | | | | | | | | | | | | | Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.16.1 to 15.10.1. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/14.16.1...15.10.1) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump webpack from 5.75.0 to 5.76.0dependabot[bot]2023-03-152-5/+5
| | | | | | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* chore: make Links and Images compliant with Next.js 13Armand Philippot2023-01-2322-283/+303
|
* build(deps): bump dependenciesArmand Philippot2023-01-232-2530/+2811
|
* build(deps): bump json5 from 1.0.1 to 1.0.2dependabot[bot]2023-01-081-9/+4
| | | | | | | | | | | | | | Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump decode-uri-component from 0.2.0 to 0.2.2dependabot[bot]2022-12-111-3/+3
| | | | | | | | | | | | | Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. - [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases) - [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2) --- updated-dependencies: - dependency-name: decode-uri-component dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump loader-utils from 1.4.1 to 1.4.2dependabot[bot]2022-11-161-3/+3
| | | | | | | | | | | | | | Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md) - [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump loader-utils from 1.4.0 to 1.4.1dependabot[bot]2022-11-081-4/+9
| | | | | | | | | | | | | | Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md) - [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(storybook): fix loading errors due to updated depsArmand Philippot2022-09-212-19/+1
|
* fix(projects): load content dynamically and refresh table of contentsArmand Philippot2022-09-213-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 translationArmand Philippot2022-09-212-4/+15
|
* build(deps): bump all dependenciesArmand Philippot2022-09-212-1566/+1592
|
* chore(content): fix typo and complete some contents on Home & CVArmand Philippot2022-09-211-0/+0
|
* build(docker): clear yarn cache after the deps installArmand Philippot2022-08-221-5/+1
|
* build(deps): bump FormatJS to 5.0.9Armand Philippot2022-08-222-16/+16
| | | | The v5.0.8 was missing the bin folders in node_modules.
* chore(release): 2.0.0v2.0.0Armand Philippot2022-08-212-2/+32
|
* build(deps): bump FormatJS, next-sitemap and StylelintArmand Philippot2022-08-212-109/+216
|
* chore: update CVArmand Philippot2022-08-211-0/+0
|
* chore: add DigDir projectArmand Philippot2022-08-212-0/+0
|
* fix(projects): do not transform pre to Code componentArmand Philippot2022-08-211-1/+0
| | | | | Sometimes it is useful to display some preformatted data that are not code.
* fix(comments): load all comments on a postArmand Philippot2022-08-2110-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 typesArmand Philippot2022-08-2018-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 dependenciesArmand Philippot2022-08-202-1035/+981
|
* fix(article): prevent TypeError on buildArmand Philippot2022-07-233-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 articleArmand Philippot2022-07-223-9/+31
|
* fix(comments): refresh comments on changes or new commentArmand Philippot2022-07-222-3/+35
|
* build(deps): upgrade dependencies (Next v12.2.3)Armand Philippot2022-07-223-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.1dependabot[bot]2022-07-211-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 dependenciesArmand Philippot2022-06-222-745/+736
|
* chore(content): update CVArmand Philippot2022-06-221-0/+0
|
* build(deps): bump dependenciesArmand Philippot2022-06-092-527/+480
|
* chore(toolbar): add missing animation on medium and large devicesArmand Philippot2022-06-091-0/+4
|
* fix(media-queries): use pixel based media queriesArmand Philippot2022-06-092-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 devicesArmand Philippot2022-06-0924-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 closingArmand Philippot2022-06-087-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 fileArmand Philippot2022-06-071-0/+0
|
* chore: improve accessibility (#20)Armand Philippot2022-06-0754-136/+458
|\ | | | | Improve images, code blocks, cards and progress bar accessibility.
| * chore: add a label to progress barArmand Philippot2022-06-077-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 blocksArmand Philippot2022-06-073-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 labelArmand Philippot2022-06-078-49/+90
| |
| * chore: use image title as figure label if no caption is providedArmand Philippot2022-06-074-12/+14
| |
| * chore: add aria hidden attribute to SVG iconsArmand Philippot2022-06-0732-25/+277
|/