Skip to content

Comments

Develop#137

Open
Nella1414 wants to merge 219 commits intomainfrom
develop
Open

Develop#137
Nella1414 wants to merge 219 commits intomainfrom
develop

Conversation

@Nella1414
Copy link
Member

No description provided.

AlejandroHenao2572 and others added 30 commits December 6, 2025 23:10
…t of completed and upcoming tutoring sessions
…estaditicas' amount of tutoring sessions and study horus
…irmadas y rechazadas en panel de tutorn seccion solicitudes pendientes
Co-authored-by: Anderson Fabian Garcia Nieto <anderson.fgn13@gmail.com>
AlejandroHenao2572 and others added 27 commits December 15, 2025 10:46
…tricas-tutor

Feat/conexion panel reportes metricas tutor
…lag-IA

Feature/compatibilidad featureflag ia
refactor: clean up CommunityForums component layout and improve reada…
feature(chats):responsive chats phone
Copilot AI review requested due to automatic review settings December 19, 2025 16:40
@vercel
Copy link

vercel bot commented Dec 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
wise-front Ready Ready Preview, Comment Dec 19, 2025 4:40pm

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 PR represents a major development iteration ("Develop") that introduces significant feature additions and architectural improvements to the ECIWISE+ platform. The changes focus on connecting frontend components to backend services, implementing real-time chat functionality, enhancing material management, and improving the tutoring system.

Key Changes:

  • Integration of backend services for tutoring, materials, user management, and real-time chat via WebSockets
  • Addition of new admin functionality for managing subjects (materias) and materials
  • Implementation of AI-powered material recommendations with feature flag support
  • Removal of mock statistics pages and consolidation of admin features

Reviewed changes

Copilot reviewed 113 out of 154 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
app/routes/dashboard/student/statistics.tsx Complete removal of mock statistics page
app/routes/dashboard/student/profile.tsx Backend integration for profile management with proper error handling
app/routes/dashboard/student/materials.tsx Major overhaul adding AI recommendations, real-time search, and backend connectivity
app/routes/dashboard/student/index.tsx Integration of real-time tutoring stats and materials by date
app/routes/dashboard/student/hooks/useProfileSave.ts New hook for profile saving with comprehensive error handling
app/routes/dashboard/student/hooks/useProfileForm.ts Simple form management hook leveraging base implementation
app/routes/dashboard/admin/* Multiple admin pages updated/created for user, material, and subject management
app/lib/services/* Extensive service layer additions for tutoring, materials, WebSocket, and user management
app/lib/types/* New type definitions for tutoring, materials, and API responses
app/lib/hooks/* Multiple custom hooks for data fetching and state management
app/root.tsx Added site title and favicon
Comments suppressed due to low confidence (3)

app/lib/services/materials.service.ts:1

  • Cannot use React hooks (useQueryClient) inside a service class method. This is a React hook being called outside of a React component or custom hook. The handleSuccess method at line 189 should receive queryClient as a parameter from the calling component instead.
/**

app/routes/dashboard/admin/users.tsx:1

  • Variable prefixed with underscore typically indicates it's intentionally unused, but this appears to be needed for the handleSuccess function. Either remove the underscore prefix if it's used, or remove the variable if it's truly unused.
import {

app/routes/dashboard/student/materials.tsx:1

  • The _userRating state variable is prefixed with underscore but setUserRating is called later (line 382). Either remove the underscore if the state is used, or remove the entire unused state.
import {

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +264 to +265
setSelectedSubject('Todos');
setSelectedSemester('Todos');
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

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

These variables setSelectedSubject and setSelectedSemester are referenced but no longer exist in the component's state. They were removed when switching to tag-based filtering (lines 180-187). These lines should be removed or updated to use the new setSelectedTags state setter.

Suggested change
setSelectedSubject('Todos');
setSelectedSemester('Todos');
// Reiniciar filtros de tags al hacer una nueva búsqueda basada en la recomendación
setSelectedTags([]);

Copilot uses AI. Check for mistakes.
Comment on lines +447 to +452
const materias =
materiasFromInput.length > 0
? materiasFromInput
: selectedSubject !== 'Todos'
? [selectedSubject]
: [];
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

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

Reference to undefined variable selectedSubject. This variable was removed when switching from subject/semester filtering to tag-based filtering. This fallback logic needs to be updated or removed.

Suggested change
const materias =
materiasFromInput.length > 0
? materiasFromInput
: selectedSubject !== 'Todos'
? [selectedSubject]
: [];
const materias = materiasFromInput;

Copilot uses AI. Check for mistakes.
/**
* Extraer datos de respuesta API
*/
function extractResponseData<T>(data: unknown): T {
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

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

This function duplicates functionality from app/lib/utils/api.utils.ts. Consider importing and reusing the existing implementation to avoid code duplication.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.