Skip to content

Fixed: timeZone does not gets updated for user login, removed confirm alert, and added loading state #632

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

Merged
merged 5 commits into from
Nov 6, 2023

Conversation

ymaheshwari1
Copy link
Contributor

@ymaheshwari1 ymaheshwari1 commented Nov 6, 2023

Related Issues

When changing the timeZone, the timeZone gets updated in the app untill logout, but after logout and login the user timeZone is again set to the previous state.

Closes #

Short Description and Why It's Useful

  • Updated api payload to pass the correct param for timeZoneId so to set the timeZone for the user
  • Removed confirm alert before updating the timeZone
  • Added css for empty state
  • Enabled timeZone updation on enter
  • Handled case to show loading state untill we does not get the timeZones list

Screenshots of Visual Changes before/after (If There Are Any)

Removed alert:

image

Trimmed.mov

IMPORTANT NOTICE - Remember to add changelog entry

Contribution and Currently Important Rules Acceptance

@ravilodhi ravilodhi merged commit 6e1167a into hotwax:main Nov 6, 2023
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