forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add latest changes from gitlab-org/gitlab@master
- Loading branch information
GitLab Bot
committed
Aug 27, 2020
1 parent
c29ceae
commit 2d07575
Showing
101 changed files
with
456 additions
and
300 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
app/assets/javascripts/admin/cohorts/components/usage_ping_disabled.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<script> | ||
import { GlEmptyState, GlSprintf, GlLink } from '@gitlab/ui'; | ||
export default { | ||
components: { | ||
GlEmptyState, | ||
GlSprintf, | ||
GlLink, | ||
}, | ||
inject: { | ||
svgPath: { | ||
type: String, | ||
}, | ||
docsLink: { | ||
type: String, | ||
}, | ||
primaryButtonPath: { | ||
type: String, | ||
}, | ||
}, | ||
}; | ||
</script> | ||
<template> | ||
<gl-empty-state | ||
class="js-empty-state" | ||
:title="__('Activate user activity analysis')" | ||
:svg-path="svgPath" | ||
:primary-button-text="__('Turn on usage ping')" | ||
:primary-button-link="primaryButtonPath" | ||
> | ||
<template #description> | ||
<gl-sprintf | ||
:message=" | ||
__( | ||
'Turn on %{strongStart}usage ping%{strongEnd} to activate analysis of user activity, known as %{docLinkStart}Cohorts%{docLinkEnd}.', | ||
) | ||
" | ||
> | ||
<template #docLink="{content}"> | ||
<gl-link :href="docsLink" target="_blank">{{ content }}</gl-link> | ||
</template> | ||
<template #strong="{ content }" | ||
><strong>{{ content }}</strong></template | ||
> | ||
</gl-sprintf> | ||
</template> | ||
</gl-empty-state> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import Vue from 'vue'; | ||
import UsagePingDisabled from '~/admin/cohorts/components/usage_ping_disabled.vue'; | ||
|
||
document.addEventListener('DOMContentLoaded', () => { | ||
const emptyStateContainer = document.getElementById('js-cohorts-empty-state'); | ||
|
||
if (!emptyStateContainer) return false; | ||
|
||
const { emptyStateSvgPath, enableUsagePingLink, docsLink } = emptyStateContainer.dataset; | ||
|
||
return new Vue({ | ||
el: emptyStateContainer, | ||
provide: { | ||
svgPath: emptyStateSvgPath, | ||
primaryButtonPath: enableUsagePingLink, | ||
docsLink, | ||
}, | ||
render(h) { | ||
return h(UsagePingDisabled); | ||
}, | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
changelogs/unreleased/224649-fix-resolved-threads-popup-link-and-placement.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Resolve Fix Resolved threads popup link and placement | ||
merge_request: 40489 | ||
author: | ||
type: fixed |
5 changes: 5 additions & 0 deletions
5
changelogs/unreleased/235993-cohorts-improve-empty-state-to-match-devops-score.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Improve empty state for Cohorts to match DevOps Score | ||
merge_request: 39828 | ||
author: | ||
type: changed |
5 changes: 5 additions & 0 deletions
5
changelogs/unreleased/241199-fix-snippet-loading-json-content.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Fix snippets edit not loading JSON values | ||
merge_request: 40417 | ||
author: | ||
type: fixed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -260,7 +260,9 @@ def up | |
end | ||
|
||
def down | ||
drop_table :issues | ||
with_lock_retries do | ||
drop_table :issues | ||
end | ||
end | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.