RocketChat / RocketChat/Rocket.Chat

user account profile shows custom fields without translation or label

Open
#31,694 0 comments 0 reactions 0 assignees View on GitHub

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:
  1. Define Custom Field (Accounts_CustomFields)
    x

  2. Define Custom Fields to Show in User Info (Accounts_CustomFieldsToShowInUserInfo)
    d1

  3. Add translation in Custom Translations (Custom_Translations)
    b1

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

c1

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.