Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix : add support to queries and mutations to update user profiles #3535

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7e4d571
added queries and updated enums
bandhan-majumder Feb 4, 2025
ffcd9d4
Update translation.json
bandhan-majumder Feb 4, 2025
af315a5
Update translation.json
bandhan-majumder Feb 4, 2025
dfab631
Update translation.json
bandhan-majumder Feb 4, 2025
48866e6
Update translation.json
bandhan-majumder Feb 4, 2025
31382dc
Update translation.json
bandhan-majumder Feb 4, 2025
3f7a510
Update ChangeLanguageDropDown.tsx
bandhan-majumder Feb 4, 2025
857b42c
Update UserAddressFields.tsx
bandhan-majumder Feb 4, 2025
9c9ba8c
added update current user mutations
bandhan-majumder Feb 4, 2025
7e6c63e
Update Queries.ts
bandhan-majumder Feb 4, 2025
2e4cc40
Update Settings.tsx
bandhan-majumder Feb 4, 2025
0a9e4a1
Update enums
bandhan-majumder Feb 4, 2025
067500c
Update Settings.tsx
bandhan-majumder Feb 4, 2025
bf8ed4e
Update schema.graphql
bandhan-majumder Feb 9, 2025
7d80942
Update translation.json
bandhan-majumder Feb 9, 2025
9936032
Update translation.json
bandhan-majumder Feb 9, 2025
140d5bd
Update translation.json
bandhan-majumder Feb 9, 2025
ada547f
Update translation.json
bandhan-majumder Feb 9, 2025
7f4630b
Update translation.json
bandhan-majumder Feb 9, 2025
a72c85f
Update ChangeLanguageDropDown.tsx
bandhan-majumder Feb 9, 2025
217121d
change props of EventsAttendedByUser.tsx
bandhan-majumder Feb 9, 2025
b805570
Update mutations.ts
bandhan-majumder Feb 9, 2025
14589e8
Update Queries.ts
bandhan-majumder Feb 9, 2025
1d67e19
Update MemberDetail.tsx
bandhan-majumder Feb 9, 2025
75b9e1a
add support to edit mutations in MemberDetail.tsx
bandhan-majumder Feb 9, 2025
364d51f
Update MemberDetail.spec.tsx
bandhan-majumder Feb 9, 2025
09f1349
add mocks to MemberDetailMocks.ts
bandhan-majumder Feb 9, 2025
38d524f
add edit mutation support to Settings.tsx
bandhan-majumder Feb 9, 2025
4304bf7
Update Settings.spec.tsx
bandhan-majumder Feb 9, 2025
2302898
Create SettingsMocks.ts
bandhan-majumder Feb 9, 2025
40e0af6
change code for Espanol to match enum
bandhan-majumder Feb 9, 2025
cf61884
Merge branch 'develop-postgres' into bandhan-majumder/issue-3522-profile
bandhan-majumder Feb 9, 2025
12cb2d0
Update MutationUpdateUserInput in schema.graphql
bandhan-majumder Feb 10, 2025
f0a3c5c
add type to removeEmptyFields function
bandhan-majumder Feb 10, 2025
7358ff4
remove extra whitespace
bandhan-majumder Feb 10, 2025
7e66627
Update MemberDetailMocks.ts
bandhan-majumder Feb 10, 2025
93649b7
add return type to fileUploadHandler
bandhan-majumder Feb 10, 2025
67c72ca
remove unused vars
bandhan-majumder Feb 10, 2025
721b8cb
add return type to removeEmptyFields
bandhan-majumder Feb 10, 2025
2c2c9ea
format fix
bandhan-majumder Feb 10, 2025
3532b09
Update Settings.tsx
bandhan-majumder Feb 10, 2025
c759bc7
Update Settings.spec.tsx
bandhan-majumder Feb 10, 2025
7af36b0
Update MemberDetail.tsx
bandhan-majumder Feb 10, 2025
d2fe2cf
Update Settings.tsx
bandhan-majumder Feb 10, 2025
2eb6c7f
Update MemberDetail.tsx
bandhan-majumder Feb 10, 2025
39dc6eb
Update MemberDetail.tsx
bandhan-majumder Feb 10, 2025
4ea1265
Merge branch 'develop-postgres' into bandhan-majumder/issue-3522-profile
bandhan-majumder Feb 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@
"city": "City",
"countryCode": "Country Code",
"dependentLocality": "Dependent Locality",
"addressLine1": "Address Line 1",
"addressLine2": "Address Line 2",
"line1": "Line 1",
"line2": "Line 2",
"postalCode": "Postal Code",
Expand Down Expand Up @@ -988,6 +986,12 @@
"deleteUser": "Delete User",
"pluginCreationAllowed": "Plugin creation allowed",
"created": "Created",
"mobilePhoneNumber": "Phone No",
"workPhoneNumber": "Work Phone No",
"homePhoneNumber": "Home Phone No",
"addressLine1": "Address Line 1",
"addressLine2": "Address Line 2",
"postalCode": "Postal Code",
"adminForOrganizations": "Admin for organizations",
"membershipRequests": "Membership requests",
"adminForEvents": "Admin for events",
Expand Down Expand Up @@ -1122,23 +1126,32 @@
"profileSettings": "Profile Settings",
"gender": "Gender",
"phoneNumber": "Phone Number",
"workPhoneNumber": "Work Phone No.",
"homePhoneNumber": "Home Phone No.",
"chooseFile": "Choose File",
"birthDate": "Birth Date",
"grade": "Educational Grade",
"empStatus": "Employment Status",
"maritalStatus": "Marital Status",
"state": "City/State",
"state": "State",
"city": "City",
"cancel": "Cancel",
"country": "Country",
"postalCode": "Postal Code",
"resetChanges": "Reset Changes",
"profileDetails": "Profile Details",
"deleteUserMessage": "By clicking on Delete User button your user will be permanently deleted along with its events, tags and all related data.",
"addressLine1": "Address Line 1",
"addressLine2": "Address Line 2",
"copyLink": "Copy Profile Link",
"deleteUser": "Delete User",
"otherSettings": "Other Settings",
"changeLanguage": "Change Language",
"sgender": "Select gender",
"gradePlaceholder": "Enter Grade",
"sEmpStatus": "Select employement status",
"description": "Description",
"enterDescription": "Enter Description",
"female": "Female",
"male": "Male",
"employed": "Employed",
Expand Down Expand Up @@ -1170,7 +1183,8 @@
"fullTime": "Full Time",
"partTime": "Part Time",
"selectCountry": "Select a country",
"enterState": "Enter City or State",
"enterState": "Enter State",
"enterCity": "Enter City",
"settings": "settings",
"firstName": "firstName",
"lastName": "lastName",
Expand Down
13 changes: 10 additions & 3 deletions public/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@
"city": "Ville",
"countryCode": "Code postal",
"dependentLocality": "Localité dépendante",
"addressLine1": "Adresse Ligne 1",
"addressLine2": "Adresse Ligne 2",
"line1": "Ligne 1",
"line2": "Ligne 2",
"postalCode": "Code Postal",
Expand Down Expand Up @@ -934,7 +932,12 @@
"educationGrade": "Niveau d'éducation",
"employmentStatus": "Statut d'emploi",
"maritalStatus": "État civil",
"phone": "Téléphone",
"postalCode": "Code postal",
"addressLine1": "Ligne d'adresse 1",
"addressLine2": "Ligne d'adresse 2",
"mobilePhoneNumber": "Numéro de téléphone portable",
"workPhoneNumber": "Numéro de téléphone professionnel",
"homePhoneNumber": "Numéro de téléphone fixe",
"countryCode": "Code postal",
"state": "État",
"city": "Ville",
Expand Down Expand Up @@ -1122,6 +1125,8 @@
"profileSettings": "Paramètres de profil",
"gender": "Genre",
"phoneNumber": "Numéro de téléphone",
"workPhoneNumber": "Numéro de téléphone au travail.",
"homePhoneNumber": "Numéro de téléphone à domicile.",
"chooseFile": "Choisir le fichier",
"birthDate": "Date de naissance",
"grade": "Niveau d'éducation",
Expand All @@ -1138,6 +1143,8 @@
"changeLanguage": "Changer de langue",
"sgender": "Sélectionnez le sexe",
"gradePlaceholder": "Entrez la note",
"enterDescription": "Entrez la description",
"description": "La description",
"sEmpStatus": "Sélectionnez le statut d'emploi",
"female": "Femelle",
"male": "Mâle",
Expand Down
13 changes: 11 additions & 2 deletions public/locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@
"city": "शहर",
"countryCode": "देश कोड",
"dependentLocality": "निर्भर स्थान",
"addressLine1": "पता पंक्ति 1",
"addressLine2": "पता पंक्ति 2",
"line1": "लाइन 1",
"line2": "लाइन 2",
"postalCode": "पोस्टल कोड",
Expand Down Expand Up @@ -938,6 +936,12 @@
"countryCode": "कंट्री कोड",
"state": "राज्य",
"city": "शहर",
"mobilePhoneNumber": "मोबाइल फ़ोन नंबर",
"workPhoneNumber": "कार्य फ़ोन नंबर",
"homePhoneNumber": "घर का फ़ोन नंबर",
"postalCode": "पोस्टल कोड",
"addressLine1": "पता पंक्ति 1",
"addressLine2": "पता पंक्ति 2",
"personalInfoHeading": "व्यक्तिगत जानकारी",
"eventsAttended": "ईवेंट्स जिन्हें भाग लिया गया है",
"viewAll": "सभी को देखें",
Expand Down Expand Up @@ -1122,11 +1126,14 @@
"profileSettings": "पार्श्वचित्र समायोजन",
"gender": "लिंग",
"phoneNumber": "फ़ोन नंबर",
"workPhoneNumber": "कार्यस्थल का फ़ोन नंबर",
"homePhoneNumber": "घर का फ़ोन नंबर",
"chooseFile": "फाइलें चुनें",
"birthDate": "जन्म तिथि",
"grade": "शैक्षिक ग्रेड",
"empStatus": "रोज़गार की स्थिति",
"maritalStatus": "वैवाहिक स्थिति",
"cancel": "रद्द करें",
"state": "शहरी स्थान",
"country": "देश",
"resetChanges": "परिवर्तन रीसेट करें",
Expand All @@ -1139,6 +1146,8 @@
"sgender": "लिंग चुनें",
"gradePlaceholder": "ग्रेड दर्ज करें",
"sEmpStatus": "रोजगार की स्थिति चुनें",
"enterDescription": "विवरण दर्ज करें",
"description": "विवरण",
"female": "महिला",
"male": "पुरुष",
"employed": "कार्यरत",
Expand Down
15 changes: 10 additions & 5 deletions public/locales/sp/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@
"createOrganization": "Crear organización",
"createSampleOrganization": "Crear organización de muestra",
"description": "Descripción",
"addressLine1": "Dirección Línea 1",
"addressLine2": "Dirección Línea 2",
"location": "Ubicación",
"address": "Dirección",
"city": "Ciudad",
Expand Down Expand Up @@ -663,7 +661,6 @@
"raisedAmount": "Monto recaudado",
"pledgedAmount": "Monto comprometido"
},

"orgPost": {
"title": "Publicaciones de Talawa",
"searchPost": "Buscar Publicación",
Expand Down Expand Up @@ -942,6 +939,12 @@
"countryCode": "Código de País",
"state": "Estado",
"city": "Ciudad",
"postalCode": "Código Postal",
"mobilePhoneNumber": "Número de Teléfono Móvil",
"workPhoneNumber": "Número de Teléfono del Trabajo",
"homePhoneNumber": "Número de Teléfono de Casa",
"addressLine1": "Línea de dirección 1",
"addressLine2": "Línea de dirección 2",
"personalInfoHeading": "Información Personal",
"viewAll": "Ver todo",
"eventsAttended": "Eventos Asistidos",
Expand Down Expand Up @@ -1077,7 +1080,6 @@
"article": "Artículo",
"postNowVisibleInFeed": "Publicar ahora visible en el feed"
},

"eventAttendance": {
"historical_statistics": "Estadísticas históricas",
"Search member": "Buscar miembro",
Expand All @@ -1090,7 +1092,6 @@
"loading": "Cargando...",
"noAttendees": "No se encontraron asistentes"
},

"eventRegistrant": {
"sort": "Ordenar",
"allRegistrants": "Todos los registrados",
Expand Down Expand Up @@ -1129,6 +1130,8 @@
"gender": "Género",
"emailAddress": "Dirección de correo electrónico",
"phoneNumber": "Número de teléfono",
"workPhoneNumber": "Número de teléfono del trabajo",
"homePhoneNumber": "Número de teléfono de casa",
"displayImage": "Imagen de perfil",
"chooseFile": "Elegir archivo",
"birthDate": "Fecha de nacimiento",
Expand All @@ -1149,6 +1152,8 @@
"sgender": "Seleccionar género",
"gradePlaceholder": "Ingresar grado",
"sEmpStatus": "Seleccionar estado de empleo",
"enterDescription": "Ingrese una descripción",
"description": "Descripción",
"male": "Masculino",
"female": "Femenino",
"other": "Otro",
Expand Down
12 changes: 10 additions & 2 deletions public/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@
"city": "城市",
"countryCode": "国家代码",
"dependentLocality": "附属地点",
"addressLine1": "地址行1",
"addressLine2": "地址行2",
"line1": "1号线",
"line2": "2号线",
"postalCode": "邮政编码",
Expand Down Expand Up @@ -938,6 +936,12 @@
"countryCode": "国家代码",
"state": "状态",
"city": "城市",
"mobilePhoneNumber": "移动电话号码",
"workPhoneNumber": "工作电话号码",
"homePhoneNumber": "家庭电话号码",
"postalCode": "邮政编码",
"addressLine1": "地址行 1",
"addressLine2": "地址行 2",
"personalInfoHeading": "个人信息",
"viewAll": "查看全部",
"eventsAttended": "活动参与",
Expand Down Expand Up @@ -1122,6 +1126,8 @@
"profileSettings": "配置文件设置",
"gender": "性别",
"phoneNumber": "电话号码",
"workPhoneNumber": "工作电话号码。",
"homePhoneNumber": "家庭电话号码。",
"chooseFile": "选择文件",
"birthDate": "出生日期",
"grade": "教育等级",
Expand All @@ -1139,6 +1145,8 @@
"sgender": "选择性别",
"gradePlaceholder": "输入年级",
"sEmpStatus": "选择就业状况",
"enterDescription": "输入描述",
"descripción": "描述",
"female": "女性",
"male": "男性",
"employed": "就业",
Expand Down
Loading
Loading