Skip to content

Adding Mobile DevOps promotion to main project page

Darby Frey requested to merge mobile-devops-project-promo into master

What does this MR do and why?

This MR adds a promo banner to the top of the project page for Mobile DevOps. This promo will only show for projects that have been identified as a mobile platform (estimates here). The CTA for this promo links to the Mobile DevOps docs page for now, and we could adjust it later to link to a settings page once that is established.

image

@gabrielengel_gl this was one of the things we talked about last week, WDYT?

/cc @bmarnane

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. In rails console enable the feature flag
    Feature.enable(:mobile_devops_projects_promo)
  2. Assign a mobile target platform to a project
    project = Project.find(6) # flightjs/Flight
    project.project_setting.target_platforms << 'ios'
    project.save
  3. View the project in the browser and the promo will be visible

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Darby Frey

Merge request reports