Expose data for GraphQL queries in Repository & Blob header app

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Context

We want to minimise the data we pass through the HAML and inject into Vue components. Here's the spreadsheet with analysis (internal-only) of what we need and what is or is not exposed.

Needed changes

field name in HAML is in GraphQL Ruby reference GraphQL reference To do
project_root_path FALSE project_root_path Needed on refSelector change. Expose on Project.
xcode_url FALSE xcode_url Expose on Project
kerberos_url FALSE kerberos_url Expose on Project
is_binary FALSE def binary? SnippetBlob binary Expose on RepositoryBlob
Edited Aug 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading