mattermost-mobile/app/screens/user_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
..
title Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
custom_attributes.tsx [MM-62666] Cpa sort order (#8618) 2025-02-25 10:54:38 +01:00
custom_status.tsx Thread crash fix and other UI fixes (#7342) 2023-05-11 09:35:11 -04:00
index.ts View custom profile attributes (#8460) 2025-01-13 20:38:14 +01:00
label.tsx View custom profile attributes (#8460) 2025-01-13 20:38:14 +01:00
manage_user_options.tsx [Gekidou - MM-47653] Implement Manage Members Screen (#6771) 2023-02-03 10:42:12 +02:00
options.tsx Detox/E2E: Messaging (at-mentions, channel mentions, autocomplete etc) e2e tests in Gekidou (#6428) 2022-07-05 10:01:46 -07:00
user_info.test.tsx [MM-62666] Cpa sort order (#8618) 2025-02-25 10:54:38 +01:00
user_info.tsx [MM-62666] Cpa sort order (#8618) 2025-02-25 10:54:38 +01:00
user_profile.tsx View custom profile attributes (#8460) 2025-01-13 20:38:14 +01:00