[Design] Créer un composant Dropdown générique
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
The issue proposes a shared Dropdown component under lib/components/ui/, with no implementation files or tests named. Start by reading the existing UI components and design system to find the app’s conventions. Done means a reusable dropdown supports the listed triggers, content, dismissal, positioning, selection state, and animation across mobile and desktop themes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Vérifications préalables
- J'ai cherché dans les issues existantes et ce sujet n'a pas déjà été ouvert
Type de demande
Nouveau composant réutilisable
Écran concerné
Transverse (plusieurs écrans)
Composant concerné
No response
État actuel
Il n'existe aucun composant dropdown réutilisable. Les endroits qui en ont besoin (sélecteur de groupe dans le header, menus d'actions, selects de formulaire) sont probablement gérés au cas par cas ou avec des éléments HTML natifs basiques.
Proposition
Créer un composant Dropdown générique et réutilisable dans toute l'app, avec un design cohérent avec le reste du design system.
Fonctionnalités à prévoir :
Trigger personnalisable : le bouton/élément qui ouvre le dropdown (bouton, avatar, select custom, icône) doit être libre en children ou props
Contenu libre : liste d'items simples (texte + action), mais aussi possibilité d'items plus riches (icône + texte, checkbox, séparateurs entre groupes d'options)
Fermeture : au clic en dehors, à la sélection d'un item, ou touche Échap
Positionnement intelligent : s'ouvre vers le bas/haut/côté selon l'espace disponible à l'écran (évite que le dropdown sorte de l'écran)
État actif/sélectionné : mise en avant visuelle de l'item actuellement sélectionné (utile pour un select classique)
Animation : ouverture/fermeture fluide (fade + léger scale ou slide), cohérente avec le reste des animations de l'app
Captures d'écran et maquettes
No response
Contextes à vérifier
- Mobile (PWA installée)
- Mobile (navigateur)
- Desktop
- Thème clair
- Thème sombre
Portée du changement
Touche un composant partagé (lib/components/ui/)
Souhaites-tu l'implémenter toi-même ?
Non, je propose simplement l'idée
Contexte supplémentaire
No response
- Ngôn ngữ chính
- Python
- Star
- 2
- Fork
- 0
- Merge trung bình
- 21 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Doud75/Setly
-
agent-ready chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
Connexion avec Apple (SSO)Đang mởbackend enhancement frontend security
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
agent-ready backend enhancement frontend security
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
agent-ready backend enhancement frontend security
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
agent-ready backend bug frontend security
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
marketcalls/openalgo#2472 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
marimo-team/marimo#11949 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug server-time v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
modelcontextprotocol/servers#5559 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jxxghp/MoviePilot#7449 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
devops help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
guaardvark/guaardvark#421 ·
Maintainer thường phản hồi trong vòng 2 ngày