Skip to content

Commit 281e63d

Browse files
committed
fix(autofix-request-card): simplify animated-if usage and reorder overlays
Replace animated-if with plain if for in_progress status to avoid issues with animation behavior. Reorganize BlurredOverlay sections for better clarity: show explanation markdown with overlay first, then animate the display of changed files with their overlay. Update button labels and spacing to improve user experience when showing explanations and fixed code. These changes fix UI glitches and enhance code readability.
1 parent b040cee commit 281e63d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/components/course-page/test-results-bar/autofix-request-card.hbs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
{{/if}}
1919
{{/animated-value}}
2020

21-
{{#animated-if (eq @autofixRequest.status "in_progress") use=this.transition duration=200}}
21+
{{! Investigate issue with animated-if usage here }}
22+
{{#if (eq @autofixRequest.status "in_progress")}}
2223
<CoursePage::TestResultsBar::AutofixRequestCard::LogstreamSection class="mt-3" @autofixRequest={{@autofixRequest}} />
2324
{{else}}
2425
<div>
@@ -69,6 +70,6 @@
6970
</BlurredOverlay>
7071
{{/animated-if}}
7172
</div>
72-
{{/animated-if}}
73+
{{/if}}
7374
</AnimatedContainer>
7475
</div>

0 commit comments

Comments
 (0)