Skip to content

feat(autofix): add section retry controls - #121267

Draft
malwilley wants to merge 2 commits into
masterfrom
malwilley/autofix-section-retry
Draft

feat(autofix): add section retry controls#121267
malwilley wants to merge 2 commits into
masterfrom
malwilley/autofix-section-retry

Conversation

@malwilley

Copy link
Copy Markdown
Member

Closes ISWF-3151

Issue preview sections now have a restart button which displays a prompt, similar to the autofix drawer.

While making this change, also refactored the sections so that they all reside in their own file.

CleanShot 2026-08-04 at 16 22 50

@linear-code

linear-code Bot commented Aug 4, 2026

Copy link
Copy Markdown

ISWF-3151

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 4, 2026
<TextArea
autosize
rows={2}
autoFocus

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the only change to a common component, and I think it's better this way (the prompt only shows when the user clicks the retry button so it should autofocus)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Since everything is split into different files, this is the common styling for each section

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Each section needs to display/hide the retry prompt with a button that is located separately, so I added a reusable context and components consuming that context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant