Safe Haskell | None |
---|---|
Language | GHC2024 |
Documentation
graphPage :: forall b (es :: [Effect]). (Show (BackendQueryStats b), HasBackendQueryStats b, Hyperbole :> es, Time :> es, Execution :> es, DAG b :> es, Reader (Map TaskId TopSortPrio) :> es, Reader Title :> es, Reader (FullDAG b) :> es, Reader (WebRunMode b) :> es, Renamer :> es, IOE :> es, Reader Args :> es, Reader UTCTime :> es) => GraphType -> (FullDAG b -> TasksDAG () b) -> Page es Response #
tasksTableView :: HasBackendQueryStats b => DisplayPlanCol -> DisplayStateCol -> (TaskStateInfo b -> Maybe Text) -> (TaskId -> Either Text AppRoute) -> (TaskId -> Text) -> (SpecTableName -> Ref Table) -> TableOrdering -> Map TaskId TopSortPrio -> Map TaskId (UITask b) -> View c () #
data TableOrdering #
Instances
data TableFilter #
Instances
FromJSON TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types parseJSON :: Value -> Parser TableFilter # parseJSONList :: Value -> Parser [TableFilter] # | |||||
ToJSON TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types toJSON :: TableFilter -> Value # toEncoding :: TableFilter -> Encoding # toJSONList :: [TableFilter] -> Value # toEncodingList :: [TableFilter] -> Encoding # omitField :: TableFilter -> Bool # | |||||
Generic TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types
from :: TableFilter -> Rep TableFilter x # to :: Rep TableFilter x -> TableFilter # | |||||
Show TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types showsPrec :: Int -> TableFilter -> ShowS # show :: TableFilter -> String # showList :: [TableFilter] -> ShowS # | |||||
Eq TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types (==) :: TableFilter -> TableFilter -> Bool # (/=) :: TableFilter -> TableFilter -> Bool # | |||||
type Rep TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types type Rep TableFilter = D1 ('MetaData "TableFilter" "Napkin.Cli.Web.Graph.Types" "napkin-cli-2.0.0-4ha97GXrcwU2qMy5j7dc75" 'False) ((C1 ('MetaCons "FilterAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FilterState" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SimpleTaskState))) :+: (C1 ('MetaCons "FilterType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableTaskTypeFilter)) :+: C1 ('MetaCons "FilterTag" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
tasksGraphView :: forall {k} (ind :: k) b c. GraphType -> (TaskId -> Text) -> TasksDAG ind b -> Map TaskId SimpleTaskState -> View c () #
applyTableFiltering :: forall b l. l ~ Map TaskId (UITask b) => TableFilter -> l -> l #