Commit c58bb0af authored by Felix Freiberger's avatar Felix Freiberger
Browse files

Show truly private flags.

parent 5cd39906
Pipeline #23485 passed with stages
in 1 minute and 43 seconds
......@@ -104,6 +104,11 @@ export type Speedups = {
multiCore: number;
}
export type PrivateProjectResults = {
ticksAudit: boolean;
oneWaySync: boolean;
}
export type PublicProjectResults = {
teamName: string;
projectName?: string;
......@@ -111,6 +116,7 @@ export type PublicProjectResults = {
currentlyRunning: boolean;
currentlyInQueue: boolean;
staleImage: boolean;
private?: PrivateProjectResults;
result: {
testCompleted: false
internalError: boolean;
......@@ -130,8 +136,6 @@ export type PublicProjectResults = {
correctnessOnlyFailsNeighborsTest: boolean;
independence: boolean;
ticks: boolean;
ticksAudit: boolean;
oneWaySync: boolean;
starship: boolean;
rocketSpeedup: Speedups | null;
starshipSpeedup: Speedups | null;
......
......@@ -372,12 +372,12 @@ const LeaderboardPage: React.FC<{}> = () => {
</OverlayTrigger>
</Fragment> : null }</td>
{ data.private ? <td>
{ record.result.testCompleted ?
{ record.result.testCompleted && record.result.correctness && record.private ?
<Fragment>
{ record.result.ticksAudit ? "🙂" : "😱"}
{ record.result.oneWaySync ? "" : ""}
{ record.private.ticksAudit ? "🙂" : "😱"}
{ record.private.oneWaySync ? "" : ""}
</Fragment>
: null}
: ""}
</td> : null}
</tr>
))}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment