Skip to content

Commit

Permalink
feat(queryTracker): add search field to statistics tab in query track…
Browse files Browse the repository at this point in the history
…er [#301]
  • Loading branch information
vitshev committed Mar 27, 2024
1 parent 14a59b0 commit a6eacdf
Show file tree
Hide file tree
Showing 11 changed files with 298 additions and 531 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class ElementsTable extends Component {

rowClassName: PropTypes.func,
colSpan: PropTypes.func,
headerClassName: PropTypes.string,
};

static defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export interface ElementsTableHeaderProps {

itemHeight?: number;
selectedIndex?: number;
headerClassName?: string;
}

interface ColumnsItem {
Expand Down Expand Up @@ -137,6 +138,7 @@ export default class ElementsTableHeader extends Component<ElementsTableHeaderPr
itemHeight: PropTypes.number,
// ROW SELECTION
selectedIndex: PropTypes.number,
headerClassName: PropTypes.string,
};

constructor(props: ElementsTableHeaderProps) {
Expand Down Expand Up @@ -337,7 +339,7 @@ export default class ElementsTableHeader extends Component<ElementsTableHeaderPr
render() {
const {columnSet} = this.state;
const hasGroups = columnSet.hasGroups;
const headerClassName = b('head');
const headerClassName = b('head', this.props.headerClassName);

return hasGroups ? (
<thead className={headerClassName}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const QueryResults = React.memo(function QueryResults({
{category === QueryResultTab.META && <QueryMetaTable query={query} />}

<NotRenderUntilFirstVisible hide={category !== QueryResultTab.STATISTIC}>
<YQLStatisticsTable query={query} />
<YQLStatisticsTable />
</NotRenderUntilFirstVisible>
{category === QueryResultTab.PROGRESS && <PlanContainer isActive={true} />}
</div>
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit a6eacdf

Please sign in to comment.