imperfectandcompany / Imperfect-Gamers-Site-Store

Our robust community site integrating Steam for enhanced user interactions and data management, powered by Remix with Tailwind CSS for optimistic, responsive UI. Features CI/CD with GitHub Actions and Docker for seamless deployment and maintenance.
https://store.imperfectgamers.org/
Other
0 stars 0 forks source link

76 refine modal closability conditions to ensure accurate user interaction handling #77

Closed cheesea3 closed 1 month ago

cheesea3 commented 1 month ago

This pull request introduces several key enhancements to improve modal management and backend operation handling across our application. The changes ensure that modals behave predictably during complex operations, enhancing user experience and system reliability.

Key Changes:

  1. Signup Modal Behavior: Implemented functionality to automatically clear the confirm password field when the initial password input no longer meets the criteria.
  2. Main Screen Navigation: Developed cleanup functions to prevent modal lock-up when navigating away from login/signup forms without submission.
  3. Backend Operation Flags: Integrated additional CloseInterceptReason mechanics to manage modal closure accurately during backend operations, particularly when multiple sequential processes are involved like basket creation and add-package-to-basket.

Detailed Modifications: