Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,734 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart, flutter
Ambito
design, desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Dart
Stelle
23
Fork
1
Merge medio
31m
PR unite (30g)
570

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di QueryaHub/Querya-Desktop

Tutte le issue di QueryaHub/Querya-Desktop

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.