chore(deps): drop shadcn_flutter: barrel re-export, imports, third_party, guard (#1465)
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
- 38/100
- Tipo de issue
- Refatoração
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Domínio
- build-system, desktop-dev, testing-qa
Direção de pesquisa
Start with lib/shared/widgets/widgets.dart, shared_does_not_import_shadcn_test.dart, and the shadcn_flutter entries in pubspec.yaml; the issue describes the affected imports and dependency cleanup. Check how the existing guard test is structured, then use the stated grep and flutter pub get checks as initial verification. Done means no package references remain in lib/ or the dependency configuration, tests and goldens pass, and Linux, Windows, and macOS release builds succeed.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Part of #1465 (step 6, the last).
Problem
After #1729–#1735 nothing in lib/ needs shadcn, but about 500 files still get Flutter itself (Text, Widget, setState, Row, BuildContext...) through export 'package:shadcn_flutter/shadcn_flutter.dart' in lib/shared/widgets/widgets.dart, and 59 files import the package directly. A probe on dev (2026-10-18) that removed the import from all of them left 174 files needing only a Flutter import.
Change
- Add
import 'package:flutter/widgets.dart';(ormaterial.dart) where a file used the barrel for Flutter types. - Remove the shadcn re-export from the barrel and every
package:shadcn_flutterimport. - Drop
third_party/shadcn_flutterand itsdependency_overrides/dependenciesentries;flutter pub get. - Guard test: no
package:shadcn_flutteranywhere inlib/(extendsshared_does_not_import_shadcn_test.dart).
Acceptance
-
grep -r "package:shadcn_flutter" libis empty; the package is gone frompubspec.yamlandthird_party/. - All tests and goldens pass; release builds for Linux, Windows and macOS build.
- Linguagem predominante
- Dart
- Estrelas
- 23
- Forks
- 1
- Merge médio
- 35min
- PRs com merge (30d)
- 497
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de QueryaHub/Querya-Desktop
-
enhancement ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
QueryaHub/Querya-Desktop#1689 ·
Mantenedores costumam responder em até 1 dia
-
ui(dialogs): make destructive query and DML preview dialogs adaptive and prevent table name overflowAbertabug frontend
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
QueryaHub/Querya-Desktop#1642 ·
Mantenedores costumam responder em até 1 dia
-
bug error-handling settings
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
QueryaHub/Querya-Desktop#1637 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
QueryaHub/Querya-Desktop#1636 ·
Mantenedores costumam responder em até 1 dia
-
enhancement marketplace
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
QueryaHub/Querya-Desktop#1635 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de QueryaHub/Querya-Desktop
Issues semelhantes
-
bug enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
AOSSIE-Org/Ell-ena#356 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
espresso3389/pdfrx#776 ·
Mantenedores costumam responder em até 1 dia
-
breaking
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
rrousselGit/riverpod#4942 ·
Mantenedores costumam responder em até 1 dia
-
feat(reputation): show the source of an attestation before importing itTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
MostroP2P/app#881 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[기능 제안]Abertaenhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100