chatwoot/app/javascript/shared
Pranav b524ceeca1
feat: Auto-populate the telephone code based on the browser timezone (#10146)
Fixes https://github.com/chatwoot/chatwoot/issues/6228


There is a country code selector for the phone input field. This is
often a point of frustration. See the response below.

> We are using the phone number field however this can be frustrating
for customers, especially mobile users, to select the +1 US country
code. Our users are typically local businesses and being able to default
to +1 country code in the phone number field or the account would
improve the interaction they have with customers.


Most people who run local businesses don't need a country selector.
However, to preserve the quality of the data we store, we need a country
code.

A balance between these two issues can be found with an auto-populating
country code field based on the browser's timezone. This is what I did
in this PR. Based on the browser timezone, we will resolve it to the
closest country code.
2024-09-23 23:25:38 -07:00
..
assets feat: Use the font Inter Display for help center articles (#9239) 2024-05-03 09:48:01 +05:30
components feat: Auto-populate the telephone code based on the browser timezone (#10146) 2024-09-23 23:25:38 -07:00
composables fix: Contact filter attribute groups (#10080) 2024-09-06 13:41:48 +05:30
constants feat: Reconnect logic (#9453) 2024-06-03 15:54:19 +05:30
helpers chore: Bump up character limit for email channel (#10082) 2024-09-07 08:41:18 +05:30
mixins chore: Replace campaign mixin with composable [CW-3463] (#9987) 2024-08-28 00:53:18 +05:30
store fix: Disable AI Assist CTA if not required (#8375) 2023-11-17 20:10:46 -08:00