mattermost-mobile/app/screens/edit_profile/components
Guillermo Vayá 0addf49021
[MM-62701] [MM-62176]Edit custom profile attributes in user profile (#8557)
* feat: Add support for custom profile attributes in edit profile form

feat: Add support for custom profile attributes in edit profile

refactor: Normalize whitespace in CustomAttribute type definition

fix: Resolve type mismatch for customAttributes in UserInfo interface

test: Add test for udpateCustomProfileAttributeValues method

fix typing, submit changes to server

missing files

test: Add tests for CustomProfileField component

fix naming

fix imports

fix

feat: Add field_refs hook for managing field references

feat: Make `setRef` ref parameter optional with default no-op implementation

refactor: Replace CustomProfileField with useFieldRefs for profile form

refactor: Optimize edit profile screen imports and custom attributes handling

refactor: Move custom attributes logic to remote actions in user.ts

address PR reviews

test: Add tests for custom attributes in edit profile

test: Add tests for EditProfile component with custom attributes

fix: Add UserModel type assertion to currentUser in edit profile tests

test: Add tests for ProfileForm custom attributes functionality

test: Add comprehensive tests for useFieldRefs hook

test: Add tests for fetchCustomAttributes and updateCustomAttributes

add tests

remove unneeded files

review changes

remove counter from hook

remove package.resolved

create interface for reuse of record

* fix signature type
2025-02-19 15:51:59 +01:00
..
disabled_fields.tsx [Gekidou] Post input (#5844) 2022-02-03 08:59:15 -03:00
edit_profile_picture.tsx fix update image on account screen when updating profile image (#7978) 2024-05-31 16:44:31 +02:00
email_field.tsx [MM-62701] [MM-62176]Edit custom profile attributes in user profile (#8557) 2025-02-19 15:51:59 +01:00
field.tsx [MM-62701] [MM-62176]Edit custom profile attributes in user profile (#8557) 2025-02-19 15:51:59 +01:00
form.test.tsx [MM-62701] [MM-62176]Edit custom profile attributes in user profile (#8557) 2025-02-19 15:51:59 +01:00
form.tsx [MM-62701] [MM-62176]Edit custom profile attributes in user profile (#8557) 2025-02-19 15:51:59 +01:00
panel_item.tsx Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
profile_error.tsx Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
profile_image_picker.tsx Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
updating.tsx MM-40364 [Gekidou] - Image Picker for Edit Profile (#5901) 2022-01-28 16:06:50 +04:00
user_profile_picture.tsx Detox/E2E: Account e2e tests in Gekidou (#6584) 2022-08-18 03:18:46 -07:00