Skip to content

fix(aci): Fix bug with github action settings#112742

Merged
saponifi3d merged 5 commits intomasterfrom
jcallender/aci/iswf-851
Apr 10, 2026
Merged

fix(aci): Fix bug with github action settings#112742
saponifi3d merged 5 commits intomasterfrom
jcallender/aci/iswf-851

Conversation

@saponifi3d
Copy link
Copy Markdown
Contributor

Description

This PR will fix an issue where github settings weren't showing up in the form component.

Screen.Recording.2026-04-10.at.1.48.39.PM.mov

Fixes ISWF-851

@linear-code
Copy link
Copy Markdown

linear-code bot commented Apr 10, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 10, 2026
@saponifi3d saponifi3d requested a review from malwilley April 10, 2026 21:25
@saponifi3d saponifi3d marked this pull request as ready for review April 10, 2026 21:25
@saponifi3d saponifi3d requested a review from a team as a code owner April 10, 2026 21:25
Copy link
Copy Markdown
Member

@malwilley malwilley left a comment

Choose a reason for hiding this comment

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

Have a comment about the test, but application code looks good 👍

import {TicketActionSettingsButton} from 'sentry/views/automations/components/actions/ticketActionSettingsButton';
import {AutomationFormProvider} from 'sentry/views/automations/components/forms/context';

jest.mock('sentry/actionCreators/modal');
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Instead of mocking openModal(), you can use renderGlobalModal() and then you can test everything without mocks. If possible, that would be a more robust test case

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks! i didn't really like the way it was depending on that; let me know whatcha think of this update with renderGlobalModal

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

much better! 🙌

@saponifi3d saponifi3d enabled auto-merge (squash) April 10, 2026 22:24
@saponifi3d saponifi3d merged commit c69ad97 into master Apr 10, 2026
64 checks passed
@saponifi3d saponifi3d deleted the jcallender/aci/iswf-851 branch April 10, 2026 22:28
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.

2 participants