chore(ui): take Gap from the gap package, not through shadcn (#1465)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 57/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- desktop-dev
Línea de trabajo
Start with pubspec.yaml and lib/shared/widgets/widgets.dart, then search lib/ for package:shadcn_flutter imports and Gap usages. Add the direct gap dependency and update imports so Gap comes from package:gap or the shared widgets barrel. Done means no file in lib/ needs shadcn for Gap, and existing tests pass with no visual change.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Part of #1465 (step 2, second half).
Problem
Gap is used 742 times in 97 files of lib/. It is not a shadcn widget: it comes from the gap package, which shadcn_flutter depends on and re-exports (third_party/shadcn_flutter/lib/shadcn_flutter.dart: export 'package:gap/gap.dart'). Every one of those files therefore depends on shadcn only to get Gap.
Found with a probe on dev (2026-10-18): with every package:shadcn_flutter import and the barrel's re-export removed, Gap is the most frequent undefined name (742).
Change
- Add
gap: ^3.0.1topubspec.yaml(the version shadcn already pulls in, so nothing changes at runtime). - Export it from
lib/shared/widgets/widgets.dart(export 'package:gap/gap.dart';) and hideGapfrom the shadcn re-export, so the barrel'sGapis the package's own. - Files that import
package:shadcn_flutteronly forGapimportpackage:gap/gap.dart(or the barrel) instead.
Acceptance
-
Gapresolves topackage:gapeverywhere inlib/(no file needs shadcn for it). - No visual change; existing tests pass.
- Lenguaje dominante
- Dart
- Estrellas
- 23
- Forks
- 1
- Merge medio
- 31 min
- PR fusionados (30 d)
- 570
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de QueryaHub/Querya-Desktop
-
enhancement ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
QueryaHub/Querya-Desktop#1689 ·
Los mantenedores suelen responder en 1 día
-
ui(dialogs): make destructive query and DML preview dialogs adaptive and prevent table name overflowAbiertobug frontend
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
QueryaHub/Querya-Desktop#1642 ·
Los mantenedores suelen responder en 1 día
-
bug error-handling settings
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
QueryaHub/Querya-Desktop#1637 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
QueryaHub/Querya-Desktop#1636 ·
Los mantenedores suelen responder en 1 día
-
enhancement marketplace
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
QueryaHub/Querya-Desktop#1635 ·
Los mantenedores suelen responder en 1 día
Todos los issues de QueryaHub/Querya-Desktop
Issues similares
-
good-first-issue P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
flutter/dart-intellij-third-party#758 ·
Los mantenedores suelen responder en 1 día
-
Bug: Incorrect location coordinates on logged Sound Meter dataPosiblemente ocupada @Jashan32 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
area/archive bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
DarkFlippers/qUnleashed#374 ·
Los mantenedores suelen responder en 1 día
-
agent:in-progress agent:ready feature P2 · 中 区域: 悬浮窗
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
ASDW51/DanmuFloat#178 ·
Los mantenedores suelen responder en 1 día
-
Missing workoutsAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
InlitX/GymMane#237 · 1 comentario ·
Los mantenedores suelen responder en 5 días