Skip to content

Add Tip about Push to Create project on New Project page

André Luís requested to merge 42938-add-tip-push-to-create into master

What does this MR do?

Adds a little tip that reveals a new feature shipped in 10.5: creating a new project straight from the command line (https://gitlab.com/gitlab-org/gitlab-ce/issues/26388).

Are there points in the code the reviewer needs to double check?

Couldn't use the Popover straight via markup only because when users clicked on copy link or the text box, the popover would close. Had to go via javascript triggering.

This way, the Popover isn't in the DOM when the .js-select-on-focus is added its listener (DOM ready).

I extracted the code that adds this behaviour to a utility file in the lib and import it to both places so I can apply it when needed.

Why was this MR needed?

Revealing a new feature to users at a good moment.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #42938 (closed)

Edited by André Luís

Merge request reports