Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bbfd7f59
Commit
bbfd7f59
authored
Sep 03, 2021
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename learn gitlab A
Remove the A experiment variant suffix
parent
848932da
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
+14
-14
app/assets/javascripts/pages/projects/learn_gitlab/components/learn_gitlab.vue
...s/pages/projects/learn_gitlab/components/learn_gitlab.vue
+0
-0
app/assets/javascripts/pages/projects/learn_gitlab/components/learn_gitlab_section_link.vue
...cts/learn_gitlab/components/learn_gitlab_section_link.vue
+1
-1
app/assets/javascripts/pages/projects/learn_gitlab/index/index.js
...ts/javascripts/pages/projects/learn_gitlab/index/index.js
+2
-2
spec/frontend/pages/projects/learn_gitlab/components/__snapshots__/learn_gitlab_spec.js.snap
...gitlab/components/__snapshots__/learn_gitlab_spec.js.snap
+8
-8
spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_spec.js
...ges/projects/learn_gitlab/components/learn_gitlab_spec.js
+3
-3
No files found.
app/assets/javascripts/pages/projects/learn_gitlab/components/learn_gitlab
_a
.vue
→
app/assets/javascripts/pages/projects/learn_gitlab/components/learn_gitlab.vue
View file @
bbfd7f59
File moved
app/assets/javascripts/pages/projects/learn_gitlab/components/learn_gitlab_section_link.vue
View file @
bbfd7f59
...
...
@@ -39,7 +39,7 @@ export default {
:href=
"value.url"
data-track-action=
"click_link"
:data-track-label=
"$options.i18n.ACTION_LABELS[action].title"
data-track-property=
"Growth::Conversion::Experiment::LearnGitLab
A
"
data-track-property=
"Growth::Conversion::Experiment::LearnGitLab"
>
{{
$options
.
i18n
.
ACTION_LABELS
[
action
].
title
}}
</gl-link>
...
...
app/assets/javascripts/pages/projects/learn_gitlab/index/index.js
View file @
bbfd7f59
import
Vue
from
'
vue
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
LearnGitlab
A
from
'
../components/learn_gitlab_a
.vue
'
;
import
LearnGitlab
from
'
../components/learn_gitlab
.vue
'
;
function
initLearnGitlab
()
{
const
el
=
document
.
getElementById
(
'
js-learn-gitlab-app
'
);
...
...
@@ -15,7 +15,7 @@ function initLearnGitlab() {
return
new
Vue
({
el
,
render
(
createElement
)
{
return
createElement
(
LearnGitlab
A
,
{
return
createElement
(
LearnGitlab
,
{
props
:
{
actions
,
sections
},
});
},
...
...
spec/frontend/pages/projects/learn_gitlab/components/__snapshots__/learn_gitlab_
a_
spec.js.snap
→
spec/frontend/pages/projects/learn_gitlab/components/__snapshots__/learn_gitlab_spec.js.snap
View file @
bbfd7f59
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Learn GitLab
Design A
renders correctly 1`] = `
exports[`Learn GitLab renders correctly 1`] = `
<div>
<div
class="row"
...
...
@@ -136,7 +136,7 @@ exports[`Learn GitLab Design A renders correctly 1`] = `
class="gl-link"
data-track-action="click_link"
data-track-label="Set up CI/CD"
data-track-property="Growth::Conversion::Experiment::LearnGitLab
A
"
data-track-property="Growth::Conversion::Experiment::LearnGitLab"
href="http://example.com/"
rel="noopener noreferrer"
target="_blank"
...
...
@@ -157,7 +157,7 @@ exports[`Learn GitLab Design A renders correctly 1`] = `
class="gl-link"
data-track-action="click_link"
data-track-label="Start a free Ultimate trial"
data-track-property="Growth::Conversion::Experiment::LearnGitLab
A
"
data-track-property="Growth::Conversion::Experiment::LearnGitLab"
href="http://example.com/"
rel="noopener noreferrer"
target="_blank"
...
...
@@ -178,7 +178,7 @@ exports[`Learn GitLab Design A renders correctly 1`] = `
class="gl-link"
data-track-action="click_link"
data-track-label="Add code owners"
data-track-property="Growth::Conversion::Experiment::LearnGitLab
A
"
data-track-property="Growth::Conversion::Experiment::LearnGitLab"
href="http://example.com/"
rel="noopener noreferrer"
target="_blank"
...
...
@@ -206,7 +206,7 @@ exports[`Learn GitLab Design A renders correctly 1`] = `
class="gl-link"
data-track-action="click_link"
data-track-label="Add merge request approval"
data-track-property="Growth::Conversion::Experiment::LearnGitLab
A
"
data-track-property="Growth::Conversion::Experiment::LearnGitLab"
href="http://example.com/"
rel="noopener noreferrer"
target="_blank"
...
...
@@ -270,7 +270,7 @@ exports[`Learn GitLab Design A renders correctly 1`] = `
class="gl-link"
data-track-action="click_link"
data-track-label="Create an issue"
data-track-property="Growth::Conversion::Experiment::LearnGitLab
A
"
data-track-property="Growth::Conversion::Experiment::LearnGitLab"
href="http://example.com/"
rel="noopener noreferrer"
target="_blank"
...
...
@@ -291,7 +291,7 @@ exports[`Learn GitLab Design A renders correctly 1`] = `
class="gl-link"
data-track-action="click_link"
data-track-label="Submit a merge request"
data-track-property="Growth::Conversion::Experiment::LearnGitLab
A
"
data-track-property="Growth::Conversion::Experiment::LearnGitLab"
href="http://example.com/"
rel="noopener noreferrer"
target="_blank"
...
...
@@ -348,7 +348,7 @@ exports[`Learn GitLab Design A renders correctly 1`] = `
class="gl-link"
data-track-action="click_link"
data-track-label="Run a Security scan using CI/CD"
data-track-property="Growth::Conversion::Experiment::LearnGitLab
A
"
data-track-property="Growth::Conversion::Experiment::LearnGitLab"
href="http://example.com/"
rel="noopener noreferrer"
target="_blank"
...
...
spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_
a_
spec.js
→
spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_spec.js
View file @
bbfd7f59
import
{
GlProgressBar
}
from
'
@gitlab/ui
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
LearnGitlab
A
from
'
~/pages/projects/learn_gitlab/components/learn_gitlab_a
.vue
'
;
import
LearnGitlab
from
'
~/pages/projects/learn_gitlab/components/learn_gitlab
.vue
'
;
import
{
testActions
,
testSections
}
from
'
./mock_data
'
;
describe
(
'
Learn GitLab
Design A
'
,
()
=>
{
describe
(
'
Learn GitLab
'
,
()
=>
{
let
wrapper
;
const
createWrapper
=
()
=>
{
wrapper
=
mount
(
LearnGitlab
A
,
{
propsData
:
{
actions
:
testActions
,
sections
:
testSections
}
});
wrapper
=
mount
(
LearnGitlab
,
{
propsData
:
{
actions
:
testActions
,
sections
:
testSections
}
});
};
beforeEach
(()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment