Skip to content
代码片段 群组 项目
未验证 提交 1dad629e 编辑于 作者: Robert Hunt's avatar Robert Hunt 提交者: GitLab
浏览文件

Merge branch '430252-fix-missing-banner-on-behavior-dashboards' into 'master'

Fix feedback banner not showing on behavior dashboards

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



Merged-by: default avatarRobert Hunt <rhunt@gitlab.com>
Approved-by: default avatarRobert Hunt <rhunt@gitlab.com>
Approved-by: default avatarElwyn Benson <ebenson@gitlab.com>
Reviewed-by: default avatarElwyn Benson <ebenson@gitlab.com>
Co-authored-by: default avatarJiaan Louw <jlouw@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -265,7 +265,7 @@ export const DORA_PERFORMERS_SCORE_CHART_COLOR_PALETTE = [GREEN_400, ORANGE_400,
// the slug name for a dashboard must match the URL path that is used
export const BUILT_IN_VALUE_STREAM_DASHBOARD = 'value_streams_dashboard';
export const BUILT_IN_PRODUCT_ANALYTICS_DASHBOARDS = ['behaviour', 'audience'];
export const BUILT_IN_PRODUCT_ANALYTICS_DASHBOARDS = ['behavior', 'audience'];
export const VISUALIZATION_USAGE_OVERVIEW = 'usage_overview';
export const VISUALIZATION_USAGE_TITLE = s__('Analytics|Usage overview for %{namespaceName} group');
......
......@@ -611,11 +611,11 @@ describe('AnalyticsDashboard', () => {
describe('with a built-in product analytics dashboards dashboard', () => {
it.each`
slug | userDefined | showsBanner
${'audience'} | ${false} | ${true}
${'behaviour'} | ${false} | ${true}
${'vsd'} | ${false} | ${false}
${'audience'} | ${true} | ${false}
slug | userDefined | showsBanner
${'audience'} | ${false} | ${true}
${'behavior'} | ${false} | ${true}
${'vsd'} | ${false} | ${false}
${'audience'} | ${true} | ${false}
`(
'when the dashboard slug is "$slug" and userDefined is $userDefined then the banner is $showsBanner',
async ({ slug, userDefined, showsBanner }) => {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册