Fix: comment not highlighted when opening wiki page from todo mention link

What does this MR do and why?

Comments are currently not highlighted when a user visits a wiki page through a To-Do list entry created by a user mention. A behavior like that exists in other mentionables like issues and merge requests. This MR is raised to fix the above-mentioned behaviour.

References

Related issue - #517590

Screenshots or screen recordings

Before After

Screenshot 2025-11-11 at 7.25.24 PM.png

Screenshot 2025-11-11 at 7.23.17 PM.png

Screenshot 2025-11-11 at 7.40.19 PM.png

How to set up and validate locally

  1. Go to Projects

    -> Select Any Project

    -> In the left-sidebar hover on the Plan CTA

    -> you will see few options

    -> select Wiki among those

    OR just go this URL - http://127.0.0.1:3000/flightjs/Flight/-/wikis/pages

  2. Create one if there are no pages there.

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 #517590

Edited by Pooja Ghanghas

Merge request reports

Loading