Add folder uploads, add settings description, add metrics increase/decrease percentage

This commit is contained in:
Stef-00012 2025-03-29 13:39:24 +01:00
parent 274343a5cf
commit 27edb6730f
No known key found for this signature in database
GPG key ID: 28BE9A9E4EF0E6BF
30 changed files with 1270 additions and 225 deletions

View file

@ -154,3 +154,6 @@ export function getRippleColor(color: string, fraction = 0.4) {
return rgbaToHex(newRed, newGreen, newBlue);
}
export function getMetricsDifference(first: number, last: number): number {
return Math.round(((first - last) / last) * 100) || 0;
}