mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add unreported status
This commit is contained in:
parent
a147ab15c3
commit
8012fcd92b
3 changed files with 14 additions and 3 deletions
|
|
@ -47,6 +47,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
nativePercent: null,
|
nativePercent: null,
|
||||||
rosettaPercent: null,
|
rosettaPercent: null,
|
||||||
|
unreportedPercent: null,
|
||||||
unsupportedPercent: null
|
unsupportedPercent: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -70,6 +71,13 @@ export default {
|
||||||
percent: this.rosettaPercent,
|
percent: this.rosettaPercent,
|
||||||
verbiage: `run via Rosetta 2, `
|
verbiage: `run via Rosetta 2, `
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
textColor: 'text-orange-500',
|
||||||
|
bgColor: 'bg-orange-500',
|
||||||
|
emoji: '🔶',
|
||||||
|
percent: this.unreportedPercent,
|
||||||
|
verbiage: `are not yet reported, `
|
||||||
|
},
|
||||||
{
|
{
|
||||||
textColor: 'text-red',
|
textColor: 'text-red',
|
||||||
bgColor: 'bg-red',
|
bgColor: 'bg-red',
|
||||||
|
|
@ -113,7 +121,9 @@ export default {
|
||||||
|
|
||||||
this.nativePercent = Number((( totals['native'] / this.total ) * 100).toFixed(1))
|
this.nativePercent = Number((( totals['native'] / this.total ) * 100).toFixed(1))
|
||||||
this.rosettaPercent = Number((( totals['rosetta'] / this.total ) * 100).toFixed(1))
|
this.rosettaPercent = Number((( totals['rosetta'] / this.total ) * 100).toFixed(1))
|
||||||
this.unsupportedPercent = Number((100 - (this.nativePercent + this.rosettaPercent)).toFixed(1))
|
this.unreportedPercent = Number((( totals['unreported'] / this.total ) * 100).toFixed(1))
|
||||||
|
|
||||||
|
this.unsupportedPercent = Number((100 - (this.nativePercent + this.rosettaPercent + this.unreportedPercent)).toFixed(1))
|
||||||
|
|
||||||
// console.log('this.nativePercent', this.nativePercent)
|
// console.log('this.nativePercent', this.nativePercent)
|
||||||
// console.log('this.unsupportedPercent', this.unsupportedPercent)
|
// console.log('this.unsupportedPercent', this.unsupportedPercent)
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,6 @@ export default {
|
||||||
'✅': 'native',
|
'✅': 'native',
|
||||||
'✳️': 'rosetta',
|
'✳️': 'rosetta',
|
||||||
'⏹': 'no-in-progress',
|
'⏹': 'no-in-progress',
|
||||||
'🚫': 'no'
|
'🚫': 'no',
|
||||||
|
'🔶': 'unreported',
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ module.exports = {
|
||||||
'gold': 'rgb(255, 167, 102)',
|
'gold': 'rgb(255, 167, 102)',
|
||||||
// 'gold': 'rgb(222, 115, 90)',
|
// 'gold': 'rgb(222, 115, 90)',
|
||||||
|
|
||||||
'orange': 'rgb(222, 115, 90)',
|
// 'orange': '#ed8936',
|
||||||
|
|
||||||
'off_white': '#ecebe6',
|
'off_white': '#ecebe6',
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue