Skip to content

Commit

Permalink
Merge pull request #775 from relative-ci/update-total-size-insights
Browse files Browse the repository at this point in the history
feat: Assets total size insights - use consistent shorter message
  • Loading branch information
vio authored Jun 13, 2020
2 parents 20be3c6 + 76c5d2a commit 3a38961
Show file tree
Hide file tree
Showing 13 changed files with 155 additions and 182 deletions.
32 changes: 16 additions & 16 deletions packages/html-templates/src/app/__snapshots__/stories.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ exports[`Storyshots StandaloneApp default 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -7095,8 +7095,8 @@ exports[`Storyshots StandaloneApp default 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -14196,8 +14196,8 @@ exports[`Storyshots StandaloneApp empty baseline 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size increased to *796.38KB* (*+100%*).",
"text": "Bundle size increased to 796.38KB (+100%).",
"md": "*Bundle Size* — *796.38KB* (*+100%*).",
"text": "Bundle Size — 796.38KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -21287,8 +21287,8 @@ exports[`Storyshots StandaloneApp multiple baselines 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size increased to *796.38KB* (*+32.22%*).",
"text": "Bundle size increased to 796.38KB (+32.22%).",
"md": "*Bundle Size* — *796.38KB* (*+32.22%*).",
"text": "Bundle Size — 796.38KB (+32.22%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -28357,8 +28357,8 @@ exports[`Storyshots StandaloneApp multiple baselines 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+32.73%*).",
"text": "Bundle size increased to 799.44KB (+32.73%).",
"md": "*Bundle Size* — *799.44KB* (*+32.73%*).",
"text": "Bundle Size — 799.44KB (+32.73%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -35427,8 +35427,8 @@ exports[`Storyshots StandaloneApp multiple baselines 1`] = `
"displayValue": "602.33KB",
"value": 616783,
},
"md": "Bundle size increased to *602.33KB* (*+100%*).",
"text": "Bundle size increased to 602.33KB (+100%).",
"md": "*Bundle Size* — *602.33KB* (*+100%*).",
"text": "Bundle Size — 602.33KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -36841,8 +36841,8 @@ exports[`Storyshots StandaloneApp no baseline 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -50962,8 +50962,8 @@ exports[`Storyshots StandaloneApp no insights 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ exports[`Storyshots Components/BundleAssetsTotalsChartBars component 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -7100,8 +7100,8 @@ exports[`Storyshots Components/BundleAssetsTotalsChartBars component 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -14192,8 +14192,8 @@ exports[`Storyshots Components/BundleAssetsTotalsChartBars empty baseline 1`] =
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size increased to *796.38KB* (*+100%*).",
"text": "Bundle size increased to 796.38KB (+100%).",
"md": "*Bundle Size* — *796.38KB* (*+100%*).",
"text": "Bundle Size — 796.38KB (+100%).",
},
"type": "INFO",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ exports[`Storyshots Components/BundleAssetsTotalsTable default 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -7120,8 +7120,8 @@ exports[`Storyshots Components/BundleAssetsTotalsTable empty baseline 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size increased to *796.38KB* (*+100%*).",
"text": "Bundle size increased to 796.38KB (+100%).",
"md": "*Bundle Size* — *796.38KB* (*+100%*).",
"text": "Bundle Size — 796.38KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -14216,8 +14216,8 @@ exports[`Storyshots Components/BundleAssetsTotalsTable multiple jobs 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -21288,8 +21288,8 @@ exports[`Storyshots Components/BundleAssetsTotalsTable multiple jobs 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ exports[`Storyshots Components/BundleAssets default 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -7118,8 +7118,8 @@ exports[`Storyshots Components/BundleAssets empty baseline 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size increased to *796.38KB* (*+100%*).",
"text": "Bundle size increased to 796.38KB (+100%).",
"md": "*Bundle Size* — *796.38KB* (*+100%*).",
"text": "Bundle Size — 796.38KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -14213,8 +14213,8 @@ exports[`Storyshots Components/BundleAssets empty filtered data 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -21155,8 +21155,8 @@ exports[`Storyshots Components/BundleAssets empty filtered data 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -28116,8 +28116,8 @@ exports[`Storyshots Components/BundleAssets multiple jobs 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -35188,8 +35188,8 @@ exports[`Storyshots Components/BundleAssets multiple jobs 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -42279,8 +42279,8 @@ exports[`Storyshots Components/BundleAssets no assets 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -49217,8 +49217,8 @@ exports[`Storyshots Components/BundleAssets no assets 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -56174,8 +56174,8 @@ exports[`Storyshots Components/BundleAssets not predictive 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -63117,8 +63117,8 @@ exports[`Storyshots Components/BundleAssets not predictive 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6962,8 +6962,8 @@ exports[`Storyshots Components/BundleChunkModules default 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -24186,8 +24186,8 @@ exports[`Storyshots Components/BundleChunkModules empty baseline 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size increased to *796.38KB* (*+100%*).",
"text": "Bundle size increased to 796.38KB (+100%).",
"md": "*Bundle Size* — *796.38KB* (*+100%*).",
"text": "Bundle Size — 796.38KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -31313,8 +31313,8 @@ exports[`Storyshots Components/BundleChunkModules empty filtered modules 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -38385,8 +38385,8 @@ exports[`Storyshots Components/BundleChunkModules empty filtered modules 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -45479,8 +45479,8 @@ exports[`Storyshots Components/BundleChunkModules empty modules 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -52551,8 +52551,8 @@ exports[`Storyshots Components/BundleChunkModules empty modules 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -71907,8 +71907,8 @@ exports[`Storyshots Components/BundleChunkModules multiple jobs 1`] = `
"displayValue": "796.38KB",
"value": 815490,
},
"md": "Bundle size decreased to *796.38KB* (*-0.38%*).",
"text": "Bundle size decreased to 796.38KB (-0.38%).",
"md": "*Bundle Size* — *796.38KB* (*-0.38%*).",
"text": "Bundle Size — 796.38KB (-0.38%).",
},
"type": "INFO",
},
Expand Down Expand Up @@ -78979,8 +78979,8 @@ exports[`Storyshots Components/BundleChunkModules multiple jobs 1`] = `
"displayValue": "799.44KB",
"value": 818626,
},
"md": "Bundle size increased to *799.44KB* (*+100%*).",
"text": "Bundle size increased to 799.44KB (+100%).",
"md": "*Bundle Size* — *799.44KB* (*+100%*).",
"text": "Bundle Size — 799.44KB (+100%).",
},
"type": "INFO",
},
Expand Down
Loading

0 comments on commit 3a38961

Please sign in to comment.