discourse/app/assets/stylesheets/common
Martin Brennan b8b29e79ad
FIX: Improve user timezone saving (#9230)
Based on issues identified in https://meta.discourse.org/t/improved-bookmarks-with-reminders/144542/20

* Implement the resolvedTimezone() function on the user model where we return the user's timezone if it has been set, or we guess it using moment and save it to the user using an update call if it has not yet been set. This covers the cases of users who do not log out/in often who will not get their timezone set via login. This also makes sure the guess + save is done in a non-obtrusive way not on every page -- only when it is needed.

* Before if a user's timezone was blank when they visited their profile page we were autofilling the dropdown with the guessed timezone from moment. However this was confusing as it would appear you have that timezone saved in the DB when you really didn't. Now we do not autofill the dropdown and added a button to automatically guess the current timezone to make everything more explicit.
2020-03-24 11:39:09 +10:00
..
admin DEV: Replace save-button partial with a component (#9066) 2020-03-10 09:37:54 -04:00
base FIX: Improve user timezone saving (#9230) 2020-03-24 11:39:09 +10:00
components FIX: Prevent mobile bookmark modal cutoff 2020-03-18 15:54:50 +10:00
foundation UX: Cap height of user fields on mobile user-cards, add line-clamp mixin 2020-02-14 16:19:11 -05:00
select-kit UX: Better spacing for icon in select-kit label 2020-03-13 09:36:04 -04:00
d-editor.scss UX: hides emoji picker from edit category tab topic template (#9036) 2020-02-25 00:49:41 +01:00
input_tip.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
printer-friendly.scss DEV: Add before button hook in post-menu. (#7550) 2019-05-15 22:48:23 +03:00
topic-entrance.scss Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
topic-timeline.scss UX: Cap height of user fields on mobile user-cards, add line-clamp mixin 2020-02-14 16:19:11 -05:00