Skip to content

Commit

Permalink
Github comment feedback
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
  • Loading branch information
ashwin-pc and joshuarrrr committed Sep 7, 2022
1 parent 240cc1e commit e8b4899
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/plugins/wizard/public/application/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@

$osdHeaderOffset: $euiHeaderHeightCompensation;
$wizLeftNavWidth: 462px;
$wizRightNavWidth: 320px;
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const RightNav = () => {
<p>
<FormattedMessage
id="wizard.rightNav.changeVisType.modalDescription"
defaultMessage="Currently, changing the visualization type clears the existing selection of fields. Are you sure you want to change the visualization type?"
defaultMessage="Changing the visualization type will reset all field selections. Are you sure you want to continue?"
/>
</p>
</EuiConfirmModal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const getAggExpressionFunctions = async (visualization: VisualizationStat

const indexPatternsService = getIndexPatterns();
const indexPattern = await indexPatternsService.get(indexId);
// aggConfigParams is the serealizeable aggConfigs that need to be reconstructed here using the agg servce
const aggConfigs = getAggService().createAggConfigs(indexPattern, cloneDeep(aggConfigParams));

const opensearchDashboards = buildExpressionFunction<ExpressionFunctionOpenSearchDashboards>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const createHistogramConfig = (): VisualizationTypeOptions<HistogramOptio
}),
min: 1,
max: 3,
aggFilter: ['!geo_centroid', '!geo_bounds'], // '!geo_centroid', '!geo_bounds'
aggFilter: ['!geo_centroid', '!geo_bounds'],
defaults: { aggTypes: ['median'] },
},
{
Expand Down

0 comments on commit e8b4899

Please sign in to comment.