Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data MessageInterface n i = MessageInterface {
- _miMessages :: Messages
- _miEditor :: EditState n
- _miMessageSelect :: MessageSelectState
- _miRootPostId :: i
- _miChannelId :: ChannelId
- _miMode :: MessageInterfaceMode
- _miTarget :: MessageInterfaceTarget
- _miUrlListSource :: URLListSource
- _miUrlList :: URLList n
- _miSaveAttachmentDialog :: SaveAttachmentDialogState n
- miMessages :: forall n i. Lens' (MessageInterface n i) Messages
- miEditor :: forall n i. Lens' (MessageInterface n i) (EditState n)
- miMode :: forall n i. Lens' (MessageInterface n i) MessageInterfaceMode
- miMessageSelect :: forall n i. Lens' (MessageInterface n i) MessageSelectState
- miRootPostId :: forall n i i. Lens (MessageInterface n i) (MessageInterface n i) i i
- miChannelId :: forall n i. Lens' (MessageInterface n i) ChannelId
- miTarget :: forall n i. Lens' (MessageInterface n i) MessageInterfaceTarget
- miUrlListSource :: forall n i. Lens' (MessageInterface n i) URLListSource
- miUrlList :: forall n i. Lens' (MessageInterface n i) (URLList n)
- miSaveAttachmentDialog :: forall n i. Lens' (MessageInterface n i) (SaveAttachmentDialogState n)
- messageInterfaceCursor :: MessageInterface n i -> Maybe n
- data MessageInterfaceMode
- data MessageInterfaceTarget
- data URLListSource
- data URLList n = URLList {
- _ulList :: List n (Int, LinkChoice)
- _ulSource :: Maybe URLListSource
- ulList :: forall n n. Lens (URLList n) (URLList n) (List n (Int, LinkChoice)) (List n (Int, LinkChoice))
- ulSource :: forall n. Lens' (URLList n) (Maybe URLListSource)
- data SaveAttachmentDialogState n = SaveAttachmentDialogState {}
- attachmentPathEditor :: forall n. Lens' (SaveAttachmentDialogState n) (Editor Text n)
- attachmentPathDialogFocus :: forall n. Lens' (SaveAttachmentDialogState n) (FocusRing n)
Documentation
data MessageInterface n i Source #
A UI region in which a specific message listing is viewed, where the user can send messages in that channel or thread.
MessageInterface | |
|
miMessages :: forall n i. Lens' (MessageInterface n i) Messages Source #
miMode :: forall n i. Lens' (MessageInterface n i) MessageInterfaceMode Source #
miMessageSelect :: forall n i. Lens' (MessageInterface n i) MessageSelectState Source #
miRootPostId :: forall n i i. Lens (MessageInterface n i) (MessageInterface n i) i i Source #
miChannelId :: forall n i. Lens' (MessageInterface n i) ChannelId Source #
miTarget :: forall n i. Lens' (MessageInterface n i) MessageInterfaceTarget Source #
miUrlListSource :: forall n i. Lens' (MessageInterface n i) URLListSource Source #
miSaveAttachmentDialog :: forall n i. Lens' (MessageInterface n i) (SaveAttachmentDialogState n) Source #
messageInterfaceCursor :: MessageInterface n i -> Maybe n Source #
data MessageInterfaceMode Source #
Compose | Composing messages and interacting with the editor |
MessageSelect | Selecting from messages in the listing |
ShowUrlList | Show the URL listing |
SaveAttachment LinkChoice | Show the attachment save UI |
ManageAttachments | Managing the attachment list |
BrowseFiles | Browsing the filesystem for attachment files |
Instances
Show MessageInterfaceMode Source # | |
Defined in Matterhorn.Types.MessageInterface showsPrec :: Int -> MessageInterfaceMode -> ShowS # show :: MessageInterfaceMode -> String # showList :: [MessageInterfaceMode] -> ShowS # | |
Eq MessageInterfaceMode Source # | |
Defined in Matterhorn.Types.MessageInterface (==) :: MessageInterfaceMode -> MessageInterfaceMode -> Bool # (/=) :: MessageInterfaceMode -> MessageInterfaceMode -> Bool # |
data MessageInterfaceTarget Source #
Instances
Show MessageInterfaceTarget Source # | |
Defined in Matterhorn.Types.MessageInterface showsPrec :: Int -> MessageInterfaceTarget -> ShowS # show :: MessageInterfaceTarget -> String # showList :: [MessageInterfaceTarget] -> ShowS # | |
Eq MessageInterfaceTarget Source # | |
Defined in Matterhorn.Types.MessageInterface |
data URLListSource Source #
Instances
Show URLListSource Source # | |
Defined in Matterhorn.Types.MessageInterface showsPrec :: Int -> URLListSource -> ShowS # show :: URLListSource -> String # showList :: [URLListSource] -> ShowS # | |
Eq URLListSource Source # | |
Defined in Matterhorn.Types.MessageInterface (==) :: URLListSource -> URLListSource -> Bool # (/=) :: URLListSource -> URLListSource -> Bool # |
ulList :: forall n n. Lens (URLList n) (URLList n) (List n (Int, LinkChoice)) (List n (Int, LinkChoice)) Source #
data SaveAttachmentDialogState n Source #
The state of the attachment path window.
SaveAttachmentDialogState | |
|
attachmentPathEditor :: forall n. Lens' (SaveAttachmentDialogState n) (Editor Text n) Source #
attachmentPathDialogFocus :: forall n. Lens' (SaveAttachmentDialogState n) (FocusRing n) Source #