Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

chore(deps): drop shadcn_flutter: barrel re-export, imports, third_party, guard (#1465)

Abierto
#1,736 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
38/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
dart, flutter

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

frontend P2 ui

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'; (or material.dart) where a file used the barrel for Flutter types.
  • Remove the shadcn re-export from the barrel and every package:shadcn_flutter import.
  • Drop third_party/shadcn_flutter and its dependency_overrides / dependencies entries; flutter pub get.
  • Guard test: no package:shadcn_flutter anywhere in lib/ (extends shared_does_not_import_shadcn_test.dart).
Acceptance
  • grep -r "package:shadcn_flutter" lib is empty; the package is gone from pubspec.yaml and third_party/.
  • All tests and goldens pass; release builds for Linux, Windows and macOS build.
Lenguaje dominante
Dart
Estrellas
23
Forks
1
Merge medio
31 min
PR fusionados (30 d)
570

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de QueryaHub/Querya-Desktop

Todos los issues de QueryaHub/Querya-Desktop

Issues similares

Más issues de Dart

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.