Skip to content
Snippets Groups Projects
Unverified Commit 485605e0 authored by Kai Armstrong's avatar Kai Armstrong
Browse files

Update doc links for code suggestions

parent 70ded014
No related branches found
No related tags found
No related merge requests found
- return unless @user.namespace.ai_assist_ui_enabled?
 
- docs_link_url = help_page_path('user/project/repository/code_suggestions/index')
- docs_link_url = help_page_url('user/project/repository/code_suggestions/index', anchor: 'start-using-code-suggestions')
- docs_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: docs_link_url }
- terms_link_start = '<a href="https://about.gitlab.com/handbook/legal/testing-agreement/" target="_blank" rel="noopener noreferrer">'.html_safe
- ide_extension_url = help_page_url('user/project/repository/code_suggestions/index', anchor: 'supported-editor-extensions')
- ide_extension_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: ide_extension_url }
 
.settings-section.js-preferences-form.js-search-settings-section#code-suggestions-settings
.settings-sticky-header
Loading
Loading
@@ -16,4 +18,4 @@
.form-group
= form.gitlab_ui_checkbox_component :code_suggestions,
s_('CodeSuggestions|Enable Code Suggestions'),
help_text: s_('CodeSuggestions|Subject to the %{terms_link_start}Testing Terms of Use%{link_end}. Code Suggestions uses third-party AI services.').html_safe % { terms_link_start: terms_link_start, link_end: '</a>'.html_safe}
help_text: s_('CodeSuggestions|Subject to the %{terms_link_start}Testing Terms of Use%{link_end}. Code Suggestions uses third-party AI services.|To start receiving Code Suggestions after enabling this feature, you must install and configure a %{ide_extension_link_start}supported IDE editor extension%{link_end}.').html_safe % { terms_link_start: terms_link_start, ide_extension_link_start: ide_extension_link_start, link_end: '</a>'.html_safe}
Loading
Loading
@@ -11990,6 +11990,9 @@ msgstr ""
msgid "CodeSuggestions|Subject to the %{terms_link_start}Testing Terms of Use%{link_end}. Code Suggestions uses third-party AI services."
msgstr ""
 
msgid "CodeSuggestions|Subject to the %{terms_link_start}Testing Terms of Use%{link_end}. Code Suggestions uses third-party AI services.|To start receiving Code Suggestions after enabling this feature, you must install and configure a %{ide_extension_link_start}supported IDE editor extension%{link_end}."
msgstr ""
msgid "CodeownersValidation|An error occurred while loading the validation errors. Please try again later."
msgstr ""
 
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment