(ui): Rename TaskGroupsTable to AggregatingTasksTable

This commit is contained in:
Ken Hibino 2022-03-26 14:04:55 -07:00
parent db8b77591e
commit c13cba0d5d
2 changed files with 6 additions and 4 deletions

View File

@ -89,7 +89,9 @@ const columns: TableColumn[] = [
{ key: "actions", label: "Actions", align: "center" }, { key: "actions", label: "Actions", align: "center" },
]; ];
function TaskGroupsTable(props: Props & ConnectedProps<typeof connector>) { function AggregatingTasksTable(
props: Props & ConnectedProps<typeof connector>
) {
const [selectedGroup, setSelectedGroup] = React.useState<GroupInfo | null>( const [selectedGroup, setSelectedGroup] = React.useState<GroupInfo | null>(
null null
); );
@ -427,4 +429,4 @@ function Row(props: RowProps) {
); );
} }
export default connector(TaskGroupsTable); export default connector(AggregatingTasksTable);

View File

@ -12,7 +12,7 @@ import ScheduledTasksTable from "./ScheduledTasksTable";
import RetryTasksTable from "./RetryTasksTable"; import RetryTasksTable from "./RetryTasksTable";
import ArchivedTasksTable from "./ArchivedTasksTable"; import ArchivedTasksTable from "./ArchivedTasksTable";
import CompletedTasksTable from "./CompletedTasksTable"; import CompletedTasksTable from "./CompletedTasksTable";
import TaskGroupsTable from "./TaskGroupsTable"; import AggregatingTasksTable from "./AggregatingTasksTable";
import { useHistory } from "react-router-dom"; import { useHistory } from "react-router-dom";
import { queueDetailsPath, taskDetailsPath } from "../paths"; import { queueDetailsPath, taskDetailsPath } from "../paths";
import { QueueInfo } from "../reducers/queuesReducer"; import { QueueInfo } from "../reducers/queuesReducer";
@ -229,7 +229,7 @@ function TasksTable(props: Props & ReduxProps) {
/> />
</TabPanel> </TabPanel>
<TabPanel value="aggregating" selected={props.selected}> <TabPanel value="aggregating" selected={props.selected}>
<TaskGroupsTable queue={props.queue} /> <AggregatingTasksTable queue={props.queue} />
</TabPanel> </TabPanel>
<TabPanel value="scheduled" selected={props.selected}> <TabPanel value="scheduled" selected={props.selected}>
<ScheduledTasksTable <ScheduledTasksTable