Open euanmillar opened 2 months ago
Decision needs to be made if name configuration is decoupled from the rest of registration form configuration.
@euanmillar ticket updated. Can be unblocked and moved to Ready to build
Updated task description to include configurable name formatting elsewhere in the app as Burkina Faso needs this
Continue keeping name ordering in user creation form conceptually decoupled from names in the registration form. This ticket only addresses how names are handled in the admin application and takes us a step closer to a design where name ordering can be configured.
Tech tasks
Admin – User form
user-mgnt.users
collectionconstants.humanName
with a default value{firstName} {lastName}
and start using it in the admin view's user listing. Keep in mind that this same constant is to be used for rendering record subject names so for instance a country might want to have this as{lastName} {middleName} {firstName}
Other applications
generateName
in packages/client/src/utils/data-formatting.ts so that it respects the name format defined{lastName} {middleName} {firstName}
properly applies everywhere