Skip to content

Comments

Add Ethnologue and ROLV Codes to Language Engagements#1701

Draft
sethmcknight wants to merge 5 commits intodevelopfrom
#1112-create-engagement-language-clarity
Draft

Add Ethnologue and ROLV Codes to Language Engagements#1701
sethmcknight wants to merge 5 commits intodevelopfrom
#1112-create-engagement-language-clarity

Conversation

@sethmcknight
Copy link
Member

@sethmcknight sethmcknight commented Jun 6, 2025

Overview
Enhanced the Create Language Engagement modal to improve language discovery and prevent duplicate engagements by displaying language classification codes and disabling languages that are already engaged on the project.

Improves language selection UX by making language codes visible at selection time.

Changes
Display language codes in dropdown: Each language option now shows:

Language name
Ethnologue code (ETH)
Registry of Language Varieties code (ROLV)
Column headers: Added labeled column headers (Name, ETH, ROLV) for clarity in the dropdown options list

Prevent duplicate engagements:

Languages already engaged on the project are disabled in the dropdown
Disabled options display a tooltip: "Already added to this project"
Already-engaged languages are sorted to the bottom of the list for better UX
Selected language helper text: When a language is selected, its ETH and ROLV codes appear below the field for quick reference

Code clarity: Renamed form field structure from language to engagement throughout the component for consistency with modal intent

Component refactor: Extracted form content into a separate FormContent component for better code organization and reusability

…modal

- Identify already engaged Languages for a Project in the CreateLanguageEngagement modal
@sethmcknight sethmcknight requested a review from CarsonF as a code owner June 6, 2025 15:03
@sethmcknight sethmcknight requested review from Copilot and rdonigian June 6, 2025 15:03

This comment was marked as outdated.

@sethmcknight sethmcknight linked an issue Jun 6, 2025 that may be closed by this pull request
…Engagement.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sethmcknight sethmcknight requested a review from Copilot June 6, 2025 15:04

This comment was marked as outdated.

@coderabbitai

This comment was marked as outdated.

@sethmcknight sethmcknight marked this pull request as draft June 6, 2025 15:09
coderabbitai[bot]

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve the Create Language Engagement flow

1 participant