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

ui(settings): own colour picker and slider for the theme editor and Preferences; Card/Switch leftovers (#1465)

Đang mở
#1,734 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/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ệ
dart, flutter
Lĩnh vực
design, desktop

Hướng nghiên cứu

Start by reading theme_color_picker_dialog.dart, theme_editor_dialog.dart, and preferences_controls.dart to trace the current shadcn controls and how the theme editor passes color values. Check the kit's card and switch replacements, including the referenced #1488 work, before changing the listed leftovers. Done means the shadcn controls named in the acceptance criteria are absent from lib/, and picker tests cover value round trips alongside picking, hex editing, and alpha.

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

Mô tả

frontend P3 settings ui

Part of #1465 (step 4c).

Problem

The theme editor and Preferences still use shadcn controls with no kit counterpart: ColorPicker and ColorDerivative (theme_color_picker_dialog.dart, theme_editor_dialog.dart), Slider / SliderValue (preferences_controls.dart, interface scale). Smaller leftovers found by the same probe (dev, 2026-10-18): Card (5, extensions and mongodb), shadcn Switch (1, mongodb), Colors / ThemeMode taken from the shadcn barrel (Material's own work).

Change
  • A colour picker of our own for the theme editor: hue / saturation-value area, alpha, hex field, the palette swatches it shows today; same result type (a Color).
  • QueryaSlider (or a styled Material Slider) for the interface scale; QueryaSwitch from #1488 covers the switches.
  • Card → the kit's card surface; Colors / ThemeMode imported from Material.
Acceptance
  • No ColorPicker, ColorDerivative, Slider, SliderValue, Card, Switch from shadcn in lib/.
  • Theme editor: pick, edit hex, alpha; tests for the picker's value round trip.
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.