Use clipboard button in dns partial and remove new deploy token partial
What does this MR do and why?
Resolves #417796 (closed)
This MR:
- converts all remaining
deprecated_clipboard_button
>clipboard_button
forapp/views/projects/pages_domains/_dns.html.haml
- and removes unused
app/views/shared/deploy_tokens/_new_deploy_token.html.haml
> see comment
Note:
-
app/views/projects/notes/_more_actions_dropdown.html.haml
is being converted in !140013 (merged), there's already an issue open for the file here #417839 (closed) -
app/views/ci/runner/_how_to_setup_runner.html.haml
> see comment, this is being removed so we don't need to update the button
Screenshots
app/views/projects/pages_domains/_dns.html.haml
domain_dns button
Before | After |
---|---|
domain_verification button
Before | After |
---|---|
How to set up and validate locally
app/views/projects/pages_domains/_dns.html.haml
Setting up DNS locally is quite intensive so I simply copied the partial into a view I could access easily and verified there.
With pages setup locally, this could be tested directly in the feature at: http://gdk.test:3000/flightjs/Flight/pages
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Missy Davies