Skip to content
Merged
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 @@ -11,7 +11,7 @@ export function getAppSizeCategoryInfo(
return color(baseColor).alpha(0.6).string();
};

const colorPalette = theme.chart.getColorPalette(6);
const colorPalette = theme.chart.getColorPalette(7);

const neutralColor = 'hsla(270, 20%, 50%, 0.5)';
const groupColor1 = colorPalette[0];
Expand All @@ -20,6 +20,7 @@ export function getAppSizeCategoryInfo(
const groupColor4 = colorPalette[3];
const groupColor5 = colorPalette[4];
const groupColor6 = colorPalette[5];
const groupColor7 = colorPalette[6];

return {
[TreemapType.FILES]: {
Expand Down Expand Up @@ -157,5 +158,10 @@ export function getAppSizeCategoryInfo(
headerColor: createHeaderColor(groupColor1),
displayName: t('Code Signature'),
},
[TreemapType.AUDIO]: {
color: groupColor7,
headerColor: createHeaderColor(groupColor7),
displayName: t('Audio'),
},
};
}
1 change: 1 addition & 0 deletions static/app/views/preprod/types/appSizeTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export enum TreemapType {
MANIFESTS = 'manifests',
SIGNATURES = 'signatures',
FONTS = 'fonts',
AUDIO = 'audio',

// iOS-specific categories
FRAMEWORKS = 'frameworks',
Expand Down
Loading