RocketChat / RocketChat/Rocket.Chat
user account profile shows custom fields without translation or label
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
The user account profile page shows custom fields does not respect label and translation
Steps to reproduce:
-
Define Custom Field (Accounts_CustomFields)
-
Define Custom Fields to Show in User Info (Accounts_CustomFieldsToShowInUserInfo)
-
Add translation in Custom Translations (Custom_Translations)
Expected behavior:
the user's personal account profile page (where she can edit her own settings) shows translation or label as defined in CustomFieldsForm.tsx
Actual behavior:
the custom field's key is used
Server Setup Information:
- Version of Rocket.Chat Server: 6.5.3
- Operating System: Linux
- Deployment Method: tar
- Number of Running Instances: > 5
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
Client Setup Information
- Desktop App or Browser Version: 3.9.4, current iOS App
- Operating System: Linux, iOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with CustomFieldsForm.tsx around the referenced line and trace how fields are rendered on the personal account profile page. Reproduce the issue using a custom field and custom translation, then verify that the profile displays the configured translation or label instead of the field key.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, internationalization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100