Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add header selector #9

Merged
merged 9 commits into from
Dec 11, 2024
Merged

Conversation

dcoa
Copy link

@dcoa dcoa commented Dec 11, 2024

This PR modifies the language selector behavior updating the user preference and changing the language on the fly.

How to test

  • Use the current PR in the test instance
  • Be sure the app has the translations in the supported languages.
  • Add ENABLE_HEADER_LANG_SELECTOR and SITE_SUPPORTED_LENGUAGES into the instance settings
  • Test the selector
2024-12-11.17-56-05.mov

@dcoa dcoa force-pushed the dcoa/lang-selector branch 2 times, most recently from 41c56fe to 52a68f6 Compare December 11, 2024 07:18
@dcoa dcoa force-pushed the dcoa/lang-selector branch from 52a68f6 to 1fa0118 Compare December 11, 2024 07:30
@igobranco
Copy link
Member

Changed the implementation to use a paragon DropDown.

image

That compacts when the screen is smaller.

image

@igobranco igobranco merged commit 210c6c4 into nau/redwood.master Dec 11, 2024
4 checks passed
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.

3 participants