Skip to content

Conversation

@Im-Fran
Copy link
Member

@Im-Fran Im-Fran commented Jul 26, 2025

Esta solicitud de extracción introduce varias actualizaciones en múltiples archivos para mejorar la funcionalidad, mejorar la experiencia del usuario y optimizar la organización del código. Los cambios más significativos incluyen actualizar el SDK de Firebase Firestore, agregar nuevas pantallas y widgets para mostrar información detallada del tema y refactorizar el código existente para una mejor modularidad.

Actualizaciones de dependencia:

  • Versión actualizada del SDK de Firebase Firestore de 11.4.0 a 11.15.0 en el ios/Podfile.

Nuevas Características:

  • Pantalla de detalles del tema: Se agregó AsignaturaScreen para mostrar información detallada del tema, incluidas las calificaciones y los horarios. Esta pantalla captura calificaciones de forma asíncrona y proporciona funcionalidad de actualización.

  • Funcionalidad de carga de calificaciones: Se agregó la función cargarAsignaturaConNotas para obtener calificaciones para un tema específico.

  • Programar análisis y visualización:

  • Se introdujo el modelo HorarioBloque para representar los bloques de programación.

  • Se agregó el widget CardHorario para mostrar visualmente los bloques de programación.

  • Implementó el widget SeccionHorario para analizar y mostrar los horarios de los temas.

Refactorización:

  • Navegación de la lista de temas: Se ha modificado ListaAsignaturas para navegar a la nueva AsignaturaScreen cuando se toca una tarjeta de tema.

  • Mejoras de la estructura de archivos: Rutas de importación actualizadas para una mejor organización, como mover acciones de AccesoRapido a una carpeta dedicada.

Mejoras menores:

  • Se agregó la importación de temas adaptativos en el formulario de inicio de sesión para futuras mejoras relacionadas con el tema.

XhrdTLS and others added 5 commits November 20, 2024 21:27
- Se agrega Top Navigation con un condicional para saber si es una screen principal o secundaria
- Si isMainScreen = true se agrega la imagen del perfil y los (⁝)
- Si isMainScreen = false se agrega la flecha atrás para hacer pop()
- Se elimina el espacio debajo del statusBar de Android (no fué testeado en iOS)
- Se eliminan sombreados de algunas Cards
# Conflicts:
#	lib/screens/asignaturas/asignaturas_screen.dart
#	lib/screens/home/home_screen.dart
#	lib/screens/tasklist/task_list_screen.dart
#	lib/widgets/navigation/bottom_navbar.dart
# Conflicts:
#	lib/core/utils/theme.dart
#	lib/main.dart
#	lib/screens/asignaturas/asignaturas_screen.dart
#	lib/screens/home/home_screen.dart
#	lib/screens/profile/profile_screen.dart
#	lib/screens/tasklist/task_list_screen.dart
#	lib/screens/widgets_screens.dart
#	lib/styles/navigation/bottom_navbar.dart
#	lib/widgets/navigation/top_navigation.dart
@Im-Fran Im-Fran requested a review from Copilot July 26, 2025 04:14
@Im-Fran Im-Fran self-assigned this Jul 26, 2025
@Im-Fran Im-Fran added the enhancement New feature or request label Jul 26, 2025

This comment was marked as outdated.

Im-Fran and others added 8 commits July 26, 2025 00:16
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Im-Fran Im-Fran requested a review from Copilot July 26, 2025 04:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces a comprehensive subject details screen feature alongside dependency updates and improved navigation with feature flags. The main purpose is to enhance the user experience by providing detailed subject information including grades and schedules, while also implementing a flexible feature flag system for navigation control.

  • Adds a new detailed subject screen (AsignaturaScreen) with grades and schedule visualization
  • Implements feature flag system for conditional UI rendering and navigation control
  • Updates Firebase and other dependencies to newer versions

Reviewed Changes

Copilot reviewed 29 out of 34 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pubspec.yaml Updates Firebase and other package dependencies to newer versions
macos/Podfile Updates Firebase Firestore SDK and platform target
lib/widgets/feature_flag.dart Adds comprehensive feature flag system for conditional UI rendering
lib/styles/theme/theme.dart Updates deprecated theme constructors to new data variants
lib/styles/navigation/bottom_navbar.dart Integrates feature flags into navigation system
lib/screens/asignaturas/detalle_asignatura/ New subject details screen with grades and schedule components
lib/screens/asignaturas/lista_asignaturas_screen.dart Renamed and updated main subjects screen
lib/screens/notas/notas_screen.dart Enhanced notes screen to accept pre-loaded subject data
lib/core/models/navigation/navigation_item.dart Adds feature flag support to navigation items
Comments suppressed due to low confidence (2)

lib/widgets/feature_flag.dart:261

  • The method withValues(alpha: 0.2) appears to be using a newer Flutter API that may not exist in all Flutter versions. Consider using the more widely supported withOpacity(0.2) method instead.
              color: isEnabled ? Colors.green.withValues(alpha: 0.2) : Colors.red.withValues(alpha: 0.2),

lib/screens/asignaturas/detalle_asignatura/widgets/promedio.dart:54

  • The method withValues(alpha: 0.2) appears to be using a newer Flutter API that may not exist in all Flutter versions. Consider using the more widely supported withOpacity(0.2) method instead.
                                color: Colors.grey.withValues(alpha: 0.2),

@@ -1,4 +1,4 @@
platform :macos, '11.5'
platform :osx, '10.15'
Copy link

Copilot AI Jul 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The platform declaration has changed from 'macos' to 'osx', but macOS 10.15 (Catalina) is quite old. Consider using a more recent macOS version like '11.0' or '12.0' for better compatibility with newer Firebase SDKs and features.

Suggested change
platform :osx, '10.15'
platform :osx, '12.0'

Copilot uses AI. Check for mistakes.
Im-Fran and others added 3 commits July 26, 2025 00:57
Se utiliza otro nombre para la variable para evitar `shadowing`

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Francisco Solis <30329003+Im-Fran@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants