feat: add spoken languages as user profile attributes#1613
Open
teal-bauer wants to merge 3 commits intoengelsystem:mainfrom
Open
feat: add spoken languages as user profile attributes#1613teal-bauer wants to merge 3 commits intoengelsystem:mainfrom
teal-bauer wants to merge 3 commits intoengelsystem:mainfrom
Conversation
Allow users to specify languages they speak with native/non-native flag to help find shifts with compatible teams. - New UserLanguage model with BCP47 tag validation - Settings UI with autocomplete search - Display on user profiles and shift detail pages - Exposed in API as spoken_languages array - Feature disabled by default (enable_user_languages config) Closes engelsystem#254
Contributor
Author
Inline scripts are blocked by Content Security Policy. Extract the language editor JavaScript to a separate module and add theme support for dynamically created cards.
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
UserLanguagemodel with BCP47 tag validation (supportsen,pt-BR,zh-Hans, etc.)/settings/spoken-languagesspoken_languagesarrayenable_user_languagesconfig flag)Test plan
enable_user_languages: truein configspoken_languagesarray for user detail endpointCloses #254