discourse/spec/system/page_objects
Natalie Tay 37e13f0afc
FEATURE: Allow admins to configure sections in the experimental admin dashboard (#39964)
Allow admins to configure which sections they want to see.

A few tasks in this commit:
- rename the "Customise" menu to "Configure" and removes the calendar
icon from the Custom date range option
- implements the Configure menu:
  - toggle section visibility
  - drag-and-drop reorder on desktop, up/down arrows on mobile
  - empty state when all sections are off
- persists configuration site-wide on menu close via
`admin_dashboard_sections` site setting
  - admins and moderators can view, but admins write and moderators read
- `AdminDashboardSectionConfiguration` owns configuration, so storage
can change later if we move to per-user
- `PUT /admin/dashboard/configuration.json` is admin-only (mentioned
above)
  - audit log (`SiteSetting.set_and_log`)
- the backend filters `sections` payload to only the visible-and-ordered
list, so mods render the layout admins set without seeing the
configuration meta
    - hidden sections skip their server-side data computation
2026-05-13 18:03:39 +08:00
..
components FIX: Saving an edit on a reply can fail after expanding replies (#39919) 2026-05-12 21:07:38 +02:00
modals UX: Migrate permanently-delete confirmation to DModal (#39896) 2026-05-12 11:42:52 +02:00
pages FEATURE: Allow admins to configure sections in the experimental admin dashboard (#39964) 2026-05-13 18:03:39 +08:00
cdp.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00