mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
FSL-1.0-Apache-2.0 grants us the code, not the name. "Sentry" is Functional Software's trademark, so every place the running app says it to a user -- page titles, onboarding, empty states, toasts, settings copy, the self-hosted footer -- now says Sentinel. Attribution is the other half of the deal and stays untouched: upstream copyright headers, LICENSE, NOTICE. So does anything where the mark is a fact rather than a brand -- @sentry/* packages, sentry-cli, the wizard and bundler plugins, docs.sentry.io, the whole gettingStartedDocs tree. Renaming those would leave instructions that no longer work. Nothing structural moved. No import, identifier, route path, feature flag, API field or test id changed; the diff is 312 lines in and 312 out. Colocated specs were updated in lockstep with the copy they assert. Marketing and community links point at hanzo.ai, only where a real page exists to point at. Co-authored-by: Hanzo Dev <[email protected]>
93 lines
2.8 KiB
TypeScript
93 lines
2.8 KiB
TypeScript
import {t} from 'sentry/locale';
|
|
import HookStore from 'sentry/stores/hookStore';
|
|
import type {Organization} from 'sentry/types';
|
|
import type {NavigationSection} from 'sentry/views/settings/types';
|
|
|
|
const pathPrefix = '/settings/account';
|
|
|
|
type ConfigParams = {
|
|
organization?: Organization;
|
|
};
|
|
|
|
function getConfiguration({organization}: ConfigParams): NavigationSection[] {
|
|
return [
|
|
{
|
|
name: t('Account'),
|
|
items: [
|
|
{
|
|
path: `${pathPrefix}/details/`,
|
|
title: t('Account Details'),
|
|
description: t(
|
|
'Change your account details and preferences (e.g. timezone/clock, avatar, language)'
|
|
),
|
|
},
|
|
{
|
|
path: `${pathPrefix}/security/`,
|
|
title: t('Security'),
|
|
description: t('Change your account password and/or two factor authentication'),
|
|
},
|
|
{
|
|
path: `${pathPrefix}/notifications/`,
|
|
title: t('Notifications'),
|
|
description: t('Configure what email notifications to receive'),
|
|
},
|
|
{
|
|
path: `${pathPrefix}/emails/`,
|
|
title: t('Email Addresses'),
|
|
description: t(
|
|
'Add or remove secondary emails, change your primary email, verify your emails'
|
|
),
|
|
},
|
|
{
|
|
path: `${pathPrefix}/subscriptions/`,
|
|
title: t('Subscriptions'),
|
|
description: t(
|
|
'Change Sentinel marketing subscriptions you are subscribed to (GDPR)'
|
|
),
|
|
},
|
|
{
|
|
path: `${pathPrefix}/authorizations/`,
|
|
title: t('Authorized Applications'),
|
|
description: t(
|
|
'Manage third-party applications that have access to your Sentinel account'
|
|
),
|
|
},
|
|
{
|
|
path: `${pathPrefix}/identities/`,
|
|
title: t('Identities'),
|
|
description: t(
|
|
'Manage your third-party identities that are associated to Sentinel'
|
|
),
|
|
},
|
|
{
|
|
path: `${pathPrefix}/close-account/`,
|
|
title: t('Close Account'),
|
|
description: t('Permanently close your Sentinel account'),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: t('API'),
|
|
items: [
|
|
{
|
|
path: `${pathPrefix}/api/applications/`,
|
|
title: t('Applications'),
|
|
description: t('Add and configure OAuth2 applications'),
|
|
},
|
|
{
|
|
path: `${pathPrefix}/api/auth-tokens/`,
|
|
title: t('User Auth Tokens'),
|
|
description: t(
|
|
"Authentication tokens allow you to perform actions against the Sentinel API on behalf of your account. They're the easiest way to get started using the API."
|
|
),
|
|
},
|
|
...HookStore.get('settings:api-navigation-config').flatMap(cb =>
|
|
cb(organization)
|
|
),
|
|
],
|
|
},
|
|
];
|
|
}
|
|
|
|
export default getConfiguration;
|