Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,15 @@ describe('GlobalCommandPaletteActions - search recall', () => {
['SENTRY_DSN', /Project Settings.*Client Keys \(DSN\)/],
['sentry dsn', /Project Settings.*Client Keys \(DSN\)/],
['NEXT_PUBLIC_SENTRY_DSN', /Project Settings.*Client Keys \(DSN\)/],
// Users searching to create a token should land on the token pages.
[
'create new token',
/Settings.*Organization Tokens/,
/Settings.*Personal Tokens/,
],
['create token', /Settings.*Organization Tokens/, /Settings.*Personal Tokens/],
// "SDK setup" (the section name, not a page) should surface Client Keys (DSN).
['sdk setup', /Project Settings.*Client Keys \(DSN\)/],
])('finds expected actions for %s', async (query, ...expectedOptions) => {
renderPalette();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,10 @@ export function getUserOrgNavigationConfiguration(): NavigationSection[] {
t('token'),
t('credentials'),
t('user auth tokens'),
t('create token'),
t('create new token'),
t('create auth token'),
t('new token'),
'SENTRY_AUTH_TOKEN',
],
description: t('Manage organization tokens'),
Expand All @@ -326,6 +330,10 @@ export function getUserOrgNavigationConfiguration(): NavigationSection[] {
t('token'),
t('credentials'),
t('user auth tokens'),
t('create token'),
t('create new token'),
t('create auth token'),
t('new token'),
'SENTRY_AUTH_TOKEN',
],
description: t(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ export function getNavigationConfiguration({
t('client key'),
t('dsn key'),
t('allowed domains'),
t('sdk setup'),
t('sdk'),
t('setup'),
t('install'),
t('installation'),
],
},
{
Expand Down
Loading