| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(stories): migrate stories to CSF3 format | Armand Philippot | 2023-12-15 | 3 | -219/+406 |
| | | |||||
| * | refactor(components): replace Toolbar with Navbar component | Armand Philippot | 2023-11-11 | 6 | -189/+0 |
| | | | | | | | | | * remove SearchModal and SettingsModal components * add a generic NavbarItem component (instead of the previous toolbar items to avoid unreadable styles...) * move FlippingLabel component logic into NavbarItem since it is only used here | ||||
| * | refactor(components): rewrite Modal component | Armand Philippot | 2023-11-11 | 1 | -1/+1 |
| | | | | | | * add an optional close button * add an icon prop | ||||
| * | refactor(components): extract SettingsForm component form SettingsModal | Armand Philippot | 2023-11-11 | 1 | -20/+19 |
| | | | | | | | We could use an array of items and map over it instead of repeating the Switch component for each settings but with translations, it becomes quickly unreadable. So I prefer to keep separate components. | ||||
| * | feat(hooks): add useBoolean and useToggle hooks | Armand Philippot | 2023-11-11 | 1 | -4/+3 |
| | | |||||
| * | refactor(hooks,provider): move reduce motion setter | Armand Philippot | 2023-11-11 | 1 | -3/+1 |
| | | | | | | | | | | | Since the local storage key is not meant to change between the components, it should be set directly inside the app file. So both the local storage and the data attribute should be handle in a provider. I also added a custom document because we need a script to retrieve the stored value in local storage earlier to avoid flashing on hydration. | ||||
| * | feat(components): add a generic Flip component | Armand Philippot | 2023-11-11 | 4 | -76/+54 |
| | | | | | | | The flipping animation is used at several places so it makes sense to use a single component to handle the animation. It will avoid styles duplication. | ||||
| * | refactor(components): make form components compliant with Eslint rules | Armand Philippot | 2023-11-11 | 10 | -61/+94 |
| | | |||||
| * | feat(components): replace icons with a generic Icon component | Armand Philippot | 2023-10-24 | 3 | -13/+12 |
| | | | | | | Sizes are also predefined and can be set using the `size` prop, so the consumers should no longer adjust the size in CSS. | ||||
| * | build: convert project to esm | Armand Philippot | 2023-10-24 | 4 | -0/+4 |
| | | |||||
| * | refactor(components): rewrite form components | Armand Philippot | 2023-10-24 | 59 | -2969/+846 |
| | | |||||
| * | refactor: use named export for everything except pages | Armand Philippot | 2023-09-20 | 31 | -125/+108 |
| | | | | | | | 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 | 23 | -39/+40 |
| | | | | | | | 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. | ||||
| * | fix(settings): avoid cropped tooltip on small devices | Armand Philippot | 2022-06-09 | 11 | -15/+69 |
| | | | | | | | 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 closing | Armand Philippot | 2022-06-08 | 2 | -15/+20 |
| | | | | | | 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 aria hidden attribute to SVG icons | Armand Philippot | 2022-06-07 | 1 | -1/+1 |
| | | |||||
| * | test: install and configure cypress | Armand Philippot | 2022-06-02 | 10 | -10/+10 |
| | | | | | I also configure Jest to avoid conflicts between Cypress and Jest. | ||||
| * | fix: improve help button accessibility with aria-pressed | Armand Philippot | 2022-06-02 | 1 | -0/+1 |
| | | |||||
| * | fix: ensure radio buttons are accessible | Armand Philippot | 2022-06-02 | 2 | -4/+24 |
| | | | | | | It seems I cannot use the SVG title as label. So I removed the title and added a visually hidden span to set the radio buttons label. | ||||
| * | chore: replace the Ackee select by a toggle component | Armand Philippot | 2022-06-01 | 24 | -575/+748 |
| | | |||||
| * | chore: replace the toggle component | Armand Philippot | 2022-06-01 | 20 | -472/+431 |
| | | |||||
| * | chore: add a RadioGroup component | Armand Philippot | 2022-05-31 | 6 | -2/+348 |
| | | |||||
| * | chore: replace Checkbox component with a BooleanField component | Armand Philippot | 2022-05-31 | 6 | -7/+408 |
| | | | | | | 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 devices | Armand Philippot | 2022-05-25 | 12 | -7/+105 |
| | | | | | | With French translation, words are a little longer so I reduce the font size on small devices to avoid line breaking. | ||||
| * | chore: give autofocus to the toolbar search form | Armand Philippot | 2022-05-24 | 1 | -11/+10 |
| | | |||||
| * | test: fix theme toggle and comment tests | Armand Philippot | 2022-05-24 | 2 | -4/+4 |
| | | |||||
| * | chore(toolbar): change icons to close button when activated | Armand Philippot | 2022-05-24 | 4 | -0/+213 |
| | | |||||
| * | chore: complete Storybook stories | Armand Philippot | 2022-05-21 | 2 | -8/+1 |
| | | |||||
| * | fix: close Ackee tooltip on button click | Armand Philippot | 2022-05-21 | 1 | -2/+9 |
| | | | | | | | | 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. | ||||
| * | refactor: rewrite Prism hooks and providers | Armand Philippot | 2022-05-19 | 1 | -1/+2 |
| | | | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable. | ||||
| * | chore: handle settings change | Armand Philippot | 2022-05-18 | 12 | -89/+113 |
| | | |||||
| * | chore: close toolbar modals on click/focus outside | Armand Philippot | 2022-05-18 | 1 | -1/+9 |
| | | |||||
| * | refactor(storybook): reorganize design system | Armand Philippot | 2022-04-20 | 8 | -82/+334 |
| | | | | | | Add more stories for each components and change some components categories for better organization. | ||||
| * | refactor: support React 18 | Armand Philippot | 2022-04-16 | 9 | -49/+44 |
| | | | | | | | | | 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. | ||||
| * | refactor(toggle): use Checkbox component and move it to molecules | Armand Philippot | 2022-04-09 | 7 | -7/+314 |
| | | |||||
| * | chore: add a Settings modal component | Armand Philippot | 2022-04-08 | 15 | -65/+344 |
| | | |||||
| * | chore: add a AckeeSelect component | Armand Philippot | 2022-04-08 | 4 | -0/+155 |
| | | |||||
| * | chore: add a SelectWithTooltip component | Armand Philippot | 2022-04-07 | 4 | -0/+300 |
| | | |||||
| * | chore: add a MotionToggle component | Armand Philippot | 2022-04-07 | 3 | -0/+79 |
| | | |||||
| * | chore: add a PrismThemeToggle component | Armand Philippot | 2022-04-07 | 4 | -6/+87 |
| | | |||||
| * | chore: add a ThemeToggle component | Armand Philippot | 2022-04-06 | 3 | -0/+81 |
| | | |||||
| * | chore: add a labelled select field component | Armand Philippot | 2022-04-01 | 3 | -0/+177 |
| | | |||||
| * | chore: add labelled field component | Armand Philippot | 2022-04-01 | 3 | -0/+224 |
