aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout
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: 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-071-1/+5
|
* test: install and configure cypressArmand Philippot2022-06-029-9/+9
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* chore: replace Checkbox component with a BooleanField componentArmand Philippot2022-05-311-1/+1
| | | | | Checkbox and radio buttons are working the same way so I decided to group them in a same component.
* 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: 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: render all images unoptimized in StorybookArmand Philippot2022-05-229-37/+0
| | | | | | 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-214-1/+58
|
* chore: update some stylesArmand Philippot2022-05-213-4/+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-183-7/+56
|
* chore: adjust articles stylesArmand Philippot2022-05-171-2/+5
| | | | | * 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: improve accessibilityArmand Philippot2022-05-153-2/+21
|
* chore: add Article pagesArmand Philippot2022-05-156-34/+71
|
* chore: add Search pageArmand Philippot2022-05-153-22/+20
|
* 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
|
* 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 homepageArmand Philippot2022-05-033-4/+21
|
* chore: add a PageLayout componentArmand Philippot2022-04-255-13/+19
|
* chore: add a Header componentArmand Philippot2022-04-224-0/+243
|
* chore: add a CommentsList componentArmand Philippot2022-04-227-7/+291
|
* chore: add a Comment componentArmand Philippot2022-04-214-0/+443
|
* chore: add a PostsList componentArmand Philippot2022-04-214-0/+431
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-206-30/+119
| | | | | Add more stories for each components and change some components categories for better organization.
* refactor: support React 18Armand Philippot2022-04-166-46/+56
| | | | | | | | I replaced the deprecated VFC type with FC type and made all children explicits. Formatjs is still not compatible with React 18 so I need to skip type checking when comitting. There are some type errors because of IntlProvider in Storybook stories.
* chore: add an Overview componentArmand Philippot2022-04-154-0/+124
|
* chore: add a Toolbar componentArmand Philippot2022-04-141-0/+2
|
* chore: add a CardsList componentArmand Philippot2022-04-134-0/+273
|
* chore: add a Footer componentArmand Philippot2022-04-124-0/+198
|
* chore: add a Summary componentArmand Philippot2022-04-124-0/+388