474 implement login modal #566
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!566
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "474-implement-login-modal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements login modal (#474)
Login modal is shown when the page loads
Reused existing LoginModal component
Replaced hook-based logic with props (showLoginModal, onClose)
Guest button closes the modal
Login and Forgot password show temporary messages
Modal closes on ESC and when clicking outside
No backend integration included yet.
Review on #474
Whats done
Tested on Windows 11 using Edge/Chrome
Inspected following files
App.js
frontend/src/features/login/LoginModal.js
export default function LoginModal(hook) {toexport default function LoginModal({ showLoginModal, onClose })/* LoginModal renders a centered overlay modal with login and guest access options */use//instedWhat needs to be done
/*....*/to//line 5Conclusion
Fixed review comments:
Updated comment style to //
Made Login button use same styling as Guest button
It compiles and runs. But the buttons need to be updated in the future. Get merged
This PR can be closed now.
Before closing it completely, please create a new issue for the remaining login modal behavior:
The login modal should not appear again after refreshing the page once the user has chosen to continue as guest or logged in.
When the login modal is open, the user should not be able to interact with other buttons or elements behind the modal.
The current PR is merged and reviewed, so these remaining improvements can be handled in a separate issue.