discourse/spec/lib/stylesheet
Osama Sayegh 8b20137317
FIX: Refresh palettes list when navigating back to palettes list page (#34374)
Fixes
https://meta.discourse.org/t/checkbox-in-color-palettes-user-selectable-yes-no-doesnt-work/378545?u=osama

This commit moves the sorting logic to server-side to avoid caching issues
where the (sorted) palettes list, which was stored as a property on the
controller, would need to be invalidated each time the user navigated to
the palettes list page because changes to palettes could've been made
between the last and new visits to the page. This PR also eliminates an
AJAX request that the palettes list page makes to fetch the default
theme by including the default theme in the same response that includes
the color palettes list.
2025-08-19 03:45:33 +03:00
..
compiler_spec.rb DEV: Compile 'common' CSS into own assets (#31416) 2025-05-01 10:44:49 +01:00
importer_spec.rb DEV: Allow stylesheet entrypoints to use @use (#31905) 2025-03-26 09:15:32 +00:00
manager_spec.rb FIX: Refresh palettes list when navigating back to palettes list page (#34374) 2025-08-19 03:45:33 +03:00