Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<span class="text-xs font-semibold leading-5 text-gray-700">Private</span>
<EmberTooltip @text="This solution is only visible to users within your team." />
</div>
{{else if (and (eq @solution.flakinessCheckStatus "failure") (current-user-is-staff))}}
<Pill @color="yellow" ...attributes>
Flaky

<EmberTooltip @text="This solution failed tests when run multiple times in a row, so it might not be reliable." />
</Pill>
{{else if @solution.isPinned}}
<Pill @color="green" ...attributes>
Editor's choice
Expand Down
1 change: 1 addition & 0 deletions app/models/community-course-stage-solution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default class CommunityCourseStageSolutionModel extends Model.extend(View
@attr('number') declare approvedCommentsCount: number;
@attr('string') declare explanationMarkdown: string;
@attr('string') declare commitSha: string;
@attr('string') declare flakinessCheckStatus: 'pending' | 'success' | 'failure' | 'error';
@attr('string') declare githubRepositoryName: string;
@attr('boolean') declare githubRepositoryIsPrivate: boolean;
@attr('boolean') declare isPinned: boolean;
Expand Down
Loading