mattermost-mobile/app/screens/edit_profile
Guillermo Vayá 63bba67eaf
[MM-62666] Cpa sort order (#8618)
* refactor: Use fetchCustomAttributes for user profile custom attributes

feat: Add optional filter for empty custom attributes

simplify and fix types

add again the request time, take into account errors

test: Update fetchCustomAttributes tests for filterEmpty parameter

feat: Add sort_order to CustomAttribute in fetchCustomAttributes

feat: Add optional sort_order to CustomAttribute type

fix: Add type definition for sort_order in CustomProfileField attrs

feat: Add sorting function for custom profile attributes

docs: Add JSDoc comment explaining sortCustomProfileAttributes function

refactor: Improve sortCustomProfileAttributes with nullish coalescing and localeCompare

add order to custom profile attributes

* remove blank line

* add ordering to edit_profile screen

* keep types together

* address code review
2025-02-25 10:54:38 +01:00
..
components [MM-62666] Cpa sort order (#8618) 2025-02-25 10:54:38 +01:00
edit_profile.tsx [MM-62701] [MM-62176]Edit custom profile attributes in user profile (#8557) 2025-02-19 15:51:59 +01:00
index.ts [MM-62701] [MM-62176]Edit custom profile attributes in user profile (#8557) 2025-02-19 15:51:59 +01:00