aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/modals/settings-modal.module.scss
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace Toolbar with Navbar componentArmand Philippot2023-11-111-19/+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 componentArmand Philippot2023-11-111-1/+1
| | | | | * add an optional close button * add an icon prop
* refactor(components): extract SettingsForm component form SettingsModalArmand Philippot2023-11-111-15/+0
| | | | | | 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(components): replace icons with a generic Icon componentArmand Philippot2023-10-241-2/+0
| | | | | Sizes are also predefined and can be set using the `size` prop, so the consumers should no longer adjust the size in CSS.
* refactor(components): rewrite form componentsArmand Philippot2023-10-241-18/+8
|
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-2/+2
| | | | | | 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 devicesArmand Philippot2022-06-091-0/+46
| | | | | | 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-081-1/+0
| | | | | The event was not captured so the tooltip remained open when the settings was closed. It prevented to click on the toolbar buttons.
* chore: replace the Ackee select by a toggle componentArmand Philippot2022-06-011-11/+1
|
* chore: close toolbar modals on click/focus outsideArmand Philippot2022-05-181-12/+2
|
* chore: add a Settings componentArmand Philippot2022-04-141-8/+15
|
* chore: add a Settings modal componentArmand Philippot2022-04-081-0/+14