Remove anchor link from GLQL embedded view component

What does this MR do and why?

The anchor link was originally added in !196188 (merged) as :anchor-id="queryKey", then changed to :anchor-id="crudComponentId" in !197824 (merged). However, there's no mention of the anchor link in either MR description - the intent behind adding it was unclear.

After investigation, the conclusion was that the widget component had a similar feature, so it likely got integrated into the CRUD component because there was a use case somewhere along the way.

The anchor link icon currently appears in the CRUD component header on:hover and causes the readability problems:

CleanShot 2026-01-23 at 15.16.41@2x.png

Fix:

CleanShot 2026-01-23 at 16.55.10@2x.png

Related issue: Remove Unnecessary Anchor Link from CRUD Compon... (#586203 - closed)

What is changing?

  • Removed :anchor-id prop from the GLQL facade component
  • Removed unused crudComponentId data property
  • Updated corresponding test

How to validate

  • Go to any issue with a GLQL embedded view (e.g., an issue with a glql code block in the description)
  • Hover over the CRUD component header
  • Verify the anchor link icon no longer appears on hover
  • Verify the title remains fully readable on hover (previously the anchor icon would overlay the title)
  • Verify you can still collapse and expand the GLQL embedded vie

Note

The queryKey prop is now unused within the component after removing crudComponentId, but it's still being passed from index.js. I've added an ESLint disable comment for now. We can consider removing it entirely in a follow-up MR if confirmed not needed.

Closes #586203 (closed)

Edited by Alex Fracazo

Merge request reports

Loading