chatwoot/app/javascript/widget
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
..
api feat: Use vitest instead of jest, run all the specs anywhere in app/ folder in the CI (#9722) 2024-07-10 08:32:16 -07:00
assets fix: Typing indicator to support dark mode (#8564) 2023-12-15 09:57:13 +05:30
components feat: Auto-populate the telephone code based on the browser timezone (#10146) 2024-09-23 23:25:38 -07:00
composables chore: Replace darkmode mixin with useDarkMode composable [CW-3474] (#9949) 2024-09-12 00:29:41 +05:30
constants fix: Change the route change logic based on bus events, after creating a new conversation in the widget. (#8328) 2023-11-10 09:44:59 +05:30
helpers feat: Use vitest instead of jest, run all the specs anywhere in app/ folder in the CI (#9722) 2024-07-10 08:32:16 -07:00
i18n chore: Update translations (#10124) 2024-09-19 16:30:30 -07:00
mixins chore: Replace darkmode mixin with useDarkMode composable [CW-3474] (#9949) 2024-09-12 00:29:41 +05:30
store feat: Use vitest instead of jest, run all the specs anywhere in app/ folder in the CI (#9722) 2024-07-10 08:32:16 -07:00
views chore: Replace darkmode mixin with useDarkMode composable [CW-3474] (#9949) 2024-09-12 00:29:41 +05:30
App.vue chore: Replace darkmode mixin with useDarkMode composable [CW-3474] (#9949) 2024-09-12 00:29:41 +05:30
router.js fix: Render articles in widget if it is available (#7654) 2023-09-14 19:56:17 +05:30