refactor(app): replace ShadcnApp with MaterialApp and our theme scope (#1465)
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
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ả
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(orWidgetsApp) withQueryaThemeScopeprovidingQueryaTheme/QueryaColors; text theme and fonts fromQueryaTypography.- Theme switching and the animated theme change keep working (
ThemeController,QueryaThemeScopelerp). core/themestops building shadcnThemeData/ColorScheme;QueryaThemeColorSchemeis removed.
Acceptance
- No
ShadcnApp,ThemeData,Typography,PopoverOverlayHandlerfrom shadcn inlib/. - 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
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.
- Không có Dockerfile hay 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 QueryaHub/Querya-Desktop
-
enhancement ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
QueryaHub/Querya-Desktop#1689 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ui(dialogs): make destructive query and DML preview dialogs adaptive and prevent table name overflowĐang mởbug frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
QueryaHub/Querya-Desktop#1642 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug error-handling settings
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
QueryaHub/Querya-Desktop#1637 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
QueryaHub/Querya-Desktop#1636 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement marketplace
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
QueryaHub/Querya-Desktop#1635 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của QueryaHub/Querya-Desktop
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
0niel/university-app#617 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
linagora/tmail-flutter#5010 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
chriskelly/wish-together#36 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Web Guide has broken linksĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
AppFlowy-IO/AppFlowy#9075 ·
-
[web] Semantics `lang` attribute uses `Locale.toString()`, producing invalid tags like `es_US`Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày