Files
libredesk/cmd
Abhinav Raut fe3eaee3fb use one country list and renumber the whatsapp migration to v2.8.0
The WhatsApp migration was numbered v3.0.0, but help center added v2.5.0
through v2.7.0 and ships first. Renamed it to v2.8.0 so the upgrade path
stays in order.

Country data had two copies after the merge. The frontend kept its own
hand written list in shared-ui, and the WhatsApp branch added an API
backed store reading the same data from Go. Both lists were identical.

Now countries.json in internal/countries is the only source. The
shared-ui constant imports it through a new @countries Vite alias, so
PhoneNumberInput, phone.js and ContactForm keep working as before. The
sidebar and the WhatsApp form read the constant directly instead of
fetching on mount.

Static wins over the API here because the widget uses PhoneNumberInput
and cannot call an authenticated endpoint, and phone.js builds its zod
schema synchronously. So the countries store, api.getCountries, the
/api/v1/countries route and countries.JSON() are gone. DialCodeForISO
stays, it still builds the WhatsApp wa_id.
2026-07-25 14:45:11 +05:30
..
2026-06-20 21:46:37 +05:30
2026-04-09 13:55:39 +05:30
2025-04-03 03:00:11 +05:30
2026-05-15 02:47:30 +05:30
2026-02-22 15:12:00 +05:30
2025-12-26 04:52:30 +05:30
2026-02-22 15:12:00 +05:30
2026-02-22 15:12:00 +05:30
2026-04-17 02:41:40 +05:30