UI: Split language/currency selector into two dropdowns #10

Closed
opened 2026-04-09 07:30:40 +00:00 by johan · 0 comments
Owner

Summary

The current locale selector combines language and currency in one dropdown ("🇺🇸 EN / $"). Split into two separate select boxes: one for language, one for currency.

Current State

In clavitor.ai/test-index.html (lines 49-60):

  • Single dropdown shows "🌐 EN / $"
  • Mixed language and currency options in one menu

Desired State

Two independent dropdowns side-by-side:

  • Language selector: flag + 2-letter code (e.g., "🇺🇸 EN")
  • Currency selector: symbol + 3-letter code (e.g., "$ USD")

Design Requirements

  • Language dropdown: shows flag + 2-letter code
  • Currency dropdown: shows symbol + 3-letter code
  • Both dropdowns fit within nav bar without wrapping
  • Mobile: stack vertically in hamburger menu
  • Maintain current hover/click behavior

Files to Modify

  • clavitor.ai/test-index.html — structure
  • clavitor.ai/clavitor.css — styling for split selectors
  • JavaScript handler for independent state management

CSS Considerations

  • Current .nav-dropdown--locale has special positioning
  • Ensure --right alignment works for both dropdowns
  • Gap between selectors: 8px (use existing spacing vars)

Priority

Medium — UX improvement for international users.

Assignee

Luna (design) / Emma (implementation)

## Summary The current locale selector combines language and currency in one dropdown ("🇺🇸 EN / $"). Split into two separate select boxes: one for language, one for currency. ## Current State In `clavitor.ai/test-index.html` (lines 49-60): - Single dropdown shows "🌐 EN / $" - Mixed language and currency options in one menu ## Desired State Two independent dropdowns side-by-side: - Language selector: flag + 2-letter code (e.g., "🇺🇸 EN") - Currency selector: symbol + 3-letter code (e.g., "$ USD") ## Design Requirements - [ ] Language dropdown: shows flag + 2-letter code - [ ] Currency dropdown: shows symbol + 3-letter code - [ ] Both dropdowns fit within nav bar without wrapping - [ ] Mobile: stack vertically in hamburger menu - [ ] Maintain current hover/click behavior ## Files to Modify - [ ] `clavitor.ai/test-index.html` — structure - [ ] `clavitor.ai/clavitor.css` — styling for split selectors - [ ] JavaScript handler for independent state management ## CSS Considerations - Current `.nav-dropdown--locale` has special positioning - Ensure `--right` alignment works for both dropdowns - Gap between selectors: `8px` (use existing spacing vars) ## Priority Medium — UX improvement for international users. ## Assignee Luna (design) / Emma (implementation)
johan closed this issue 2026-04-09 14:20:19 +00:00
Sign in to join this conversation.
No description provided.