mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Cases] Case details UI KPI metrics (#119463)
* Working lifespan metrics api * new case metrics container and api call * Adding remaining metrics handlers and some tests * Fixing jest snapshot * Switch to kbn archiver * tests added, case view page refactor * test for metrics component added * fix type * fix responsivenes on small screens * type fixes * use new features prop for case metrics * test fixed * fix CasesFeatures type * integration test fix * changes and suggestions * metrics features implementation and connectors type Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
ce153c597d
commit
52a9d60e3b
33 changed files with 1806 additions and 1131 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
import React, { memo, useMemo, useCallback } from 'react';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { CaseStatuses, StatusAll, CasesContextValue } from '../../../../../../cases/common';
|
||||
import { CaseStatuses, StatusAll, CasesFeatures } from '../../../../../../cases/common';
|
||||
import { TimelineItem } from '../../../../../common/search_strategy';
|
||||
import { useAddToCase, normalizedEventFields } from '../../../../hooks/use_add_to_case';
|
||||
import { useKibana } from '../../../../../../../../src/plugins/kibana_react/public';
|
||||
|
@ -24,7 +24,7 @@ export interface AddToCaseActionProps {
|
|||
appId: string;
|
||||
owner: string;
|
||||
onClose?: Function;
|
||||
casesFeatures?: CasesContextValue['features'];
|
||||
casesFeatures?: CasesFeatures;
|
||||
}
|
||||
|
||||
const AddToCaseActionComponent: React.FC<AddToCaseActionProps> = ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue