MCPcopy Create free account
hub / github.com/experdot/pointer / getTaskIcon

Function getTaskIcon

src/renderer/src/utils/taskDisplayHelpers.tsx:13–27  ·  view source on GitHub ↗
(type: AITaskType)

Source from the content-addressed store, hash-verified

11import type { AITaskStatus, AITaskType } from '../types/type'
12
13export const getTaskIcon = (type: AITaskType) => {
14 switch (type) {
15 case 'chat':
16 case 'retry':
17 case 'edit_resend':
18 case 'model_change':
19 return <MessageOutlined />
20 case 'crosstab_cell':
21 return <TableOutlined />
22 case 'object_generation':
23 return <BulbOutlined />
24 default:
25 return <MessageOutlined />
26 }
27}
28
29export const getTaskStatusDisplay = (status: AITaskStatus) => {
30 switch (status) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected