Skip to content
Snippets Groups Projects
Commit 026877e2 authored by Gary Holtz's avatar Gary Holtz
Browse files

Merge branch 'phikai-cs-preference-links' into 'master'

Update doc links for code suggestions

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/139154



Merged-by: default avatarGary Holtz <gholtz@gitlab.com>
Approved-by: default avatarGary Holtz <gholtz@gitlab.com>
Co-authored-by: default avatarKai Armstrong <karmstrong@gitlab.com>
parents 0de00933 485605e0
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
@@ -11993,6 +11993,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