Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions src/client-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,31 @@
SENTRY: '',
DASHBOARDS: [
{
id: 'leaderboards',
id: 'registrations',
title: {
id: 'navigation.leaderboards',
defaultMessage: 'Development dashboard',
description: 'Menu item for development dashboard'
id: 'dashboard.registrationsTitle',
defaultMessage: 'Registrations Dashboard',
description: 'Menu item for registrations dashboard'
},
url: 'http://localhost:3040/ping'
url: `http://localhost:4444/public/dashboard/03be04d6-bde0-4fa7-9141-21cea2a7518b#bordered=false&titled=false&refresh=300` // Filled in below
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: remove the // Filled in below comment - it's misleading since the URL is already complete

Suggested change
url: `http://localhost:4444/public/dashboard/03be04d6-bde0-4fa7-9141-21cea2a7518b#bordered=false&titled=false&refresh=300` // Filled in below
url: `http://localhost:4444/public/dashboard/${dashboard_id}#bordered=false&titled=false&refresh=300`

},
{
id: 'completeness',
title: {
id: 'dashboard.completenessTitle',
defaultMessage: 'Completeness Dashboard',
description: 'Menu item for completeness dashboard'
},
url: `http://localhost:4444/public/dashboard/41940907-8542-4e18-a05d-2408e7e9838a#bordered=false&titled=false&refresh=300`
},
{
id: 'registry',
title: {
id: 'dashboard.registryTitle',
defaultMessage: 'Registry',
description: 'Menu item for registry dashboard'
},
url: `http://localhost:4444/public/dashboard/dc66b77a-79df-4f68-8fc8-5e5d5a2d7a35#bordered=false&titled=false&refresh=300`
}
],
FEATURES: {}
Expand Down
3 changes: 2 additions & 1 deletion src/data-seeding/roles/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ export const roles: Role[] = [
scopes: [
SCOPES.PERFORMANCE_READ,
SCOPES.PERFORMANCE_READ_DASHBOARDS,
SCOPES.PERFORMANCE_EXPORT_VITAL_STATISTICS
SCOPES.PERFORMANCE_EXPORT_VITAL_STATISTICS,
SCOPES.ORGANISATION_READ_LOCATIONS
]
},
{
Expand Down
Loading