Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
np
2020
np-ss20-project-visualizer
Commits
c58bb0af
Commit
c58bb0af
authored
Aug 24, 2020
by
Felix Freiberger
Browse files
Show truly private flags.
parent
5cd39906
Pipeline
#23485
passed with stages
in 1 minute and 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/apiTypes.ts
View file @
c58bb0af
...
...
@@ -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
;
...
...
src/pages/leaderboard/LeaderboardPage.tsx
View file @
c58bb0af
...
...
@@ -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
>
))
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment