Skip to content

Commit

Permalink
--wip--
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 committed Jan 12, 2024
1 parent a814add commit 57537db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/components/event_analytics/redux/slices/query_slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
SELECTED_PATTERN_FIELD,
SELECTED_TIMESTAMP,
} from '../../../../../common/constants/explorer';
import { coreRefs } from '../../../../framework/core_refs';
import { initialTabId } from '../../../../framework/redux/store/shared_state';

const initialQueryState = {
Expand All @@ -31,6 +32,8 @@ const initialQueryState = {
[SELECTED_DATE_RANGE]: ['now-40y', 'now'],
[OLLY_QUERY_ASSISTANT]: '',
};
console.log('❗initialQueryState:', initialQueryState);
console.log('❗coreRefs:', coreRefs);

const appBaseQueryState = {
[RAW_QUERY]: '',
Expand Down
1 change: 1 addition & 0 deletions public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ export class ObservabilityPlugin
coreRefs.application = core.application;
coreRefs.dashboard = startDeps.dashboard;
coreRefs.queryAssistEnabled = this.config.query_assist.enabled;
console.log('❗coreRefs initialized');

const { dataSourceService, dataSourceFactory } = startDeps.data.dataSources;

Expand Down

0 comments on commit 57537db

Please sign in to comment.