discourse/spec/system/page_objects
Kris 6629088309
UX: move post language selector to toolbar, deprioritize for AI (#39208)
When content localization is enabled, we show a button in the toolbar to
set your post language. The current position stands out quite a lot and
can get in the way on smaller screens.

This PR accomplishes two things: 

1. Moves the button to the toolbar, which is a more stable and less
in-the-way position
2. De-prioritizes the button on new post creation when AI translations
are enabled, as language is auto-detected most of the time.

A new value transformer is added `"post-language-selector-priority"` to
allow the AI plugin to change the priority of the button, and support
for a header has been added to `toolbar-popup-menu-options`

<img width="400" alt="image"
src="https://github.com/user-attachments/assets/5ca7a45f-d6cc-49ac-9334-3a8613622e10"
/>

<img width="600" alt="image"
src="https://github.com/user-attachments/assets/7393439c-3086-4fd0-bac7-74ed4a59074f"
/>
2026-04-15 08:25:15 -04:00
..
components UX: move post language selector to toolbar, deprioritize for AI (#39208) 2026-04-15 08:25:15 -04:00
modals FEATURE: Add bulk pin/unpin topics (#39025) 2026-04-09 14:44:23 +08:00
pages UX: Add dedicated moderation tab to simplified category editor (#39280) 2026-04-15 16:24:13 +08:00
cdp.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00