feat: align piggy, support chat and numeric input with modular app

Persian keyboards send ٫ ، and / as decimal or thousand separators, so amount
and weight fields now normalize input before parsing. Support chat reopens an
existing thread instead of starting a new one, and axios surfaces the server
message on failure.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-11 22:17:17 +03:30
co-authored by Cursor
parent d2183c9a3c
commit 5d3ca82236
16 changed files with 694 additions and 344 deletions
+4 -1
View File
@@ -71,7 +71,7 @@
<!-- </div>-->
<!-- </BasicButton>-->
<BasicButton
v-if="authenticated"
v-if="authenticated && giftCardEnabled"
icon-size="16"
class="!font-bold w-15rem"
@click="go('giftCard')"
@@ -138,6 +138,9 @@ const settingsStore = useSettingsStore()
const priceTriggerEnabled = computed(() =>
settingsStore.isSettingTruthy('has_page_price_trigger'),
)
const giftCardEnabled = computed(() =>
settingsStore.isSettingTruthy('has_page_gift_card'),
)
function go(routeName: string) {
emit('navigate', routeName)