Logs: Add experimental table visualisation in Explore (#71120)

* add table visualisation for logs

* add `logsExploreTableVisualisation` feature flag

* add feature flag to visualisation switch

* fix english

* improve state when no data is present

* improve margin

* add missing prop to test

* add tests

* fix logs table height

* fix linting

* move visualisation toggle

* add field config overrides

* update tests

* fix explore test

* fix explore test

* add missing header and revert test changes

* use timefield from logsFrame.ts

* add TODO

* move to new file

* hide fields that should be hidden

* add test to hide fields

* remove unused lines
This commit is contained in:
Sven Grossmann
2023-07-12 15:52:42 +02:00
committed by GitHub
parent 26c6b753c3
commit 7e4e743a42
11 changed files with 650 additions and 118 deletions

View File

@@ -214,7 +214,9 @@ class LogsContainer extends PureComponent<LogsContainerProps> {
clearCache={() => clearCache(exploreId)}
eventBus={this.props.eventBus}
panelState={this.props.panelState}
logsFrames={this.props.logsFrames}
scrollElement={scrollElement}
range={range}
/>
</LogsCrossFadeTransition>
</>
@@ -258,6 +260,7 @@ function mapStateToProps(state: StoreState, { exploreId }: { exploreId: string }
absoluteRange,
logsVolume,
panelState,
logsFrames: item.queryResponse.logsFrames,
};
}