summaryrefslogtreecommitdiffstats
path: root/src/components/organisms
Commit message (Collapse)AuthorAgeFilesLines
* fix(comments): load all comments on a postArmand Philippot2022-08-213-10/+10
| | | | | | | | | 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.
* 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-091-1/+4
| | | | | | | | 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-0911-385/+177
| | | | | | 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-083-12/+11
| | | | | 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 barArmand Philippot2022-06-071-2/+4
| | | | | | 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(cards): use post title as link labelArmand Philippot2022-06-071-1/+2
|
* chore: add aria hidden attribute to SVG iconsArmand Philippot2022-06-073-3/+7
|
* test(unit): fix Jest errors due to images importArmand Philippot2022-06-031-0/+2
| | | | | 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 cypressArmand Philippot2022-06-0225-25/+25
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* chore: replace the Ackee select by a toggle componentArmand Philippot2022-06-016-58/+51
|
* chore: replace the toggle componentArmand Philippot2022-06-015-22/+82
|
* chore: replace Checkbox component with a BooleanField componentArmand Philippot2022-05-318-28/+64
| | | | | Checkbox and radio buttons are working the same way so I decided to group them in a same component.
* fix(settings): reduce font-size on small devicesArmand Philippot2022-05-252-4/+28
| | | | | With French translation, words are a little longer so I reduce the font size on small devices to avoid line breaking.
* chore: close search form when launching searchArmand Philippot2022-05-241-0/+2
|
* chore: give autofocus to the toolbar search formArmand Philippot2022-05-243-27/+35
|
* chore: add a search form when posts list prints no resultsArmand Philippot2022-05-247-48/+149
|
* test: fix theme toggle and comment testsArmand Philippot2022-05-242-26/+3
|
* chore(toolbar): change icons to close button when activatedArmand Philippot2022-05-244-20/+24
|
* chore: adjust cards list spacingArmand Philippot2022-05-231-0/+7
|
* fix: ensure all topics/thematics have the base urlArmand Philippot2022-05-233-8/+8
|
* refactor: reduce the number of data transformationArmand Philippot2022-05-2317-471/+374
|
* fix(storybook): create a fake wrapper for Table of Contents storyArmand Philippot2022-05-221-1/+22
|
* fix: render all images unoptimized in StorybookArmand Philippot2022-05-2211-42/+4
| | | | | | 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.
* chore: complete Storybook storiesArmand Philippot2022-05-2119-57/+198
|
* chore: update some stylesArmand Philippot2022-05-214-5/+10
| | | | | | | * 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-202-8/+8
|
* chore: handle blog pagination when JS is disabledArmand Philippot2022-05-201-27/+68
|
* chore: fix minor styles/typescript issues introduced during refactoringArmand Philippot2022-05-181-1/+0
|
* chore: handle settings changeArmand Philippot2022-05-1815-45/+236
|
* chore: close toolbar modals on click/focus outsideArmand Philippot2022-05-1816-118/+199
|
* chore: add branding animationArmand Philippot2022-05-182-1/+16
|
* chore: make some widgets scrollable (like ToC)Armand Philippot2022-05-171-0/+1
|
* chore: adjust articles stylesArmand Philippot2022-05-172-5/+16
| | | | | * change animation on article card hover * change comments section alignment
* chore: listen scroll to hide/show back to top buttonArmand Philippot2022-05-172-11/+31
|
* chore: adjust and complete missing stylesArmand Philippot2022-05-163-17/+23
| | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
* chore: improve accessibilityArmand Philippot2022-05-153-2/+21
|
* chore: add Article pagesArmand Philippot2022-05-159-51/+110
|
* chore: add Search pageArmand Philippot2022-05-1515-71/+67
|
* chore: add Thematic pageArmand Philippot2022-05-133-3/+17
|
* chore: handle blog paginationArmand Philippot2022-05-135-26/+151
|
* chore: add the Blog index pageArmand Philippot2022-05-137-99/+172
|
* chore: add Project single pagesArmand Philippot2022-05-134-28/+34
|
* refactor: rewrite DescriptionList and Meta componentsArmand Philippot2022-05-0916-245/+281
| | | | | | 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 pageArmand Philippot2022-05-073-7/+17
|
* chore: add a CV pageArmand Philippot2022-05-034-19/+48
|
* chore: add a LegalNotice pageArmand Philippot2022-05-034-5/+16
|
* chore: add homepageArmand Philippot2022-05-033-4/+21
|
* chore: add a PageLayout componentArmand Philippot2022-04-255-13/+19
|
* chore: add a Layout componentArmand Philippot2022-04-222-1/+8
| | | | It defines the different components used by all other layouts.