File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
keep-ui/app/(keep)/mapping/[rule_id]/executions Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,10 @@ import {
20
20
ArrowRightIcon ,
21
21
ChevronDownIcon ,
22
22
ChevronUpIcon ,
23
+ QuestionMarkCircleIcon ,
23
24
} from "@heroicons/react/16/solid" ;
24
25
import { useMappingRule , useMappings } from "@/utils/hooks/useMappingRules" ;
26
+ import { Tooltip } from "@/shared/ui/Tooltip" ;
25
27
26
28
interface Pagination {
27
29
limit : number ;
@@ -80,7 +82,17 @@ export default function MappingExecutionsPage(props: {
80
82
className = "flex justify-between items-center cursor-pointer"
81
83
onClick = { ( ) => setIsDataPreviewExpanded ( ! isDataPreviewExpanded ) }
82
84
>
83
- < Title > Data Preview</ Title >
85
+ < Title >
86
+ Data Preview
87
+ < Tooltip
88
+ content = {
89
+ < > The data preview shows the first 20 rows of the data.</ >
90
+ }
91
+ className = "z-50"
92
+ >
93
+ < QuestionMarkCircleIcon className = "w-4 h-4 ml-1 text-gray-400" />
94
+ </ Tooltip >
95
+ </ Title >
84
96
< Icon
85
97
icon = { isDataPreviewExpanded ? ChevronUpIcon : ChevronDownIcon }
86
98
color = "gray"
@@ -98,7 +110,7 @@ export default function MappingExecutionsPage(props: {
98
110
</ TableRow >
99
111
</ TableHead >
100
112
< TableBody >
101
- { rule . rows . slice ( 0 , 5 ) . map ( ( row , idx ) => (
113
+ { rule . rows . slice ( 0 , 20 ) . map ( ( row , idx ) => (
102
114
< TableRow key = { idx } >
103
115
{ Object . values ( row ) . map ( ( value : any , valueIdx ) => (
104
116
< TableCell key = { valueIdx } >
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " keep"
3
- version = " 0.41.14 "
3
+ version = " 0.41.15 "
4
4
description = " Alerting. for developers, by developers."
5
5
authors = [" Keep Alerting LTD" ]
6
6
packages = [{include = " keep" }]
You can’t perform that action at this time.
0 commit comments