Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

refactor(app): replace ShadcnApp with MaterialApp and our theme scope (#1465)

Đang mở
#1,735 1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, flutter
Lĩnh vực
design, desktop

Hướng nghiên cứu

Start with lib/app/app.dart and features/recovery/querya_startup_recovery_app.dart, then review the preceding steps #1731–#1734 and the theme code under core/theme. Check the app’s existing golden tests and how ThemeController, QueryaThemeScope, and UI scale are exercised. Done means the shadcn app and theme APIs are gone from lib/, while dark, light, imported VS Code themes, theme animation, and UI scale still pass their checks.

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

Mô tả

frontend P2 theme ui

Part of #1465 (step 5).

Problem

The app shell is shadcn's: ShadcnApp in lib/app/app.dart and in the startup recovery screen (features/recovery/querya_startup_recovery_app.dart), with shadcn ThemeData (14 uses, mostly core/theme), Typography (2) and PopoverOverlayHandler (1). The overlays of shadcn widgets still in use hang off it, so it goes after #1731, #1732, #1733 and #1734.

Change
  • MaterialApp (or WidgetsApp) with QueryaThemeScope providing QueryaTheme / QueryaColors; text theme and fonts from QueryaTypography.
  • Theme switching and the animated theme change keep working (ThemeController, QueryaThemeScope lerp).
  • core/theme stops building shadcn ThemeData / ColorScheme; QueryaThemeColorScheme is removed.
Acceptance
  • No ShadcnApp, ThemeData, Typography, PopoverOverlayHandler from shadcn in lib/.
  • Dark, light and an imported VS Code theme look as before (goldens); theme change animation and UI scale work.
Ngôn ngữ chính
Dart
Star
23
Fork
1
Merge trung bình
31 phút
Pull request đã merge (30 ngày)
570

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 QueryaHub/Querya-Desktop

Tất cả issue của QueryaHub/Querya-Desktop

Issue tương tự

Thêm issue về Dart

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.