callstack / callstack/react-native-paper

refactor(appbar): improve MD3 variants and action composition

Đang mở
#4,934 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
v6
Ngôn ngữ chính
TypeScript
Star
14.5k
Fork
2.2k
Merge trung bình
5 ngày 23 giờ
Pull request đã merge (30 ngày)
12

Mô tả

Refactor AppBar to improve Material Design 3 compliance, remove problematic children patterns, improve performance characteristics, and modernize the public API.

**Problems**

- Current API relies heavily on children composition in ways that are difficult to optimize
- Internal layout logic is tightly coupled to arbitrary child structures
- MD3 behaviors and visuals are not fully aligned with current Material guidelines
- Rendering performance can degrade in large lists or frequently updated screens
- Type safety and discoverability of the API can be improved
- The component has inconsistent behavior between platforms and edge cases

**Focus Areas**

- Improve support for MD3 top app bar variants
- Simplify action rendering
- Improve scroll behavior integration
- Improve accessibility and semantics

**Proposed API Direction**

``

**Performance Opportunities**

- Reduce action re-renders
- Improve animated scroll performance
- Reduce style recalculation

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách đọc triển khai AppBar hiện tại và API công khai, sau đó so sánh hành vi của nó với các biến thể thanh ứng dụng trên cùng MD3 được liệt kê và hướng kết hợp action. Xác định ranh giới API và component bị ảnh hưởng trước khi xử lý hành vi cuộn, khả năng truy cập và hiệu năng kết xuất; được coi là hoàn thành khi các biến thể và action hoạt động nhất quán trên các nền tảng với các mục tiêu hiệu năng đã nêu.

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

Đánh giá

Công nghệ
react-native, typescript
Lĩnh vực
accessibility, design, mobile
Loại issue
Tái cấu trúc
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.