Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splash and Registration UI #179

Merged
merged 20 commits into from
Apr 17, 2024
Merged

Splash and Registration UI #179

merged 20 commits into from
Apr 17, 2024

Conversation

cathli66
Copy link
Contributor

@cathli66 cathli66 commented Mar 26, 2024

Summary

This pull request implements changes to the Splash Page and Registration flow based on the redesigns on Figma.

  • Update splash page
  • Update type of student page
  • Update details page
  • Create interests page
  • Guest login now should not lead to any extra pages. It should automatically set the username to be "guest" followed by a unique number, then navigate the guest to the BottomNavBar
  • Skips registration and goes straight to homepage if a token already exists for the device

Remaining TODOs:

Test Plan

Test authorization using Android emulator (both Cornell login and guest login)

Notes

Blockers

Breaking Changes

@dti-github-bot
Copy link
Member

dti-github-bot commented Mar 26, 2024

[diff-counting] Significant lines: 675.

@cathli66 cathli66 changed the title finished besides interests page Splash and Registration UI Mar 26, 2024
@cathli66 cathli66 marked this pull request as ready for review April 11, 2024 01:32
Copy link
Collaborator

@neketka neketka left a comment

Choose a reason for hiding this comment

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

After testing the app I see a couple issues. Logout button sends you back to the registration screen but the backswipe gesture nullifies that. After closing and opening the app, it doesn't seem to attempt to relog into the app. Also, clicking back on the settings page doesn't do anything. If these changes are addressed, it should be good to go.

neketka
neketka previously approved these changes Apr 16, 2024
Copy link
Collaborator

@neketka neketka left a comment

Choose a reason for hiding this comment

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

All issues addressed!

neketka
neketka previously approved these changes Apr 16, 2024
Copy link
Collaborator

@neketka neketka left a comment

Choose a reason for hiding this comment

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

Fixed tests

@neketka neketka enabled auto-merge (squash) April 17, 2024 01:17
Copy link
Collaborator

@neketka neketka left a comment

Choose a reason for hiding this comment

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

Ready to go!

@neketka neketka merged commit a8c7507 into master Apr 17, 2024
10 checks passed
@neketka neketka deleted the cl893/splash-registration branch April 17, 2024 01:20
shah-esha pushed a commit that referenced this pull request Dec 4, 2024
* finished besides interests page

* finished interests page

* skip registration if relog

* fix flutter build error

* removed dart.ffi import

* skip registration for guest, added guest as enrollment type

* implemented log out in settings

* set guest username in backend based on total num users

* Changed logout toast

* server build and format fix

* fixed guest login bugs

* fixed server format

* fixed page navigation upon login and logout

* LOL

* Fix user tests

* Fixed failing user tests

---------

Co-authored-by: Cathryn Li <[email protected]>
Co-authored-by: Brian La <[email protected]>
Co-authored-by: neketka <[email protected]>
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.

4 participants