[WIKI-391] chore: handle deactivated user display name in version history#7171
[WIKI-391] chore: handle deactivated user display name in version history#7171sriramveeraghanta merged 1 commit intopreviewfrom
Conversation
WalkthroughThe changes introduce a fallback mechanism for displaying user names in various components. When a user's display name is missing or the user is deactivated, a localized "deactivated user" string is shown instead of leaving the field blank. This update affects dropdown items, dropdown labels, and sidebar list items. Changes
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code Graph Analysis (1)web/core/components/core/description-versions/dropdown-item.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (5)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Pull Request Linked with Plane Work Items Comment Automatically Generated by Plane |
Description
This PR fixes version history user display name when the version was created by a deactivated user.
Now, the text
Deactivated useris rendered instead of the current implementation of an empty space.Type of Change
Summary by CodeRabbit