|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| | * move custom homepage components that does not require props to the
MDX file (links should not need to be translated here but where they
are defined)
* move SEO title and meta desc to MDX file
* make Page component the wrapper instead of using a React fragment
* fix MDX module types | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * make the component more generic
* merge `<Summary />` and `<Comment />` styles into card component
to avoid repeating the same structure
* remove most of the props to use composition
However the CSS is a bit complex because of the two variants...
Also, the component should be refactored when the CSS pseudo-class
`:has` has enough support: the provider and the `cover` and `meta`
props should be removed. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | |  | 
| | 
| 
| 
| 
| 
| | 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. | 
| | 
| 
| 
| 
| 
| | 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. | 
| | |  | 
| | |  | 
| | 
| 
| 
| | I also configure Jest to avoid conflicts between Cypress and Jest. | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| | The tooltip was closing and reopening on click because of a conflict
between the button event and the hook useClickOutside. By checking that
the event target is not the button, the tooltip is now closing as
expected. | 
| | 
| 
| 
| 
| | * change animation on article card hover
* change comments section alignment | 
| | 
| 
| 
| 
| | Add more stories for each components and change some components
categories for better organization. | 
| | 
| 
| 
| 
| 
| 
| 
| | 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. | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| 
| | I was using the FunctionComponent type for some component that do not
use children. So I change the type to VoidFunctionComponent to avoid
mistakes.
I also rename all the "classes" or "additionalClasses" props to
"className" to keep consistency between each components. | 
| | 
| 
| 
| | I also added a new shape to the button base. | 
| | |  | 
| | |  | 
|  |  |