From 57506ddfaf7e4382bfc439db31a93cc8c787db2b Mon Sep 17 00:00:00 2001 From: mortezaei Date: Wed, 26 Aug 2026 15:49:59 +0330 Subject: [PATCH] fix fileds --- .../finding-match/finding-match-client.tsx | 9 +- src/app/globals.css | 28 +- src/app/marriage-advisors/page.tsx | 3 +- src/app/new-match/new-match-client.tsx | 32 +- .../questions-list/questions-list-client.tsx | 4 +- src/app/questions-list/sections-request.tsx | 4 +- .../Componentes/booking-terms-card.tsx | 4 +- src/components/Componentes/button.tsx | 5 +- src/components/Componentes/error-toast.tsx | 4 +- .../multi-select-e2e.integration.test.tsx | 295 ++++ .../Componentes/navigation-button.tsx | 50 +- .../Componentes/question-answer-storage.tsx | 47 +- .../Componentes/question-birthplace.tsx | 57 +- .../Componentes/question-button.tsx | 4 +- src/components/Componentes/question-card.tsx | 4 +- .../Componentes/question-dropdown.tsx | 58 +- .../Componentes/question-file.test.tsx | 50 +- src/components/Componentes/question-file.tsx | 103 +- src/components/Componentes/question-phone.tsx | 42 +- src/components/Componentes/question-photo.tsx | 73 +- .../Componentes/question-section-flow.tsx | 6 +- .../Componentes/question-sheet.test.tsx | 118 ++ src/components/Componentes/question-sheet.tsx | 12 + src/components/Componentes/question-title.tsx | 7 +- .../Componentes/required-steps-card.tsx | 8 +- src/components/Componentes/support-sheet.tsx | 6 +- .../Componentes/test-intro-page.tsx | 4 +- .../Componentes/test-questions-flow.tsx | 6 +- src/components/Componentes/token-switcher.tsx | 19 +- src/icons.tsx | 104 ++ src/lib/webview-actions.ts | 18 +- src/translations/locales/ar.json | 841 ++++++++- src/translations/locales/az.json | 869 +++++++++- src/translations/locales/bn.json | 841 ++++++++- src/translations/locales/da.json | 1327 ++++++++++---- src/translations/locales/de.json | 1363 +++++++++++---- src/translations/locales/en.json | 735 +++++++- src/translations/locales/es.json | 1399 +++++++++++---- src/translations/locales/fa.json | 767 ++++++++- src/translations/locales/fr.json | 1409 +++++++++++---- src/translations/locales/gu.json | 1529 ++++++++++++----- src/translations/locales/ha.json | 1485 +++++++++++----- src/translations/locales/he.json | 1311 ++++++++++---- src/translations/locales/hi.json | 1527 +++++++++++----- src/translations/locales/id.json | 1095 +++++++++--- src/translations/locales/ks.json | 1313 ++++++++++---- src/translations/locales/pt.json | 1207 ++++++++++--- src/translations/locales/ru.json | 1147 ++++++++++--- src/translations/locales/sw.json | 1065 ++++++++++-- src/translations/locales/tg.json | 1311 ++++++++++---- src/translations/locales/tr.json | 1213 ++++++++++--- src/translations/locales/ul.json | 913 ++++++++-- src/translations/locales/ur.json | 1309 ++++++++++---- src/translations/locales/uz.json | 1249 +++++++++++--- src/translations/locales/zh.json | 1379 +++++++++++---- سوالات مریج.md | 770 --------- 56 files changed, 23544 insertions(+), 7014 deletions(-) create mode 100644 src/components/Componentes/multi-select-e2e.integration.test.tsx create mode 100644 src/icons.tsx delete mode 100644 سوالات مریج.md diff --git a/src/app/finding-match/finding-match-client.tsx b/src/app/finding-match/finding-match-client.tsx index f7f09ac..42de9d8 100644 --- a/src/app/finding-match/finding-match-client.tsx +++ b/src/app/finding-match/finding-match-client.tsx @@ -4,8 +4,7 @@ import Image from "next/image"; import { useRouter } from "next/navigation"; import { useEffect, useMemo } from "react"; import { useHabibWebReady } from "@/hooks/use-habib-web-ready"; -import { FaLock, FaPen } from "react-icons/fa6"; -import { IoAlertCircle } from "react-icons/io5"; +import { Ic } from "@/icons"; import AdvisorActionsCard from "@/components/Componentes/advisor-actions-card"; import MarriageAdvisorsOverlay, { useMarriageAdvisorsOverlay, @@ -116,7 +115,7 @@ export default function FindingMatchClient() { >
-
@@ -168,14 +167,14 @@ export default function FindingMatchClient() { className="inline-flex w-full items-center justify-center gap-2 rounded-[9px] border-none bg-[#D1D1D6] dark:bg-[#3D3E42] px-4 py-[17px] text-center text-[#747474] dark:text-[#A1A1A1] shadow-none" aria-live="polite" > -
) : ( )} diff --git a/src/app/globals.css b/src/app/globals.css index fe288c0..c4e10b5 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -152,8 +152,19 @@ html { -webkit-tap-highlight-color: transparent; } -* { +*, +*::before, +*::after { -webkit-tap-highlight-color: transparent; + -webkit-touch-callout: none; + -webkit-user-select: none; + user-select: none; +} + +img, +svg { + -webkit-user-drag: none; + user-drag: none; } button, @@ -166,17 +177,12 @@ label, touch-action: manipulation; } -button, -[role="button"] { - -webkit-touch-callout: none; - -webkit-user-select: none; - user-select: none; -} - input, -textarea { - -webkit-user-select: text; - user-select: text; +textarea, +[contenteditable="true"], +[contenteditable=""] { + -webkit-user-select: text !important; + user-select: text !important; } body { diff --git a/src/app/marriage-advisors/page.tsx b/src/app/marriage-advisors/page.tsx index fbe5d1d..d3bc8aa 100644 --- a/src/app/marriage-advisors/page.tsx +++ b/src/app/marriage-advisors/page.tsx @@ -2,8 +2,7 @@ import { useState } from "react"; import Image from "next/image"; -import { FiMessageSquare, FiPhone } from "react-icons/fi"; -import { FaStar } from "react-icons/fa"; +import { Ic } from "@/icons"; import StickyHeader from "@/components/Componentes/sticky-header"; import NavigationButton from "@/components/Componentes/navigation-button"; import { PageBackground } from "@/components/Componentes/page-background"; diff --git a/src/app/new-match/new-match-client.tsx b/src/app/new-match/new-match-client.tsx index 6b717f7..b270c9c 100644 --- a/src/app/new-match/new-match-client.tsx +++ b/src/app/new-match/new-match-client.tsx @@ -5,17 +5,7 @@ import Link from "next/link"; import { useRouter } from "next/navigation"; import { useEffect, useMemo, useState } from "react"; import { useHabibWebReady } from "@/hooks/use-habib-web-ready"; -import { - FaCalendarDays, - FaLocationDot, - FaGraduationCap, - FaBookOpen, - FaBriefcase, - FaStar, - FaLock, -} from "react-icons/fa6"; -import { LuEye } from "react-icons/lu"; -import { IoHeartOutline } from "react-icons/io5"; +import { Ic } from "@/icons"; import AdvisorActionsCard from "@/components/Componentes/advisor-actions-card"; import MarriageAdvisorsOverlay, { useMarriageAdvisorsOverlay, @@ -838,7 +828,7 @@ export default function NewMatchClient() {
- +
@@ -848,49 +838,49 @@ export default function NewMatchClient() { {matchDisplay.age && ( } + icon={} /> )} {matchDisplay.currentCountry && ( } + icon={} /> )} {matchDisplay.currentCity && ( } + icon={} /> )} {matchDisplay.educationLevel && ( } + icon={} /> )} {matchDisplay.fieldOfStudy && ( } + icon={} /> )} {matchDisplay.jobTitle && ( } + icon={} /> )} {matchDisplay.hobbies && ( } + icon={} /> )} @@ -924,7 +914,7 @@ export default function NewMatchClient() { border-none " > - + {t["View more details"]} @@ -965,7 +955,7 @@ export default function NewMatchClient() { className="inline-flex w-full items-center justify-center gap-2 rounded-[9px] border-none bg-[#D1D1D6] px-4 h-[52px] text-center text-[#747474] shadow-none" role="status" > -