Skip to content

Fix bug where notes were being rendered with wrong color preferences due to caching

Stan Hu requested to merge stanhu/gitlab-ce:fix-mixed-color-preview into master

What does this MR do?

This MR adds the user's color preferences as part of the caching key for notes.

Why was this MR needed?

This should fix a bug introduced via 4d80360b where notes were being loaded from the cache without regard to the current user's color scheme.

What are the relevant issue numbers?

Closes #2008 (closed)

Merge request reports