Skip to content

Commit

Permalink
Merge branch 'master' into feature/observability-exploratory-view-per…
Browse files Browse the repository at this point in the history
…centile-breakdowns
  • Loading branch information
kibanamachine authored Oct 11, 2021
2 parents b0c19b9 + 804da09 commit 8ca9002
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
10 changes: 10 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@
labels: ['Team:Operations', 'release_note:skip'],
enabled: true,
},
{
groupName: 'polyfills',
packageNames: ['core-js'],
matchPackagePatterns: ["polyfill"],
excludePackageNames: ['@loaders.gl/polyfills'],
reviewers: ['team:kibana-operations'],
matchBaseBranches: ['master'],
labels: ['Team:Operations', 'release_note:skip'],
enabled: true,
},
{
groupName: 'vega related modules',
packageNames: ['vega', 'vega-lite', 'vega-schema-url-parser', 'vega-tooltip'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { useState, useCallback } from 'react';
import { EuiTableSortingType } from '@elastic/eui';
import { euiTableStorageGetter, euiTableStorageSetter } from '../../components/table';
import { Storage } from '../../../../../../src/plugins/kibana_utils/public';
import { EUI_SORT_ASCENDING } from '../../../common/constants';

interface Pagination {
pageSize: number;
Expand Down Expand Up @@ -77,7 +78,9 @@ export function useTable(storageKey: string) {
);

// get initial state from localStorage
const [sorting, setSorting] = useState<Sorting>(storageData.sort || { sort: {} });
const [sorting, setSorting] = useState<Sorting>(
storageData.sort || { sort: { field: 'name', direction: EUI_SORT_ASCENDING } }
);

const [query, setQuery] = useState('');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const ItemTemplate: React.FC<ItemTemplateProps> = (props) => {
},
{
id: 'advanced',
testSubj: 'esItemDetailAdvancedLink',
label: i18n.translate('xpack.monitoring.esItemNavigation.advancedLinkText', {
defaultMessage: 'Advanced',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h1 class="euiTitle euiTitle--xsmall">{{pageTitle || monitoringMain.instance}}</
</a>
<a
ng-if="monitoringMain.instance && (monitoringMain.name === 'nodes' || monitoringMain.name === 'indices')"
data-test-subj="esNodeDetailAdvancedLink"
data-test-subj="esItemDetailAdvancedLink"
kbn-href="#/elasticsearch/{{ monitoringMain.name }}/{{ monitoringMain.resolver }}/advanced"
class="euiTab"
ng-class="{'euiTab-isSelected': monitoringMain.page === 'advanced'}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function MonitoringElasticsearchNodeDetailProvider({ getService }) {

return new (class ElasticsearchNodeDetail {
async clickAdvanced() {
return testSubjects.click('esNodeDetailAdvancedLink');
return testSubjects.click('esItemDetailAdvancedLink');
}

async getSummary() {
Expand Down

0 comments on commit 8ca9002

Please sign in to comment.