Skip to content

Support view on environment for commits and compare pages in rapid diffs

What does this MR do and why?

This MR adds "View on environment" (docs) to two pages in rapid diffs:

  1. Commits page
  2. Compare revision page

References

See implementation plan #554718 (comment 2857732295)

Screenshots or screen recordings

Before After
Commits Page CleanShot 2025-11-05 at 20.26.57.png CleanShot 2025-11-05 at 19.58.53.png
Compare Revision Page

How to set up and validate locally

Setting this up locally would involve quite a bit so I opted in to leverage existing features specs in spec/features/projects/view_on_env_spec

🗒️ for rapid diffs, this option is under a ellipse menu; for regular diffs, it's a icon button.

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.

Related to #554718

Edited by Chaoyue Zhao

Merge request reports

Loading