Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#1,735 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
42/100
Tipo de issue
Refatoração
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
dart, flutter
Domínio
design, desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
Dart
Estrelas
23
Forks
1
Merge médio
31min
PRs com merge (30d)
570

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de QueryaHub/Querya-Desktop

Todas as issues de QueryaHub/Querya-Desktop

Issues semelhantes

Mais issues de Dart

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.