Skip to content

chore(seer): update seer references #91642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 16, 2025
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion static/app/components/events/autofix/autofixChanges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export function AutofixChanges({
: null
}
isAgentComment
blockName={t('Autofix is uncertain of the code changes...')}
blockName={t('Seer is uncertain of the code changes...')}
/>
)}
</AnimatePresence>
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/events/autofix/autofixFeedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function AutofixFeedback() {
size="xs"
onClick={() =>
openForm({
messagePlaceholder: t('How can we make Autofix better for you?'),
messagePlaceholder: t('How can we make Seer better for you?'),
tags: {
['feedback.source']: 'issue_details_ai_autofix',
['feedback.owner']: 'ml-ai',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function AutofixInsightSources({sources, title, codeUrls}: AutofixInsightSources
data-overlay="true"
>
<OverlayHeader>
<OverlayTitle>{t("Autofix's Thoughts")}</OverlayTitle>
<OverlayTitle>{t("Seer's Thoughts")}</OverlayTitle>
{title && <InsightTitle>"{title.trim()}"</InsightTitle>}
</OverlayHeader>
<OverlayContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ function AutofixRootCauseDisplay({
: null
}
isAgentComment
blockName={t('Autofix is uncertain of the root cause...')}
blockName={t('Seer is uncertain of the root cause...')}
/>
)}
</AnimatePresence>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function AutofixSetupWriteAccessModal({
return (
<div id="autofix-write-access-modal">
<Header closeButton>
<h3>{t('Allow Autofix to Make Pull Requests')}</h3>
<h3>{t('Allow Seer to Make Pull Requests')}</h3>
</Header>
<Body>
<Content groupId={groupId} closeModal={closeModal} />
Expand All @@ -122,7 +122,7 @@ export function AutofixSetupWriteAccessModal({
external
priority="primary"
>
{t('Install the Autofix GitHub App')}
{t('Install the Seer GitHub App')}
</LinkButton>
</ButtonBar>
</Footer>
Expand Down
6 changes: 3 additions & 3 deletions static/app/components/events/autofix/autofixSolution.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -434,11 +434,11 @@ function AutofixSolutionDisplay({
title={
hasNoRepos
? t(
'You need to set up the GitHub integration and configure repository access for Autofix to write code for you.'
'You need to set up the GitHub integration and configure repository access for Seer to write code for you.'
)
: cantReadRepos
? t(
"We can't access any of your repos. Check your GitHub integration and configure repository access for Autofix to write code for you."
"We can't access any of your repos. Check your GitHub integration and configure repository access for Seer to write code for you."
)
: undefined
}
Expand Down Expand Up @@ -472,7 +472,7 @@ function AutofixSolutionDisplay({
: null
}
isAgentComment
blockName={t('Autofix is uncertain of the solution...')}
blockName={t('Seer is uncertain of the solution...')}
/>
)}
</AnimatePresence>
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/events/autofix/autofixStartBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function AutofixStartBox({onSend, groupId}: AutofixStartBoxProps) {
}
analyticsParams={{group_id: groupId}}
>
{t('Start Autofix')}
{t('Start Seer')}
Copy link
Member

@roaga roaga May 16, 2025

Choose a reason for hiding this comment

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

Now that summary and scanner are all part of Seer, wonder if this should be something like "Start Analysis". This is fine though

</StyledButton>
</InputWrapper>
</Container>
Expand Down
8 changes: 4 additions & 4 deletions static/app/components/events/autofix/autofixSteps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,19 +174,19 @@ export function AutofixSteps({data, groupId, runId}: AutofixStepsProps) {
errorMessage.toLowerCase().includes('tokens')
) {
customErrorMessage = t(
"Autofix worked so hard that it couldn't fit all its findings in its own memory. Please try again."
"Seer worked so hard that it couldn't fit all its findings in its own memory. Please try again."
);
} else if (errorMessage.toLowerCase().includes('iterations')) {
customErrorMessage = t(
'Autofix was taking a ton of iterations, so we pulled the plug out of fear it might go rogue. Please try again.'
'Seer was taking a ton of iterations, so we pulled the plug out of fear it might go rogue. Please try again.'
);
} else if (errorMessage.toLowerCase().includes('timeout')) {
customErrorMessage = t(
'Autofix was taking way too long, so we pulled the plug to put it out of its misery. Please try again.'
'Seer was taking way too long, so we pulled the plug to turn it off and on again. Please try again.'
);
} else {
customErrorMessage = t(
"Oops, Autofix went kaput. We've dispatched Autofix to fix Autofix. In the meantime, try again?"
"Oops, Seer went kaput. We've dispatched Seer to fix Seer. In the meantime, try again?"
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export function SeerDrawer({group, project, event}: SeerDrawerProps) {
</SeerDrawerHeader>
<SeerDrawerNavigator>
<Flex align="center" gap={space(1)}>
<Header>{t('Autofix')}</Header>
<Header>{t('Seer')}</Header>
Copy link
Member

Choose a reason for hiding this comment

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

Should it say Seer or Issue Fix or something else describing the feature inside this drawer?

Copy link
Contributor

Choose a reason for hiding this comment

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

Either works. The flyover is opened when you click on a button inside a box called "Seer", so there's a "link" (visually) there. I think "Seer" is fine here.

<FeatureBadge
type="beta"
tooltipProps={{
Expand Down Expand Up @@ -234,8 +234,8 @@ export function SeerDrawer({group, project, event}: SeerDrawerProps) {
<LinkButton
to={`/settings/${organization.slug}/projects/${project.slug}/seer/`}
size="xs"
title={t('Project Settings for Autofix')}
aria-label={t('Project Settings for Autofix')}
title={t('Project Settings for Seer')}
aria-label={t('Project Settings for Seer')}
icon={<IconSettings />}
/>
</Feature>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ function GithubIntegrationSetupCard() {
<CardTitle>{t('Set Up the GitHub Integration')}</CardTitle>
<CardDescription>
<span>
{tct('Autofix is [bold:a lot better] when it has your codebase as context.', {
{tct('Seer is [bold:a lot better] when it has your codebase as context.', {
bold: <b />,
})}
</span>
<span>
{tct(
'Set up the [integrationLink:GitHub Integration] to allow Autofix to go deeper when troubleshooting and fixing your issues–including writing the code and opening PRs.',
'Set up the [integrationLink:GitHub Integration] to allow Seer to go deeper when troubleshooting and fixing your issues–including writing the code and opening PRs.',
{
integrationLink: (
<ExternalLink
Expand Down Expand Up @@ -67,13 +67,13 @@ function SelectReposCard() {
<CardTitle>{t('Pick Repositories to Work In')}</CardTitle>
<CardDescription>
<span>
{tct('Autofix is [bold:a lot better] when it has your codebase as context.', {
{tct('Seer is [bold:a lot better] when it has your codebase as context.', {
bold: <b />,
})}
</span>
<span>
{tct(
'Select the repos Autofix can explore in this project to allow it to go deeper when troubleshooting and fixing your issues–including writing the code and opening PRs.',
'Select the repos Seer can explore in this project to allow it to go deeper when troubleshooting and fixing your issues–including writing the code and opening PRs.',
{
integrationLink: (
<ExternalLink
Expand All @@ -85,7 +85,7 @@ function SelectReposCard() {
</span>
<span>
{t(
'You can also configure working branches and custom instructions so Autofix acts just how you like.'
'You can also configure working branches and custom instructions so Seer acts just how you like.'
)}
</span>
<span>
Expand Down Expand Up @@ -134,7 +134,7 @@ export function SeerNotices({groupId, hasGithubIntegration, project}: SeerNotice

notices.push(
<Alert type="warning" showIcon key="multiple-repos">
{tct("Autofix can't access these repositories: [repoList].", {
{tct("Seer can't access these repositories: [repoList].", {
repoList: <b>{unreadableRepos.map(repo => repo.name).join(', ')}</b>,
})}
{githubRepos.length > 0 && (
Expand All @@ -153,10 +153,7 @@ export function SeerNotices({groupId, hasGithubIntegration, project}: SeerNotice
</Fragment>
)}
{nonGithubRepos.length > 0 && (
<Fragment>
{' '}
Copy link
Member

Choose a reason for hiding this comment

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

Was this space here doing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

bc89939 looks like the automated linter is doing it

Copy link
Member

Choose a reason for hiding this comment

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

ok that's fine

{t('Autofix currently only supports GitHub repositories.')}
</Fragment>
<Fragment> {t('Seer currently only supports GitHub repositories.')}</Fragment>
)}
</Alert>
);
Expand All @@ -166,7 +163,7 @@ export function SeerNotices({groupId, hasGithubIntegration, project}: SeerNotice
<Alert type="warning" showIcon key="single-repo">
{unreadableRepo.provider.includes('github')
? tct(
"Autofix can't access the [repo] repository, make sure the [integrationLink:GitHub integration] is correctly set up.",
"Seer can't access the [repo] repository, make sure the [integrationLink:GitHub integration] is correctly set up.",
{
repo: <b>{unreadableRepo.name}</b>,
integrationLink: (
Expand All @@ -177,7 +174,7 @@ export function SeerNotices({groupId, hasGithubIntegration, project}: SeerNotice
}
)
: tct(
"Autofix can't access the [repo] repository. It currently only supports GitHub repositories.",
"Seer can't access the [repo] repository. It currently only supports GitHub repositories.",
{repo: <b>{unreadableRepo.name}</b>}
)}
</Alert>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ export function SeerSectionCtaButton({
);
if (prevProcessingStep && prevProcessingStep.status !== AutofixStatus.COMPLETED) {
if (currentSteps.some(step => step.type === AutofixStepType.CHANGES)) {
addSuccessMessage(t('Autofix has finished coding.'));
addSuccessMessage(t('Seer has finished coding.'));
} else if (currentSteps.some(step => step.type === AutofixStepType.SOLUTION)) {
addSuccessMessage(t('Autofix has found a solution.'));
addSuccessMessage(t('Seer has found a solution.'));
} else if (
currentSteps.some(step => step.type === AutofixStepType.ROOT_CAUSE_ANALYSIS)
) {
addSuccessMessage(t('Autofix has found the root cause.'));
addSuccessMessage(t('Seer has found the root cause.'));
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export function AddAutofixRepoModalContent({
<Body>
{showMaxLimitAlert && (
<Alert type="info" showIcon>
{t('Autofix is currently limited to %s repositories.', maxReposLimit)}
{t('Seer is currently limited to %s repositories.', maxReposLimit)}
</Alert>
)}
<SearchContainer hasAlert={showMaxLimitAlert}>
Expand Down
8 changes: 4 additions & 4 deletions static/app/views/settings/projectSeer/autofixRepoItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ export function AutofixRepoItem({repo, onRemove, settings, onSettingsChange}: Pr
<div>
<SettingsGroup>
<BranchInputLabel>
{t('Branch that Autofix works on')}
{t('Branch that Seer works on')}
<QuestionTooltip
title={t(
'Optionally provide a specific branch that Autofix will work on. If left blank, Autofix will use the default branch of the repository.'
'Optionally provide a specific branch that Seer will work on. If left blank, Seer will use the default branch of the repository.'
)}
size="sm"
/>
Expand Down Expand Up @@ -144,12 +144,12 @@ export function AutofixRepoItem({repo, onRemove, settings, onSettingsChange}: Pr
</SettingsGroup>

<SettingsGroup>
<BranchInputLabel>{t('Instructions for Autofix')}</BranchInputLabel>
<BranchInputLabel>{t('Instructions for Seer')}</BranchInputLabel>
<StyledTextArea
value={instructionsValue}
onChange={handleInstructionsChange}
placeholder={t(
'Any special instructions for Autofix in this repository...'
'Any special instructions for Seer in this repository...'
)}
rows={3}
/>
Expand Down
4 changes: 2 additions & 2 deletions static/app/views/settings/projectSeer/autofixRepositories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export function AutofixRepositories({project}: ProjectSeerProps) {
{t('Autofix Repositories')}
<QuestionTooltip
title={t(
'Below are the repositories that Autofix will work on. Autofix will only be able to see code from and make PRs to the repositories that you select here.'
'Below are the repositories that Seer will work on. Seer will only be able to see code from and make PRs to the repositories that you select here.'
)}
size="sm"
/>
Expand All @@ -225,7 +225,7 @@ export function AutofixRepositories({project}: ProjectSeerProps) {
{showSaveNotice && (
<Alert type="info" showIcon system>
{t(
'Changes will apply on the next Autofix run or hit "Start Over" in the Autofix panel to start a new run and use your changes.'
'Changes will apply on the next Seer run or hit "Start Over" in the Seer panel to start a new run and use your changes.'
)}
</Alert>
)}
Expand Down
Loading