| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(components): rewrite DescriptionList component | Armand Philippot | 2023-11-11 | 8 | -62/+57 |
| | | | | | | | | | | | | | | * add a `spacing` prop * replace `layout` prop with `isInline` prop * remove `items` prop (and classNames props) in favor of new components: Description, Group, Term * remove `withSeparator` prop (CSS content is announced by screen readers and Firefox/Safari have no support for alternative text so the consumer should add itself an element with `aria-hidden` if it need a separator) Be aware, Meta component and its consumers can be visually broken, they should be refactored before using them in production. | ||||
| * | refactor(components): rewrite List component | Armand Philippot | 2023-11-11 | 9 | -97/+78 |
| | | | | | | | | | | * change `items` prop to children * replace `kind` prop with `isHierarchical`, `isOrdered` & `isInline` props * add `hideMarker` prop * add `spacing` prop to control item spacing * move lists styles to Sass placeholders to avoid repeats because of headless WordPress | ||||
| * | refactor(components): rewrite ProgressBar component | Armand Philippot | 2023-11-11 | 2 | -5/+16 |
| | | | | | | | | * Avoid browser vendors by adding an extra div * Add a loading state * Add an option to center the progress bar (no longer the default) * Remove min since it is always 0 | ||||
| * | refactor(components): rewrite Spinner component | Armand Philippot | 2023-10-24 | 1 | -2/+8 |
| | | | | | | | | * Message should be set as children * Default message is no longer available (depending on use case, the consumer might prefer aria-label instead) * It is now possible to define the message position | ||||
| * | feat(components): replace icons with a generic Icon component | Armand Philippot | 2023-10-24 | 2 | -6/+7 |
| | | | | | | Sizes are also predefined and can be set using the `size` prop, so the consumers should no longer adjust the size in CSS. | ||||
| * | feat(components): add Article, Aside, Footer, Header, Main & Nav | Armand Philippot | 2023-10-24 | 10 | -82/+87 |
| | | | | | | Some components have been renamed to be able to create Footer, Header and Nav. | ||||
| * | refactor(components): rewrite Button and ButtonLink components | Armand Philippot | 2023-10-24 | 3 | -84/+82 |
| | | | | | | | | | | | | | | | Both: * move styles to Sass placeholders Button: * add `isPressed` prop to Button * add `isLoading` prop to Button (to differentiate state from disabled) ButtonLink: * replace `external` prop with `isExternal` prop * replace `href` prop with `to` prop | ||||
| * | build: convert project to esm | Armand Philippot | 2023-10-24 | 9 | -0/+9 |
| | | |||||
| * | refactor(components): rewrite form components | Armand Philippot | 2023-10-24 | 1 | -1/+1 |
| | | |||||
| * | refactor: use named export for everything except pages | Armand Philippot | 2023-09-20 | 29 | -116/+117 |
| | | | | | | | 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. | ||||
| * | refactor(build): replace paths aliases with relative paths | Armand Philippot | 2023-09-19 | 28 | -76/+69 |
| | | | | | | | 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. | ||||
| * | chore: make Links and Images compliant with Next.js 13 | Armand Philippot | 2023-01-23 | 5 | -22/+20 |
| | | |||||
| * | fix(comments): load all comments on a post | Armand Philippot | 2022-08-21 | 3 | -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 bar | Armand Philippot | 2022-06-07 | 1 | -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 label | Armand Philippot | 2022-06-07 | 1 | -1/+2 |
| | | |||||
| * | chore: add aria hidden attribute to SVG icons | Armand Philippot | 2022-06-07 | 1 | -1/+5 |
| | | |||||
| * | test: install and configure cypress | Armand Philippot | 2022-06-02 | 9 | -9/+9 |
| | | | | | I also configure Jest to avoid conflicts between Cypress and Jest. | ||||
| * | chore: replace Checkbox component with a BooleanField component | Armand Philippot | 2022-05-31 | 1 | -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 results | Armand Philippot | 2022-05-24 | 7 | -48/+149 |
| | | |||||
| * | test: fix theme toggle and comment tests | Armand Philippot | 2022-05-24 | 2 | -26/+3 |
| | | |||||
| * | chore: adjust cards list spacing | Armand Philippot | 2022-05-23 | 1 | -0/+7 |
| | | |||||
| * | fix: ensure all topics/thematics have the base url | Armand Philippot | 2022-05-23 | 3 | -8/+8 |
| | | |||||
| * | refactor: reduce the number of data transformation | Armand Philippot | 2022-05-23 | 17 | -471/+374 |
| | | |||||
| * | fix: render all images unoptimized in Storybook | Armand Philippot | 2022-05-22 | 9 | -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 stories | Armand Philippot | 2022-05-21 | 4 | -1/+58 |
| | | |||||
| * | chore: update some styles | Armand Philippot | 2022-05-21 | 3 | -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 styles | Armand Philippot | 2022-05-20 | 2 | -8/+8 |
| | | |||||
| * | chore: handle blog pagination when JS is disabled | Armand Philippot | 2022-05-20 | 1 | -27/+68 |
| | | |||||
| * | chore: fix minor styles/typescript issues introduced during refactoring | Armand Philippot | 2022-05-18 | 1 | -1/+0 |
| | | |||||
| * | chore: handle settings change | Armand Philippot | 2022-05-18 | 3 | -7/+56 |
| | | |||||
| * | chore: adjust articles styles | Armand Philippot | 2022-05-17 | 1 | -2/+5 |
| | | | | | | * change animation on article card hover * change comments section alignment | ||||
| * | chore: listen scroll to hide/show back to top button | Armand Philippot | 2022-05-17 | 2 | -11/+31 |
| | | |||||
| * | chore: improve accessibility | Armand Philippot | 2022-05-15 | 3 | -2/+21 |
| | | |||||
| * | chore: add Article pages | Armand Philippot | 2022-05-15 | 6 | -34/+71 |
| | | |||||
| * | chore: add Search page | Armand Philippot | 2022-05-15 | 3 | -22/+20 |
| | | |||||
| * | chore: add Thematic page | Armand Philippot | 2022-05-13 | 3 | -3/+17 |
| | | |||||
| * | chore: handle blog pagination | Armand Philippot | 2022-05-13 | 5 | -26/+151 |
| | | |||||
| * | chore: add the Blog index page | Armand Philippot | 2022-05-13 | 7 | -99/+172 |
| | | |||||
| * | refactor: rewrite DescriptionList and Meta components | Armand Philippot | 2022-05-09 | 16 | -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 homepage | Armand Philippot | 2022-05-03 | 3 | -4/+21 |
| | | |||||
| * | chore: add a PageLayout component | Armand Philippot | 2022-04-25 | 5 | -13/+19 |
| | | |||||
| * | chore: add a Header component | Armand Philippot | 2022-04-22 | 4 | -0/+243 |
| | | |||||
| * | chore: add a CommentsList component | Armand Philippot | 2022-04-22 | 7 | -7/+291 |
| | | |||||
| * | chore: add a Comment component | Armand Philippot | 2022-04-21 | 4 | -0/+443 |
| | | |||||
| * | chore: add a PostsList component | Armand Philippot | 2022-04-21 | 4 | -0/+431 |
| | | |||||
| * | refactor(storybook): reorganize design system | Armand Philippot | 2022-04-20 | 6 | -30/+119 |
| | | | | | | Add more stories for each components and change some components categories for better organization. | ||||
| * | refactor: support React 18 | Armand Philippot | 2022-04-16 | 6 | -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 component | Armand Philippot | 2022-04-15 | 4 | -0/+124 |
| | | |||||
| * | chore: add a Toolbar component | Armand Philippot | 2022-04-14 | 1 | -0/+2 |
| | | |||||
| * | chore: add a CardsList component | Armand Philippot | 2022-04-13 | 4 | -0/+273 |
| | | |||||
