Skip to content

Conversation

@atyrode
Copy link
Contributor

@atyrode atyrode commented Apr 25, 2025

This PR extracts the modal logic out of AuthModal into a generic Modal component that can be re-used by other part of the app.

atyrode added 4 commits April 25, 2025 03:16
- Refactored AuthModal to utilize a new Modal component for improved code organization and reusability.
- Consolidated styles by importing Modal.scss into AuthModal.scss, reducing redundancy.
- Updated class names in AuthModal to follow BEM methodology for better clarity and maintainability.
…d timeout

- Removed inline styles and the message div for a cleaner HTML structure.
- Streamlined the window closing logic by directly calling window.close() without a delay.
- Introduced state management for modal visibility and exit animations in AuthGate.
- Updated AuthModal to accept new props for exit animation handling.
- Refactored Modal component to apply animations via inline styles, improving flexibility.
- Added new keyframes for fade-out and zoom-out animations to enhance user experience.
…d on branch

- Modified the platforms setting in the Docker build workflow to conditionally include ARM64 support only when on the main branch, enhancing build efficiency and flexibility.
@atyrode atyrode merged commit e09b559 into main Apr 25, 2025
1 check passed
@atyrode atyrode deleted the create-modal-component branch April 25, 2025 04:41
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.

2 participants