fix(invite): show org title instead of slug(org name) in member invite dropdown#1712
Open
Shreyag02 wants to merge 1 commit into
Open
fix(invite): show org title instead of slug(org name) in member invite dropdown#1712Shreyag02 wants to merge 1 commit into
Shreyag02 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe invite-user organization dropdown now displays ChangesInvite user organization label
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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. Comment |
Coverage Report for CI Build 28188569842Coverage remained the same at 43.804%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The organization dropdown in the admin "Invite user" flow rendered each org's URL slug (
org.name) instead of its display title (org.title). Because the org list view and the invite email both use the title, the dropdown option didn't match what users saw elsewhere — selecting an org produced an invite email showing a different name.Changes
org.title(with a fallback toorg.namewhen title is unset) in the organization dropdown of the admin member-invite dialog.Technical Details
In Frontier's org model,
titleis the human-readable display name whilenameis the URL slug / unique identifier. The invite dropdown inweb/sdk/admin/views/users/list/invite-users.tsxwas renderingorg.name, whereas the org list (organizations/list/columns.tsx) and the invite email useorg.title, causing the perceived mismatch. The submitted form value is stillorg.id, so only the visible label changed — the invite target is unaffected.Test Plan
shown in the organization list.
option.
SQL Safety (if your PR touches
*_repository.goorgoqu.*)N/A — frontend-only change; no
*_repository.goorgoqu.*files touched.