Skip to content

Commit

Permalink
remove Flex and update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerHYang committed Oct 28, 2024
1 parent b1582b3 commit 93f4f00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ type Trace implements Node {
startTime: DateTime!
endTime: DateTime!
projectId: GlobalID!
projectSessionId: GlobalID!
projectSessionId: GlobalID
session: ProjectSession
rootSpan: Span
spans(first: Int = 50, last: Int, after: String, before: String): SpanConnection!
Expand Down
8 changes: 3 additions & 5 deletions app/src/pages/project/SessionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
} from "@tanstack/react-table";
import { css } from "@emotion/react";

import { Flex, Icon, Icons, View } from "@arizeai/components";
import { Icon, Icons, View } from "@arizeai/components";

import { selectableTableCSS } from "@phoenix/components/table/styles";
import { TimestampCell } from "@phoenix/components/table/TimestampCell";
Expand All @@ -43,7 +43,7 @@ type SessionsTableProps = {
const PAGE_SIZE = 50;

export function SessionsTable(props: SessionsTableProps) {
//we need a reference to the scrolling element for logic down below
// we need a reference to the scrolling element for pagination logic down below
const tableContainerRef = useRef<HTMLDivElement>(null);
const [sorting, setSorting] = useState<SortingState>([]);
const [filterCondition, setFilterCondition] = useState<string>("");
Expand Down Expand Up @@ -207,9 +207,7 @@ export function SessionsTable(props: SessionsTableProps) {
borderBottomWidth="thin"
flex="none"
>
<Flex direction="row" gap="size-100" width="100%" alignItems="center">
<SpanFilterConditionField onValidCondition={setFilterCondition} />
</Flex>
<SpanFilterConditionField onValidCondition={setFilterCondition} />
</View>
<div
css={css`
Expand Down

0 comments on commit 93f4f00

Please sign in to comment.