Explore: Add more meta information when line limit is hit (#33069)

* WIP: Add more info ro log line limit, remove redundant info

* Refactor

* Clean up

* Adjust tests

* Adjust spacing

* Add test for new functionality

* Update snapshot

* Change solution, simplify

* Remove redundant variables, makees it more clear

* Update public/app/core/logs_model.ts

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
This commit is contained in:
Ivana Huckova
2021-04-21 12:02:34 +02:00
committed by GitHub
parent 0463164f8c
commit 1c838f5872
6 changed files with 140 additions and 61 deletions

View File

@@ -452,7 +452,7 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
padding: ${theme.spacing.sm} ${theme.spacing.md};
border-radius: ${theme.border.radius.md};
margin: ${theme.spacing.md} 0 ${theme.spacing.sm};
border: 1px solid ${theme.colors.panelBorder};
border: 1px solid ${theme.colors.border2};
`,
flipButton: css`
margin: ${theme.spacing.xs} 0 0 ${theme.spacing.sm};