discourse/plugins
David Taylor b15c1d28c9
DEV: Introduce experimental viewport-based mobile mode (#32859)
Introduces the viewport_based_mobile_mode experimental site setting.
When enabled, user-agent-based mobile/desktop detection will be replaced
with viewport-width logic. 'mobile mode' is enabled for any viewport
less than our 'sm' breakpoint (40rem, or 640px at default font size).

When this mode is enabled, mobile/desktop toggle buttons are hidden,
since they are non-functional.

Tests are also updated to use a consistent method for force-enabling the
legacy mobile mode. All state is now stored in `lib/mobile`, and the
`Site` model references that via a getter.
2025-05-23 13:01:04 +01:00
..
automation Update translations (#32815) 2025-05-20 17:33:42 +02:00
chat DEV: Introduce experimental viewport-based mobile mode (#32859) 2025-05-23 13:01:04 +01:00
checklist UX: rich editor checklist undoable input rule (#32877) 2025-05-23 14:20:27 +10:00
discourse-details DEV: Update linting (#32836) 2025-05-21 12:02:52 +02:00
discourse-lazy-videos DEV: Update linting (#32836) 2025-05-21 12:02:52 +02:00
discourse-local-dates Update translations (#32595) 2025-05-06 11:29:38 -04:00
discourse-narrative-bot Update translations (#32815) 2025-05-20 17:33:42 +02:00
discourse-presence DEV: Bump linting dependencies and fix violations (#32682) 2025-05-12 14:14:07 +01:00
footnote UX: rich editor footnotes position (#32566) 2025-05-05 09:12:09 -03:00
poll DEV: Update linting (#32836) 2025-05-21 12:02:52 +02:00
spoiler-alert DEV: Update linting (#32836) 2025-05-21 12:02:52 +02:00
styleguide Update translations (#32815) 2025-05-20 17:33:42 +02:00