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

76 lines
2.0 KiB
TypeScript

import {css, useTheme} from '@emotion/react';
import styled from '@emotion/styled';
import ProgressRing from 'sentry/components/progressRing';
import {t} from 'sentry/locale';
import {space} from 'sentry/styles/space';
import type {OnboardingTaskDescriptor, OnboardingTaskStatus} from 'sentry/types';
import {isDemoWalkthrough} from 'sentry/utils/demoMode';
type Props = {
allTasks: OnboardingTaskDescriptor[];
completedTasks: OnboardingTaskStatus[];
};
function ProgressHeader({allTasks, completedTasks}: Props) {
const theme = useTheme();
let title: string, description: string;
if (isDemoWalkthrough()) {
title = t('Guided Tours');
description = t('Take a guided tour to see what Sentinel can do for you');
} else {
title = t('Quick Start');
description = t('Walk through this guide to get the most out of Sentinel right away.');
}
const filteredTasks = allTasks.filter(task => !task.renderCard);
return (
<Container>
<StyledProgressRing
size={80}
barWidth={8}
text={filteredTasks.length - completedTasks.length}
animateText
value={(completedTasks.length / filteredTasks.length) * 100}
progressEndcaps="round"
backgroundColor={theme.gray100}
textCss={() => css`
font-size: 26px;
color: ${theme.textColor};
`}
/>
<HeaderTitle>{title}</HeaderTitle>
<Description>{description}</Description>
</Container>
);
}
export default ProgressHeader;
const Container = styled('div')`
display: grid;
grid-template-columns: min-content 1fr;
grid-template-rows: min-content 1fr;
grid-column-gap: ${space(2)};
margin: 90px ${space(4)} 0 ${space(4)};
`;
const StyledProgressRing = styled(ProgressRing)`
grid-column: 1/2;
grid-row: 1/3;
`;
const HeaderTitle = styled('h3')`
margin: 0;
grid-column: 2/3;
grid-row: 1/2;
`;
const Description = styled('div')`
color: ${p => p.theme.gray300};
grid-column: 2/3;
grid-row: 2/3;
`;