Skip to content

Move flash message for unverified domains to local messages

What does this MR do and why?

Move the warning message This domain is not verified. You will need to verify ownership before access is enabled. from global to local flash messages. See the issue #21784.

Screenshots or screen recordings

Before

Screenshot_2023-05-18_at_13.11.34

After

Screenshot_2023-05-18_at_13.14.33

How to set up and validate locally

Precondition

Pages and runners set up.

Pages: https://gitlab.com/gitlab-org/gitlab-development-kit/blob/main/doc/howto/pages.md
Runners: https://gitlab.com/gitlab-org/gitlab-development-kit/blob/main/doc/howto/runner.md

  1. Create a simple project with a .gitlab-ci.yml and a folder public.

Screenshot_2023-05-18_at_13.22.00

  1. Write out the .gitlab-ci.yml as:
image: alpine:latest

pages:
  stage: deploy
  script:
  - echo 'Nothing to do...'
  artifacts:
    paths:
    - public
  only:
  - master
  1. In the project, go to the menu Settings > Pages and create a new domain (click on New Domain button).

MR acceptance checklist

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

Related to #21784

Edited by Dannyel Cardoso da Fonseca

Merge request reports