discourse/plugins/chat/assets/javascripts/discourse
Osama Sayegh 284e708e67
FEATURE: Dark/light mode selector (#31086)
This commit makes the
[color-scheme-toggle](https://github.com/discourse/discourse-color-scheme-toggle)
theme component a core feature with improvements and bug fixes. The
theme component will be updated to become a no-op if the core feature is
enabled.

Noteworthy changes:

* the color mode selector has a new "Auto" option that makes the site
render in the same color mode as the user's system preference
* the splash screen respects the color mode selected by the user
* dark/light variants of category logos and background images are now
picked correctly based on the selected color mode
* a new `interface_color_selector` site setting to disable the selector
or choose its location between the sidebar footer or header

Internal topic: t/139465.

---------

Co-authored-by: Ella <ella.estigoy@gmail.com>
2025-02-07 03:28:34 +03:00
..
adapters FIX: better chat-api error handling (#19550) 2022-12-21 16:11:35 +01:00
components FEATURE: introduce a ProseMirror editor (#30815) 2025-02-04 14:37:18 -03:00
connectors DEV: Change dIcon to icon in components (#31083) 2025-01-31 10:55:31 +10:00
controllers UX: adds chat send shortcut user preference (#30473) 2025-01-22 13:17:45 +01:00
helpers DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
initializers FEATURE: Dark/light mode selector (#31086) 2025-02-07 03:28:34 +03:00
lib DEV: Don't nest deferring calls (#30449) 2025-01-21 11:24:33 +01:00
models FIX: improves reliability of last visit line in chat (#30948) 2025-01-27 10:38:41 +01:00
modifiers/chat DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
pre-initializers DEV: allows a context when creating a message (#25647) 2024-02-13 11:37:15 +01:00
routes FIX: correctly closes panels in threads (#31013) 2025-01-27 16:34:56 +01:00
services FIX: quote from thread in drawer mode (#31137) 2025-02-03 21:20:50 +01:00
templates UX: adds chat send shortcut user preference (#30473) 2025-01-22 13:17:45 +01:00
admin-chat-route-map.js UX: Hide admin header for edit/new webhook (#30194) 2024-12-12 10:49:17 +11:00
chat-route-map.js FEATURE: Create a link to start a new chat (#25722) 2024-02-20 18:08:57 +08:00
preferences-chat-route-map.js