We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c621644 commit 35f5c21Copy full SHA for 35f5c21
src/notebooks/deepnote/deepnoteBigNumberCellStatusBarProvider.ts
@@ -182,7 +182,10 @@ export class DeepnoteBigNumberCellStatusBarProvider
182
let comparisonText: string;
183
if (comparisonEnabled && comparisonType && comparisonValue) {
184
const comparisonTypeLabel = comparisonType === 'percentage-change' ? '% change' : 'vs';
185
- comparisonText = `Comparison: ${comparisonTypeLabel} ${comparisonValue}`;
+ const comparisonTitle = (metadata?.deepnote_big_number_comparison_title as string) || '';
186
+ comparisonText = `Comparison: ${comparisonTypeLabel} ${
187
+ comparisonTitle ? `${comparisonTitle} (${comparisonValue})` : comparisonValue
188
+ }`;
189
} else {
190
comparisonText = 'Set up comparison';
191
}
0 commit comments