NavMoreSheet: variante em lista agrupada com links externos e seção de conta

Đang mở
#1,239 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start by locating the existing NavMoreSheet component and its grid variant, plus any stories or tests that render it, to see how props and slots are currently shaped. Read how other components in the library expose grouped data and footer slots so the new list variant matches existing conventions. Done means a grouped list variant with groups items, external links rendered as new tabs, an active item marked with aria-current, and a footer slot, covered by a story or test.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problema

O NavMoreSheet padrão é uma grade plana de ícones em 3 colunas, sem seções, cabeçalhos por módulo ou links externos. Acima de ~10 rotas ele não serve como mapa do app. No wi, o "Mais" virou uma lista agrupada por módulo (linhas de 44px com ícone, rótulo e chevron), com seções "Ajuda" (Documentação, Status, nova aba) e "Conta" (organizações, tema, sair). Também o r2k backoffice repete os grupos do mega-menu.

Proposta

Variante list agrupada: groups: { label, items: { label, icon, href, external? }[] }[], slot de rodapé para a conta, item ativo marcado com aria-current.

Ngôn ngữ chính
TypeScript
Star
6
Fork
3
Merge trung bình
5 giờ 21 phút
Pull request đã merge (30 ngày)
378

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codeatlasdev/ui

Tất cả issue của codeatlasdev/ui

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.