-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(DropdownMenu): added dropdown menu component, created bento menu and update user-profile #299
Conversation
1808b23
to
352634d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
partie 1
packages/react/src/components/bento-menu-button/bento-menu-button.test.tsx
Show resolved
Hide resolved
packages/react/src/components/bento-menu-button/bento-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/bento-menu-button/bento-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.test.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Outdated
Show resolved
Hide resolved
some pics would be nice |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'ai remarqué que le bouton du Bento n'est pas responsive. Il probablement possible de faire comme j'ai fait dans ma PR #300 et d'utiliser directement le component IconButton.
packages/react/src/components/bento-menu-button/bento-menu-button.test.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/bento-menu-button/bento-menu-button.test.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/bento-menu-button/bento-menu-button.test.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/bento-menu-button/bento-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/bento-menu-button/bento-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu/list-items/nav-item.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu/list-items/nav-item.tsx
Outdated
Show resolved
Hide resolved
b3009b3
to
7d6dfec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'ai fais un check rapide et ça look good :)
packages/react/src/components/bento-menu-button/bento-menu-button.test.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu/list-items/nav-item.tsx
Outdated
Show resolved
Hide resolved
7410868
to
7d9b0f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je remarque quelques différences dans les styles des maquettes vs ce qu'on a en ce moment (gauche: maquettes | droite: storybook):
- Le border radius dans les maquettes est
8px
et il est4px
en ce moment. - Les produits sont préfixés
Equisoft
dans les maquettes. - Le logo des produits est plus petit dans les maquettes.
- Le container du menu est plus large dans les maquettes.
- L'espacement entre les produits n'est pas le même que dans les maquettes (en ce moment un produit fait
56px
de haut, mais dans les maquettes60px
). - Les spacings dans la section ressources ne sont pas comme sur les maquettes.
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.test.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu/dropdown-menu.test.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu/list-items/label-item.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu/list-items/nav-item.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu/list-items/nav-item.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Show resolved
Hide resolved
37eda71
to
f19671a
Compare
5cb3d89
to
c6ac483
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/react/src/components/dropdown-menu/list-items/item-content.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/bento-menu-button/bento-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu/list-items/nav-item.tsx
Outdated
Show resolved
Hide resolved
1cb8db9
to
f7d9dae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L'overflow ellipsis ne fonctionne pas en ce moment.
packages/react/src/components/bento-menu-button/bento-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/bento-menu-button/bento-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu-button/dropdown-menu-button.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/dropdown-menu/list-items/nav-item.tsx
Outdated
Show resolved
Hide resolved
85dc77a
to
aec3d2c
Compare
… and update user-profile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
External links
- lorsqu'il y a des ellipsis, le
svg
est inclus avec le texte et donc il n'est pas affiché. Idéalement il faudrait le voir quand même. - Il faudrait aussi centrer l'icône avec le texte.
Sinon petits commentaires en lien avec les groupes et le css ici et là mais rien de majeur.
Good Job serieux!
User-profile
|
Sorry pour la grosse PR!
Il y a 3 test présentement commenté pour
dropdown-menu
etdropdown-menu-button
. Un concernant le focus et les autre concernant un comportement que je ne suis pas arrivé à reproduire, càd lecloseOnClick
qui était triggered paronChange
, mais étant donner que je travail maintenant avec deschildren
, j'ai pas trop réussi à trouver le pattern pour ca, peut-être que quelqu'un pourrait m'aider.Il manque aussi la gestion des
lozenge
, mais ca va venir car le componentlozenge
n'existe pas encore.Bug fix checklist
New component checklist
storybook
package.