Skip to content

Use universal_stylesheet_link_tag in app layout head haml

What does this MR do and why?

This allows vite to load the correct sass files for users who are using the experimental Auto dark mode.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. Check out the master branch of the GDK
  2. Ensure you're using Vite
  3. Sign in to the GDK and change your user preferences to use the Auto dark mode
  4. delete builds: rm -rf gitlab/app/assets/builds/*
  5. Refresh the browser
  6. You should see that you get errors from rails about missing sass files
  7. check out this branch and restart the gdk
  8. refresh the page in the browser
  9. You should see that the app loads normally

Merge request reports