Skip to content

PM-4827: remove challenge editor attachments section#1717

Merged
jmgasper merged 1 commit intodevfrom
PM-4827
Apr 10, 2026
Merged

PM-4827: remove challenge editor attachments section#1717
jmgasper merged 1 commit intodevfrom
PM-4827

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

@jmgasper jmgasper commented Apr 10, 2026

What was broken
The challenge draft and read-only challenge editor still rendered an Attachments section even though that workflow is no longer relied on and is not behaving correctly.

Root cause
ChallengeEditorForm continued to mount the legacy attachments block in both editable and read-only layouts.

What was changed
Removed the Attachments section from ChallengeEditorForm so it no longer appears in the work app challenge editor.
Updated the existing challenge editor spec to assert the section is absent in both read-only ordering coverage and editable draft rendering.

Any added/updated tests
Updated ChallengeEditorForm.spec.tsx to verify the attachments heading is not rendered in read-only mode and that the mock attachments control is absent while editing a draft.


Open with Devin

What was broken
The challenge draft and read-only challenge editor still rendered an Attachments section even though that workflow is no longer relied on and is not behaving correctly.

Root cause
ChallengeEditorForm continued to mount the legacy attachments block in both editable and read-only layouts.

What was changed
Removed the Attachments section from ChallengeEditorForm so it no longer appears in the work app challenge editor.
Updated the existing challenge editor spec to assert the section is absent in both read-only ordering coverage and editable draft rendering.

Any added/updated tests
Updated ChallengeEditorForm.spec.tsx to verify the attachments heading is not rendered in read-only mode and that the mock attachments control is absent while editing a draft.
@jmgasper jmgasper requested a review from kkartunov as a code owner April 10, 2026 07:34
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@jmgasper jmgasper merged commit 204d739 into dev Apr 10, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant