Skip to content

Draft: exposed WebIDE related props early

Denys Mishunov requested to merge 281686/expose-rails-data-early into master

What does this MR do?

Exposes the following props early in the process so that vue app wouldn't need to query for those or parse anything:

prop description
merge_request Returns the MR id when on an MR
branch_name The name of the requested branch if available
file_path The path of the requested file if available
project Complete data for the project requested
forked_project Complete data for the forked project if available

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

References #281686 (closed), #213581 (closed)

Merge request reports

Loading