Update favicon for Web IDE routes

Issue: Use a different favicon for the web IDE and wor... (#543723 - closed) • Sahil Sharma • 18.4

What does this MR do and why?

This change adds a custom favicon specifically for GitLab's Web IDE feature.
Previously, all pages in the application used the same default favicon, making it harder to find Web IDE tabs among other browser tabs. For this purpose, a new custom favicon was designed by @munthank. Now, when users work in the Web IDE, they will see this distinctive favicon instead of the standard one.
The implementation checks whether the current controller is IdeController and displays the Web IDE favicon accordingly; otherwise, it shows the standard favicon. Tests were added to ensure this functionality works correctly in both scenarios.

References

Screenshots or screen recordings

Before image
After image

How to set up and validate locally

  1. Checkout the branch locally.
  2. Open any project in WebIDE locally and verify that the custom favicon is displayed.

MR acceptance checklist

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

Merge request reports

Loading