napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Cli.Web.Graph

Documentation

tasksTableView :: HasBackendQueryStats b => DisplayPlanCol -> DisplayStateCol -> (TaskStateInfo b -> Maybe Text) -> (TaskId -> Either Text AppRoute) -> (TaskId -> Text) -> (Ref Table -> Ref Table) -> TableOrdering -> Map TaskId TopSortPrio -> Map TaskId (Task (Executable b), Maybe (TaskStateInfo b)) -> View c () #

data TableOrdering #

Instances

Instances details
FromJSON TableOrdering # 
Instance details

Defined in Napkin.Cli.Web.Graph

ToJSON TableOrdering # 
Instance details

Defined in Napkin.Cli.Web.Graph

Bounded TableOrdering # 
Instance details

Defined in Napkin.Cli.Web.Graph

Enum TableOrdering # 
Instance details

Defined in Napkin.Cli.Web.Graph

Generic TableOrdering # 
Instance details

Defined in Napkin.Cli.Web.Graph

Associated Types

type Rep TableOrdering 
Instance details

Defined in Napkin.Cli.Web.Graph

type Rep TableOrdering = D1 ('MetaData "TableOrdering" "Napkin.Cli.Web.Graph" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) ((C1 ('MetaCons "OrderByTable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrderByTopSort" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OrderByTaskId" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrderByTaskState" 'PrefixI 'False) (U1 :: Type -> Type)))
Show TableOrdering # 
Instance details

Defined in Napkin.Cli.Web.Graph

Eq TableOrdering # 
Instance details

Defined in Napkin.Cli.Web.Graph

Param TableOrdering # 
Instance details

Defined in Napkin.Cli.Web.Graph

type Rep TableOrdering # 
Instance details

Defined in Napkin.Cli.Web.Graph

type Rep TableOrdering = D1 ('MetaData "TableOrdering" "Napkin.Cli.Web.Graph" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) ((C1 ('MetaCons "OrderByTable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrderByTopSort" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OrderByTaskId" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrderByTaskState" 'PrefixI 'False) (U1 :: Type -> Type)))

data TableFilter #

Constructors

FilterAll 
FilterState SimpleTaskState 
FilterType TableTaskTypeFilter 
FilterTag Text 

Instances

Instances details
FromJSON TableFilter # 
Instance details

Defined in Napkin.Cli.Web.Graph

ToJSON TableFilter # 
Instance details

Defined in Napkin.Cli.Web.Graph

Generic TableFilter # 
Instance details

Defined in Napkin.Cli.Web.Graph

Associated Types

type Rep TableFilter 
Instance details

Defined in Napkin.Cli.Web.Graph

Show TableFilter # 
Instance details

Defined in Napkin.Cli.Web.Graph

Eq TableFilter # 
Instance details

Defined in Napkin.Cli.Web.Graph

type Rep TableFilter # 
Instance details

Defined in Napkin.Cli.Web.Graph

tasksGraphView :: forall {k} (ind :: k) b c. GraphType -> (Ref Table -> Ref Table) -> (TaskId -> Text) -> TasksDAG ind b -> Map TaskId SimpleTaskState -> View c () #