Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test set drawer checkpoint-2 #2373

Merged
merged 19 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
1159897
refactor(frontend): divided code into different parts for better read…
ashrafchowdury Dec 12, 2024
0908e2c
enhance(frontend): dynamically importing the testset drawer
ashrafchowdury Dec 12, 2024
b299377
feat(forntend): made the span data editable
ashrafchowdury Dec 13, 2024
61620f6
feat(frontend): added auto map column names
ashrafchowdury Dec 13, 2024
bad0fff
enhance(frontend): added confirmation modal for adding new columns
ashrafchowdury Dec 15, 2024
7108890
feat(frontend): memorized last used configurations
ashrafchowdury Dec 16, 2024
d043d39
fix(frontend): editor data updates
ashrafchowdury Dec 16, 2024
fd7eede
fix(frontend): editor code update in yaml format
ashrafchowdury Dec 16, 2024
75cdabb
enhance(frontend): improved code performance
ashrafchowdury Dec 17, 2024
1e76c21
fix(frontend): confirm modal UI
ashrafchowdury Dec 17, 2024
c211190
Merge branch 'dev' of https://github.com/Agenta-AI/agenta into feat/t…
ashrafchowdury Dec 18, 2024
d52e98f
fix(frontend): added auto-complete on the column input
ashrafchowdury Dec 18, 2024
a2b6e2b
enhance(frontend): added spans different structures warning message
ashrafchowdury Dec 19, 2024
3b68d35
Merge branch 'dev' of https://github.com/Agenta-AI/agenta into feat/t…
ashrafchowdury Dec 20, 2024
ebeea8f
enhance(frontend): added support for duplicate columns
ashrafchowdury Dec 20, 2024
edd6b06
Merge branch dev of https://github.com/Agenta-AI/agenta int
ashrafchowdury Dec 20, 2024
a3d30b8
fix(frontend): type
ashrafchowdury Dec 23, 2024
33de4e4
enhance(frontend): added a new hook to replace useUpdateEffect hook
ashrafchowdury Dec 23, 2024
784a7bb
resolved merge conflict
ashrafchowdury Dec 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {dynamicComponent} from "@/lib/helpers/dynamic"
import EmptyComponent from "@/components/EmptyComponent"
import GenericDrawer from "@/components/GenericDrawer"
import {nodeTypeStyles} from "./components/AvatarTreeContent"
Expand Down Expand Up @@ -41,7 +42,10 @@ import {convertToCsv, downloadCsv} from "@/lib/helpers/fileManipulations"
import {useUpdateEffect} from "usehooks-ts"
import {getStringOrJson} from "@/lib/helpers/utils"
import ObservabilityContextProvider, {useObservabilityData} from "@/contexts/observability.context"
import TestsetDrawer, {TestsetTraceData} from "./drawer/TestsetDrawer"
import {TestsetTraceData, TestsetDrawerProps} from "./drawer/TestsetDrawer/assets/types"
const TestsetDrawer = dynamicComponent<TestsetDrawerProps>(
"pages/observability/drawer/TestsetDrawer/TestsetDrawer",
)

const useStyles = createUseStyles((theme: JSSTheme) => ({
title: {
Expand Down Expand Up @@ -650,16 +654,14 @@ const ObservabilityDashboard = () => {
/>
</div>

{testsetDrawerData.length > 0 && (
<TestsetDrawer
open={testsetDrawerData.length > 0}
data={testsetDrawerData}
onClose={() => {
setTestsetDrawerData([])
setSelectedRowKeys([])
}}
/>
)}
<TestsetDrawer
open={testsetDrawerData.length > 0}
data={testsetDrawerData}
onClose={() => {
setTestsetDrawerData([])
setSelectedRowKeys([])
}}
/>

{activeTrace && !!traces?.length && (
<GenericDrawer
Expand Down
Loading