{row.getVisibleCells().map((cell) => {
return (
diff --git a/app/src/pages/examples/ExampleSelectionToolbar.tsx b/app/src/pages/examples/ExampleSelectionToolbar.tsx
index c3554b6342..54d1c3d775 100644
--- a/app/src/pages/examples/ExampleSelectionToolbar.tsx
+++ b/app/src/pages/examples/ExampleSelectionToolbar.tsx
@@ -3,7 +3,6 @@ import { graphql, useMutation } from "react-relay";
import { css } from "@emotion/react";
import {
- Button,
DialogContainer,
Flex,
Icon,
@@ -12,6 +11,7 @@ import {
View,
} from "@arizeai/components";
+import { Button } from "@phoenix/components";
import { useNotifyError, useNotifySuccess } from "@phoenix/contexts";
import { useDatasetContext } from "@phoenix/contexts/DatasetContext";
@@ -104,16 +104,25 @@ export function ExampleSelectionToolbar(props: ExampleSelectionToolbarProps) {
>
{`${selectedExamples.length} example${isPlural ? "s" : ""} selected`}
-
);
}
diff --git a/app/src/pages/playground/PlaygroundChatTemplate.tsx b/app/src/pages/playground/PlaygroundChatTemplate.tsx
index 49cee0d59f..0c12bcd573 100644
--- a/app/src/pages/playground/PlaygroundChatTemplate.tsx
+++ b/app/src/pages/playground/PlaygroundChatTemplate.tsx
@@ -16,7 +16,6 @@ import { CSS } from "@dnd-kit/utilities";
import { css } from "@emotion/react";
import {
- Button,
Card,
Field,
Flex,
@@ -27,7 +26,7 @@ import {
View,
} from "@arizeai/components";
-import { CopyToClipboardButton } from "@phoenix/components";
+import { Button, CopyToClipboardButton } from "@phoenix/components";
import { CodeWrap, JSONEditor } from "@phoenix/components/code";
import { DragHandle } from "@phoenix/components/dnd/DragHandle";
import { TemplateEditor } from "@phoenix/components/templateEditor";
@@ -453,9 +452,8 @@ function SortableMessageItem({
} />}
- variant="default"
- size="compact"
- onClick={() => {
+ size="S"
+ onPress={() => {
updateInstance({
instanceId: playgroundInstanceId,
patch: {
diff --git a/app/src/pages/playground/PlaygroundChatTemplateFooter.tsx b/app/src/pages/playground/PlaygroundChatTemplateFooter.tsx
index 258067b2de..d37dc1364f 100644
--- a/app/src/pages/playground/PlaygroundChatTemplateFooter.tsx
+++ b/app/src/pages/playground/PlaygroundChatTemplateFooter.tsx
@@ -1,7 +1,8 @@
import React from "react";
-import { Button, Flex, Icon, Icons } from "@arizeai/components";
+import { Flex, Icon, Icons } from "@arizeai/components";
+import { Button } from "@phoenix/components";
import { usePlaygroundContext } from "@phoenix/contexts/PlaygroundContext";
import {
createOpenAIResponseFormat,
@@ -71,12 +72,11 @@ export function PlaygroundChatTemplateFooter({
>
{supportsResponseFormat ? (
} />}
- disabled={hasResponseFormat}
- onClick={() => {
+ isDisabled={hasResponseFormat}
+ onPress={() => {
upsertInvocationParameterInput({
instanceId,
invocationParameterInput: {
@@ -92,11 +92,10 @@ export function PlaygroundChatTemplateFooter({
) : null}
{supportsToolChoice ? (
} />}
- onClick={() => {
+ onPress={() => {
const patch: Partial = {
tools: [
...playgroundInstance.tools,
@@ -127,11 +126,10 @@ export function PlaygroundChatTemplateFooter({
) : null}
} />}
- onClick={() => {
+ onPress={() => {
updateInstance({
instanceId,
patch: {
|