Skip to content

Feature/edit applications - #97

Merged
hectordani03 merged 10 commits into
devfrom
feature/edit-applications
Nov 24, 2025
Merged

Feature/edit applications#97
hectordani03 merged 10 commits into
devfrom
feature/edit-applications

Conversation

@hectordani03

Copy link
Copy Markdown
Collaborator

Comprehensive Improvements in Lifecycle, Team Logic, and Date Management

Summary

This PR consolidates significant improvements in project and request lifecycle, critical fixes in team management logic, and a complete refactoring of date handling and validations.

Main Changes

New Lifecycle Functionalities

  • Accept Project: Complete flow to approve requests and convert them into active projects.
  • Revert Project: Functionality to return a project to its previous state in case of error.
  • Update Validity Period: New capability to modify project deadline, with strict temporal range validation and preservation of creation time.
  • Quick Team Access: Direct buttons in detail view to manage the project team.

Team Logic and Validation

  • Comprehensive Correction: Complete rewrite of team validation logic.
  • Type-based Validation: Specific rules applied according to each Project Type's constraints.
  • Precise Counting: Algorithm that considers both active members and pending invitations to validate roles (students, advisors).

Dynamic States and Visualization

  • Live States: Implementation of dynamic state visualization for Projects and Applications.
  • Visual Feedback: Badges and colors automatically update according to real-time status (Pending, Approved, Rejected, In Progress).
  • Visual Consistency: Standardization of date formats and color palette across all views.

Request Editing and Management

  • Edit Refactor: Improved edit modal to correctly display creation date, validity period, and allowed ranges.
  • Real-time Validation: Immediate feedback in forms for all required fields.
  • Date Algorithm: Centralization of minimum/maximum date calculation logic according to project type.
  • Data Mapping: Adjustment in endpoints and services to ensure metadata integrity (faculties, problem statement, dates).

Technical Optimizations

  • Performance: Solution to infinite request loop through caching and deduplication in authentication hooks.
  • Date Correction (Error 400): Exact time synchronization with backend for strict validations.
  • Responsive UI: Project card redesign for consistency across different resolutions.

@hectordani03
hectordani03 merged commit 2a6e4e2 into dev Nov 24, 2025
0 of 2 checks passed
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.

1 participant