Files
zeekayandHanzo Dev f888991a7a drop the Sentry wordmark from the react app
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]>
2026-08-10 18:01:22 -07:00

67 lines
1.9 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import {CodeOwnerFixture} from 'sentry-fixture/codeOwner';
import {OrganizationFixture} from 'sentry-fixture/organization';
import {ProjectFixture} from 'sentry-fixture/project';
import {render, screen, userEvent} from 'sentry-test/reactTestingLibrary';
import {CodeOwnerErrors} from './codeownerErrors';
describe('CodeownerErrors', () => {
const project = ProjectFixture();
const org = OrganizationFixture();
it('should render errors', async () => {
const codeowner = CodeOwnerFixture({
errors: {
missing_user_emails: ['[email protected]'],
missing_external_users: [],
missing_external_teams: ['@getsentry/something'],
teams_without_access: ['#snuba'],
users_without_access: [],
},
});
render(
<CodeOwnerErrors
codeowners={[codeowner]}
projectSlug={project.slug}
orgSlug={org.slug}
/>
);
await userEvent.click(
screen.getByText(
'There were 3 ownership issues within Sentinel on the latest sync with the CODEOWNERS file'
)
);
expect(
screen.getByText(`There’s a problem linking teams and members from an integration`)
).toBeInTheDocument();
expect(screen.getByText('@getsentry/something')).toBeInTheDocument();
});
it('should deduplicate errors', () => {
const codeowner = CodeOwnerFixture({
errors: {
missing_user_emails: ['[email protected]'],
missing_external_users: [],
missing_external_teams: ['@getsentry/something'],
teams_without_access: ['#snuba'],
users_without_access: [],
},
});
render(
<CodeOwnerErrors
codeowners={[codeowner, {...codeowner, id: '123'}]}
projectSlug={project.slug}
orgSlug={org.slug}
/>
);
expect(
screen.getByText(
'There were 3 ownership issues within Sentinel on the latest sync with the CODEOWNERS file'
)
).toBeInTheDocument();
});
});