aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/meta-list
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): refine Project pagesArmand Philippot2023-12-081-2/+1
| | | | | | | | | | | * refactor ProjectOverview component to let consumers handle the value * extract project overview depending on Github to avoid fetching Github API if the project is not on Github * wrap dynamic import in a useMemo hook to avoid infinite rerender * fix table of contents by adding a useMutationObserver hook to refresh headings tree (without it useHeadingsTree is not retriggered once the dynamic import is done) * add Cypress tests
* refactor(components): extract MetaItem from MetaListArmand Philippot2023-11-203-93/+51
| | | | | | * replace `items` prop on MetaList with `children` prop: it was too restrictive and the global options was not really useful. It is better too give control to the consumers.
* refactor(components): replace Meta component with MetaListArmand Philippot2023-11-1110-0/+611
It removes items complexity by allowing consumers to use any label/value association. Translations should also be defined by the consumer. Each item can now be configured separately (borders, layout...).