discourse/spec/system/page_objects/components
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
..
navigation_menu DEV: Use default admin routes for plugins with settings (#30941) 2025-02-04 14:57:28 +08:00
about_page_site_activity.rb FEATURE: Add estimated number of global and EU visitors to the about page (#28382) 2024-08-21 00:03:42 +03:00
about_page_site_activity_item.rb FEATURE: Add estimated number of global and EU visitors to the about page (#28382) 2024-08-21 00:03:42 +03:00
about_page_users_list.rb DEV: Add admins and moderators sections to the redesigned /about page (#28273) 2024-08-12 16:23:44 +03:00
ace_editor.rb DEV: Cleanup todos from codebase (#30394) 2024-12-19 18:22:33 -08:00
admin_about_config_area_contact_information_card.rb DEV: Migrate about config area to Form Kit (#28021) 2024-07-25 19:07:38 +03:00
admin_about_config_area_general_settings_card.rb FEATURE: Add 'Community title' field to about config page (#29500) 2024-10-31 10:04:31 +03:00
admin_about_config_area_your_organization_card.rb DEV: Migrate about config area to Form Kit (#28021) 2024-07-25 19:07:38 +03:00
admin_theme_settings_editor.rb DEV: Allow typed objects theme settings to be saved via settings editor (#26100) 2024-03-11 08:42:12 +08:00
admin_theme_translations_settings_editor.rb FEATURE: add language picker for theme translations in admin UI (#26150) 2024-03-18 12:00:28 -04:00
base.rb DEV: Change sidebar header dropdown to use wait_for_animation (#20627) 2023-03-10 14:54:57 +10:00
bookmark_menu.rb DEV: implements <DropdownMenu /> (#26917) 2024-05-08 09:08:42 +02:00
calendar_date_time_picker.rb DEV: Add more structure for admin plugin config nav (#26707) 2024-05-02 11:36:46 +10:00
category_badge.rb FEATURE: Bulk topic tagging allowing restricted operations on sole categories (#26602) 2024-04-12 13:10:14 +10:00
category_list.rb DEV: Implement glimmer topic-list (#26743) 2024-05-21 14:36:15 +02:00
category_permission_row.rb UX: Add group link to category permission row (#28560) 2024-08-28 16:11:16 +10:00
composer.rb FEATURE: introduce a ProseMirror editor (#30815) 2025-02-04 14:37:18 -03:00
d_menu.rb FEATURE: Add bulk destroy to admin users list (#29744) 2024-11-25 11:13:35 +03:00
d_page_header.rb DEV: Add base admin page page object (#30814) 2025-01-16 12:52:41 +08:00
d_toggle_switch.rb DEV: Avoid a hacky workaround in d-toggle-switch specs (#29376) 2024-10-23 23:11:19 +02:00
dialog.rb DEV: Add confirm_danger to Dialog page object (#26846) 2024-05-03 09:31:16 +10:00
drafts_menu.rb UX: multiple drafts menu improvements (#31195) 2025-02-05 15:19:13 +04:00
emoji_picker.rb DEV: Speed up core system tests (#21394) 2023-05-05 07:45:53 +08:00
fast_editor.rb FIX: Fast edit doesn’t work on content with certain characters (#20410) 2023-02-23 11:30:16 +08:00
filter.rb FEATURE: move back to the forum link above the filter (#26070) 2024-03-07 14:48:16 +11:00
form_kit.rb DEV: allows to fill in input of type number in specs (#31051) 2025-01-29 13:11:03 +01:00
group-card.rb FIX: Member Highlights on Group Cards (#22828) 2023-07-28 14:33:42 +00:00
home_logo.rb FEATURE: Dark/light mode selector (#31086) 2025-02-07 03:28:34 +03:00
interface_color_mode.rb FEATURE: Dark/light mode selector (#31086) 2025-02-07 03:28:34 +03:00
interface_color_selector.rb FEATURE: Dark/light mode selector (#31086) 2025-02-07 03:28:34 +03:00
logo.rb DEV: adds logo page component (#28276) 2024-08-08 13:52:48 +02:00
new_topic_list_toggle.rb UX: update /new toggle styles, class names (#23154) 2023-08-21 09:34:12 +08:00
new_topic_list_toggle_tab.rb FEATURE: New topics vs replies toggle for the new new view (#22920) 2023-08-18 12:44:04 +08:00
notifications_tracking.rb DEV: replaces topic-notifications-options by DMenu (#30298) 2024-12-16 19:59:18 +01:00
pikaday_calendar.rb DEV: Add more structure for admin plugin config nav (#26707) 2024-05-02 11:36:46 +10:00
post.rb SECURITY: add pagination to post replies 2024-10-07 11:48:48 +08:00
private_message_map.rb UX: Merge the simplified topic map (#27964) 2024-07-22 19:42:29 -03:00
select_kit.rb FEATURE: "Hot" replacing "Top" as default in the top menu (#28252) 2024-08-08 13:57:42 -04:00
sidebar_header_dropdown.rb UX: Remove section heading for community section (#22405) 2023-07-11 09:40:37 +08:00
theme_translation_text_area.rb FEATURE: add language picker for theme translations in admin UI (#26150) 2024-03-18 12:00:28 -04:00
toasts.rb UX: enhances chat copy features (#23770) 2023-10-04 16:14:37 +02:00
tooltips.rb DEV: adds a tooltip system spec component (#28275) 2024-08-08 14:02:00 +02:00
topic_list.rb DEV: Set glimmer-topic-list to 'auto' by default (#30582) 2025-01-08 12:00:56 +00:00
topic_list_controls.rb UX: Don't hide new navigation item in experimental new new view (#26094) 2024-03-08 09:26:09 +08:00
topic_list_header.rb FEATURE: Use new topic bulk actions dropdown on search page (#27303) 2024-06-07 10:41:42 +10:00
topic_map.rb UX: Merge the simplified topic map (#27964) 2024-07-22 19:42:29 -03:00
topic_query_filter.rb FIX: /filter route input field not updating on route change (#23119) 2023-08-17 09:04:48 +08:00
topic_view.rb DEV: replaces topic-notifications-options by DMenu (#30298) 2024-12-16 19:59:18 +01:00
uppy_image_uploader.rb A11Y: make the uppy image uploader keyboard navigable (#29807) 2024-11-19 15:38:13 -05:00
user_menu.rb FEATURE: add new hidden site setting to show full names in user card 2025-01-23 12:26:59 -05:00